Added actual plotting of Pose2s when there aren't covariance ellipses
parent
233c8aa7bb
commit
06be7b4926
|
@ -32,7 +32,10 @@ for i = 0:keys.size-1
|
||||||
if haveMarginals
|
if haveMarginals
|
||||||
P = marginals.marginalCovariance(lastKey);
|
P = marginals.marginalCovariance(lastKey);
|
||||||
gtsam.plotPose2(lastPose, 'g', P);
|
gtsam.plotPose2(lastPose, 'g', P);
|
||||||
|
else
|
||||||
|
gtsam.plotPose2(lastPose, 'g', []);
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
lastIndex = i;
|
lastIndex = i;
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue