Fixed Remaining problems with GUI
parent
dd0574ebeb
commit
436afafa03
|
@ -165,10 +165,8 @@ namespace gtsam {
|
|||
/* ************************************************************************* */
|
||||
FastList<Key> Values::keys() const {
|
||||
FastList<Key> result;
|
||||
for(const_iterator key_value = begin(); key_value != end(); ++key_value) {
|
||||
for(const_iterator key_value = begin(); key_value != end(); ++key_value)
|
||||
result.push_back(key_value->key);
|
||||
cout << result.back() << endl;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
|
|
|
@ -10,9 +10,9 @@ cla(h);
|
|||
hold on;
|
||||
|
||||
%% Plot points
|
||||
pointKeys = result.allPoints().keys();
|
||||
for j=0:N-1 % NOTE: uses indexing directly from a C++ vector, so zero-indexed
|
||||
jj = pointKeys.at(j);
|
||||
for k=1:length(data.J{M})
|
||||
j = data.J{M}{k};
|
||||
jj = symbol('l', j);
|
||||
point_j = result.point(jj);
|
||||
plot3(point_j.x, point_j.y, point_j.z,'marker','o');
|
||||
P = isam.marginalCovariance(jj);
|
||||
|
|
Loading…
Reference in New Issue