extra lines.. to be completed

release/4.3a0
Luca 2014-02-17 10:34:02 -05:00
parent 794a22249b
commit 8f39734580
1 changed files with 9 additions and 4 deletions

View File

@ -47,14 +47,14 @@ else
end
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
numTests = 10
numTests = 20
for testInd=1:numTests
navFrameRotating = 0;
accelFixed = 2*rand(3,1)-ones(3,1);
imuSimulator.coriolisExample
posFinError(testInd) = norm(axisPositionsError(:,end))/trajectoryLengthFixedFrameGT*100
rotFinError(testInd) = norm(rotationsErrorVectors(:,end))
velFinError(testInd) = norm(axisVelocityError(:,end))
posFinErrorFixed(testInd) = norm(axisPositionsError(:,end))/trajectoryLengthFixedFrameGT*100
rotFinErrorFixed(testInd) = norm(rotationsErrorVectors(:,end))
velFinErrorFixed(testInd) = norm(axisVelocityError(:,end))
% Run the same initial conditions but navigating in the rotating frame
navFrameRotating = 1;
imuSimulator.coriolisExample
@ -63,4 +63,9 @@ for testInd=1:numTests
velFinErrorRot(testInd) = norm(axisVelocityError(:,end))
end
mean(posFinErrorFixed)
max(posFinErrorFixed)
box(posFinErrorFixed)