Go to the documentation of this file.
10 #ifndef CICPCRITERIANRD_H
11 #define CICPCRITERIANRD_H
88 template <
class GRAPH_T>
102 using pose_t =
typename GRAPH_T::constraint_t::type_value;
106 double, constraint_t::state_length, constraint_t::state_length>;
std::shared_ptr< CObservation > Ptr
Interface for implementing node registration classes.
void getDescriptiveReport(std::string *report_str) const
Fill the provided string with a detailed report of the decider/optimizer state.
double registration_max_distance
Maximum distance for new node registration.
bool checkRegistrationCondition()
Check whether a new node should be registered in the graph.
std::shared_ptr< CSensoryFrame > Ptr
void printParams() const
Print the problem parameters - relevant to the decider/optimizer to the screen in a unified/compact w...
bool checkRegistrationCondition2D()
Specialized checkRegistrationCondtion method used solely when dealing with 2DRangeScan information.
TSlidingWindow m_mahal_distance_ICP_odom
Keeps track of the last N measurements between the ICP edge and the corresponding odometry measuremen...
pose_t m_curr_odometry_only_pose
pose_t estimation using only odometry information.
mrpt::obs::CObservation3DRangeScan::Ptr m_last_laser_scan3D
bool m_use_angle_difference_node_reg
Interface for implementing node/edge registration deciders or optimizer classes.
typename GRAPH_T::constraint_t constraint_t
type of graph constraints
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
~CICPCriteriaNRD()
Class destructor.
mrpt::obs::CObservation3DRangeScan::Ptr m_curr_laser_scan3D
bool updateState(mrpt::obs::CActionCollection::Ptr action, mrpt::obs::CSensoryFrame::Ptr observations, mrpt::obs::CObservation::Ptr observation)
Update the decider state using the latest dataset measurements.
GLsizei GLsizei GLchar * source
int m_times_used_odom
How many times we used the Odometry Edge instead of the ICP edge.
void dumpToTextStream(std::ostream &out) const
This method should clearly display all the contents of the structure in textual form,...
decider_t & decider
Reference to outer decider class.
This class allows loading and storing values and vectors of different types from a configuration text...
mrpt::obs::CObservation2DRangeScan::Ptr m_last_laser_scan2D
handy laser scans to use in the class methods
bool checkRegistrationCondition3D()
Specialized checkRegistrationCondition method used solely when dealing with 3DRangeScan information.
This is a virtual base class for sets of options than can be loaded from and/or saved to configuratio...
bool updateState3D(mrpt::obs::CObservation3DRangeScan::Ptr observation)
Specialized updateState method used solely when dealing with 3DRangeScan information.
void loadParams(const std::string &source_fname)
Load the necessary for the decider/optimizer configuration parameters.
std::shared_ptr< CObservation2DRangeScan > Ptr
CICPCriteriaNRD()
Class constructor.
bool updateState2D(mrpt::obs::CObservation2DRangeScan::Ptr observation)
Specialized updateState method used solely when dealing with 2DRangeScan information.
typename GRAPH_T::constraint_t::type_value pose_t
type of underlying poses (2D/3D).
constraint_t m_latest_odometry_PDF
Odometry rigid-body transformation since the last accepted LaserScan.
Class to monitor the evolution of a statistical quantity.
typename GRAPH_T::global_pose_t global_pose_t
std::shared_ptr< CObservation3DRangeScan > Ptr
mrpt::obs::CObservation2DRangeScan::Ptr m_curr_laser_scan2D
Current LaserScan.
double registration_max_angle
Maximum angle difference for new node registration.
void loadFromConfigFile(const mrpt::config::CConfigFileBase &source, const std::string §ion)
This method load the options from a ".ini"-like file or memory-stored string list.
bool m_use_distance_node_reg
GLsizei const GLchar ** string
ICP-based Fixed Intervals Node Registration.
pose_t m_last_odometry_only_pose
pose_t estimation using only odometry information.
std::shared_ptr< CActionCollection > Ptr
int m_times_used_ICP
How many times we used the ICP Edge instead of Odometry edge.
Class for keeping together all the RangeScanner-related functions.
Page generated by Doxygen 1.8.17 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at miƩ 12 jul 2023 10:03:34 CEST | |