10 #ifndef CNODEREGISTRATIONDECIDER_H 11 #define CNODEREGISTRATIONDECIDER_H 32 template <
class GRAPH_T>
44 using pose_t =
typename GRAPH_T::constraint_t::type_value;
47 double, constraint_t::state_length, constraint_t::state_length>;
virtual global_pose_t getCurrentRobotPosEstimation() const
Getter method for fetching the currently estimated robot position.
virtual bool updateState(mrpt::obs::CActionCollection::Ptr action, mrpt::obs::CSensoryFrame::Ptr observations, mrpt::obs::CObservation::Ptr observation)=0
Generic method for fetching the incremental action-observations (or observation-only) depending on th...
Interface for implementing node registration classes.
CNodeRegistrationDecider()
Default class constructor.
virtual void getDescriptiveReport(std::string *report_str) const
Fill the provided string with a detailed report of the decider/optimizer state.
mrpt::graphs::TNodeID m_prev_registered_nodeID
Store the last registered NodeID.
bool registerNewNodeAtEnd()
Same goal as the previous method - uses the m_since_prev_node_PDF as the constraint at the end...
Interface for implementing node/edge registration deciders or optimizer classes.
virtual bool checkRegistrationCondition()
Check whether a new node should be registered in the graph.
void resetPDF(constraint_t *c)
Reset the given PDF method and assign a fixed high-certainty Covariance/Information matrix...
GLsizei const GLchar ** string
typename GRAPH_t ::constraint_t::type_value pose_t
type of underlying poses (2D/3D).
inf_mat_t m_init_inf_mat
Initial information matrix for paths.
virtual void addNodeAnnotsToPose(global_pose_t *pose) const
Get a global_pose_t and fill the NODE_ANNOTATIONS-related fields.
uint64_t TNodeID
A generic numeric type for unique IDs of nodes or entities.
virtual ~CNodeRegistrationDecider()
Default class destructor.
typename GRAPH_t ::global_pose_t global_pose_t
typename GRAPH_t ::constraint_t constraint_t
type of graph constraints
constraint_t m_since_prev_node_PDF
Tracking the PDF of the current position of the robot with regards to the <b previous registered node...