// LANDMARK_CANDIDATE = 1, ///< A landmark, just created. Association with it allowed, but not yet establish an actual constraint for the solver
//// LANDMARK_CANDIDATE = 1, ///< A landmark, just created. Association with it allowed, but not yet establish an actual constraint for the solver
LANDMARK_ESTIMATED,///< A landmark being estimated. Association with it allowed, establishing actual constraints for the solver where both vehicle and landmark states are being estimated
// LANDMARK_ESTIMATED, ///< A landmark being estimated. Association with it allowed, establishing actual constraints for the solver where both vehicle and landmark states are being estimated
LANDMARK_FIXED,///< A landmark estimated. Association with it allowed, establishing actual constraints for the solver, but its value remains static, no longer optimized
// LANDMARK_FIXED, ///< A landmark estimated. Association with it allowed, establishing actual constraints for the solver, but its value remains static, no longer optimized
}LandmarkStatus;
//} LandmarkStatus;
...
@@ -42,7 +42,7 @@ class LandmarkBase : public NodeBase, public std::enable_shared_from_this<Landma
...
@@ -42,7 +42,7 @@ class LandmarkBase : public NodeBase, public std::enable_shared_from_this<Landma
protected:
protected:
unsignedintlandmark_id_;///< landmark unique id
unsignedintlandmark_id_;///< landmark unique id
LandmarkStatusstatus_;///< status of the landmark. (types defined at wolf.h)
// LandmarkStatus status_; ///< status of the landmark. (types defined at wolf.h)
TimeStampstamp_;///< stamp of the creation of the landmark (and stamp of destruction when status is LANDMARK_OLD)
TimeStampstamp_;///< stamp of the creation of the landmark (and stamp of destruction when status is LANDMARK_OLD)
Eigen::VectorXsdescriptor_;//TODO: agree? JS: No: It is not general enough as descriptor to be in LmkBase.
Eigen::VectorXsdescriptor_;//TODO: agree? JS: No: It is not general enough as descriptor to be in LmkBase.
...
@@ -66,9 +66,10 @@ class LandmarkBase : public NodeBase, public std::enable_shared_from_this<Landma
...
@@ -66,9 +66,10 @@ class LandmarkBase : public NodeBase, public std::enable_shared_from_this<Landma