Fixed plotting and and silenced warnings...

release/4.3a0
dellaert 2014-12-13 08:16:40 +01:00
parent 3238c59a39
commit 07177662f2
1 changed files with 4 additions and 4 deletions

View File

@ -33,12 +33,12 @@ for i = 0:keys.size-1
end end
gtsam.plotPose3(lastPose, P, scale); gtsam.plotPose3(lastPose, P, scale);
catch err catch err
warning(['no Pose3 at ' lastKey]); % warning(['no Pose3 at ' lastKey]);
end end
lastIndex = i;
end end
lastIndex = i;
catch catch
warning(['no Pose3 at ' key]); % warning(['no Pose3 at ' key]);
end end
% Draw final pose % Draw final pose
@ -53,7 +53,7 @@ for i = 0:keys.size-1
end end
gtsam.plotPose3(lastPose, P, scale); gtsam.plotPose3(lastPose, P, scale);
catch catch
warning(['no Pose3 at ' lastIndex]); % warning(['no Pose3 at ' lastIndex]);
end end
end end