10 #ifndef CNODEREGISTRATIONDECIDER_H 11 #define CNODEREGISTRATIONDECIDER_H 41 template <
class GRAPH_T>
53 typedef typename GRAPH_T::constraint_t::type_value
pose_t;
56 constraint_t::state_length>
virtual global_pose_t getCurrentRobotPosEstimation() const
Getter method for fetching the currently estimated robot position.
GRAPH_T::constraint_t::type_value pose_t
type of underlying poses (2D/3D).
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...
mrpt::math::CMatrixFixedNumeric< double, constraint_t::state_length, constraint_t::state_length > inf_mat_t
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::graphslam::CRegistrationDeciderOrOptimizer< GRAPH_T > parent_t
Handy typedefs.
bool registerNewNodeAtEnd()
Same goal as the previous method - uses the m_since_prev_node_PDF as the constraint at the end...
GRAPH_T::constraint_t constraint_t
type of graph constraints
A numeric matrix of compile-time fixed size.
uint64_t TNodeID
The type for node IDs in graphs of different types.
Interface for implementing node/edge registration deciders or optimizer classes.
std::shared_ptr< CSensoryFrame > Ptr
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...
std::shared_ptr< CObservation > Ptr
GLsizei const GLchar ** string
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
std::shared_ptr< CActionCollection > Ptr
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.
GRAPH_T::global_pose_t global_pose_t
virtual ~CNodeRegistrationDecider()
Default class destructor.
mrpt::utils::TNodeID m_prev_registered_nodeID
Store the last registered NodeID.
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...