10 #ifndef CFIXEDINTERVALSNRD_H 11 #define CFIXEDINTERVALSNRD_H 28 namespace mrpt {
namespace graphslam {
namespace deciders {
73 template<
class GRAPH_T=
typename mrpt::graphs::CNetworkOfPoses2DInf>
89 typedef typename GRAPH_T::constraint_t::type_value
pose_t;
93 constraint_t::state_length,
114 bool updateState( mrpt::obs::CActionCollectionPtr action,
115 mrpt::obs::CSensoryFramePtr observations,
116 mrpt::obs::CObservationPtr observation );
mrpt::graphslam::deciders::CNodeRegistrationDecider< GRAPH_T > node_reg
Handy typedefs.
GRAPH_T::constraint_t::type_value pose_t
type of underlying poses (2D/3D).
double registration_max_distance
Interface for implementing node registration classes.
void loadFromConfigFile(const mrpt::utils::CConfigFileBase &source, const std::string §ion)
This method load the options from a ".ini"-like file or memory-stored string list.
std::string getAsString() const
bool m_observation_only_rawlog
Keep track of whether we are reading from an observation-only rawlog file or from an action-observati...
This class allows loading and storing values and vectors of different types from a configuration text...
void printParams() const
Print the problem parameters - relevant to the decider/optimizer to the screen in a unified/compact w...
This base class is used to provide a unified interface to files,memory buffers,..Please see the deriv...
A numeric matrix of compile-time fixed size.
GRAPH_T::constraint_t constraint_t
type of graph constraints
bool updateState(mrpt::obs::CActionCollectionPtr action, mrpt::obs::CSensoryFramePtr observations, mrpt::obs::CObservationPtr observation)
Method makes use of the CActionCollection/CObservation to update the odometry estimation from the las...
double registration_max_angle
bool checkRegistrationCondition()
If estimated position surpasses the registration max values since the previous registered node...
mrpt::math::CMatrixFixedNumeric< double, constraint_t::state_length, constraint_t::state_length > inf_mat_t
void dumpToTextStream(mrpt::utils::CStream &out) const
This method should clearly display all the contents of the structure in textual form, sending it to a CStream.
mrpt::graphslam::deciders::CNodeRegistrationDecider< GRAPH_T > parent_t
Node Registration Decider.
GLsizei const GLchar ** string
GRAPH_T::global_pose_t global_pose_t
void loadParams(const std::string &source_fname)
Load the necessary for the decider/optimizer configuration parameters.
GRAPH_T::constraint_t::type_value pose_t
type of underlying poses (2D/3D).
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
pose_t m_last_odometry_only_pose
pose_t estimation using only odometry information.
A class used to store a 2D pose, including the 2D coordinate point and a heading (phi) angle...
A class used to store a 3D pose (a 3D translation + a rotation in 3D).
pose_t m_curr_odometry_only_pose
pose_t estimation using only odometry information.
Fixed Intervals Odometry-based Node Registration.
GLsizei GLsizei GLchar * source
Parameters structure for managing the relevant to the decider variables in a compact manner...
~CFixedIntervalsNRD()
Class destructor.
CFixedIntervalsNRD()
Class constructor.
void getDescriptiveReport(std::string *report_str) const
Fill the provided string with a detailed report of the decider/optimizer state.
This is a virtual base class for sets of options than can be loaded from and/or saved to configuratio...