10 #ifndef CNODEREGISTRATIONDECIDER_H 11 #define CNODEREGISTRATIONDECIDER_H 27 namespace mrpt {
namespace graphslam {
namespace deciders {
40 template<
class GRAPH_T>
52 typedef typename GRAPH_T::constraint_t::type_value
pose_t;
55 constraint_t::state_length,
81 mrpt::obs::CActionCollectionPtr action,
82 mrpt::obs::CSensoryFramePtr observations,
83 mrpt::obs::CObservationPtr observation ) = 0;
111 const typename GRAPH_T::constraint_t& constraint);
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).
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.
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
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
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 bool updateState(mrpt::obs::CActionCollectionPtr action, mrpt::obs::CSensoryFramePtr observations, mrpt::obs::CObservationPtr observation)=0
Generic method for fetching the incremental action-observations (or observation-only) depending on th...
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...