Skip to content
Snippets Groups Projects
Commit 4548e369 authored by Achilles Kappis's avatar Achilles Kappis
Browse files

Fixed error in calling rotation fucntion in rcvGeo.m function

parent e3f83c1c
No related branches found
No related tags found
No related merge requests found
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
% Author: Achilles Kappis % Author: Achilles Kappis
% e-mail: axilleaz@protonmail.com % e-mail: axilleaz@protonmail.com
% %
% Date: 16/07/2024 (DD/MM/YYYY) % Date: 30/07/2024 (DD/MM/YYYY)
% %
% Copyright: MIT % Copyright: MIT
% -------------------------------------------------- % --------------------------------------------------
...@@ -386,7 +386,7 @@ function [omniPos, fig8Pos, triPos, boxPos, box2DPos, tetPos, fig8Vec, triangleV ...@@ -386,7 +386,7 @@ function [omniPos, fig8Pos, triPos, boxPos, box2DPos, tetPos, fig8Vec, triangleV
end end
% Rotate and position % Rotate and position
tetPos(measPosIdx, :, :) = omniPos(measPosIdx, :) + tempPos * rotMat3d(0, 0, rot, "Deg"); tetPos(measPosIdx, :, :) = omniPos(measPosIdx, :) + tempPos * rotMat3d(0, 0, rot, "Degs");
end end
case "uca" case "uca"
% Get the angle of the positions on the circle % Get the angle of the positions on the circle
...@@ -394,10 +394,10 @@ function [omniPos, fig8Pos, triPos, boxPos, box2DPos, tetPos, fig8Vec, triangleV ...@@ -394,10 +394,10 @@ function [omniPos, fig8Pos, triPos, boxPos, box2DPos, tetPos, fig8Vec, triangleV
% Rotate and position tetrahedrals % Rotate and position tetrahedrals
for measPosIdx = numel(az):-1:1 for measPosIdx = numel(az):-1:1
tetPos(measPosIdx, :, :) = omniPos(measPosIdx, :) + tempPos * rotMat3d(0, 0, -az(measPosIdx), "Deg"); tetPos(measPosIdx, :, :) = omniPos(measPosIdx, :) + tempPos * rotMat3d(0, 0, -az(measPosIdx), "Degs");
end end
case "single" case "single"
tetPos = omniPos + tempPos * rotMat3d(30, 30, 0, "Deg"); tetPos = omniPos + tempPos * rotMat3d(30, 30, 0, "Degs");
end end
if ~strcmpi(gType, "Single") if ~strcmpi(gType, "Single")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment