Skip to content
Snippets Groups Projects
Commit 69c8045e authored by leprob001's avatar leprob001
Browse files

Bugfix, The return variables in calculateTrajectory had not been initialized properly.

parent c1a81ec2
No related branches found
No related tags found
No related merge requests found
......@@ -52,6 +52,14 @@ pToaData = artoa.data.addFloatDrift( ...
pTrackingParameter.floatOffsetEnd ...
);
%% Initialize return variables
trajectory = false;
trajectoryDates = false;
trajectoryClockError = false;
trajectoryResiduals = false;
trajectoryTimeDivergenceToGps = false;
trajectoryVelocities = false;
%% Prepare data for every sound source
preparedData = struct();
for i = 1:length(involvedSoundsources)
......@@ -63,7 +71,6 @@ for i = 1:length(involvedSoundsources)
& pToaData.status ~= 2;
if ~any(currentToaSelection)
trajectory = false;
return
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment