65 template <
class GRAPH_T =
typename mrpt::graphs::CNetworkOfPoses2DInf>
83 using pose_t =
typename GRAPH_T::constraint_t::type_value;
87 double, constraint_t::state_length, constraint_t::state_length>;
96 void loadParams(
const std::string& source_fname)
override;
122 const std::string& section)
override;
double registration_max_distance
This is a virtual base class for sets of options than can be loaded from and/or saved to configuratio...
~TParams() override=default
void printParams() const override
Print the problem parameters - relevant to the decider/optimizer to the screen in a unified/compact w...
Interface for implementing node registration classes.
std::string getAsString() const
void getDescriptiveReport(std::string *report_str) const override
Fill the provided string with a detailed report of the decider/optimizer state.
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...
double registration_max_angle
bool checkRegistrationCondition() override
If estimated position surpasses the registration max values since the previous registered node...
Interface for implementing node/edge registration deciders or optimizer classes.
void dumpToTextStream(std::ostream &out) const override
This method should clearly display all the contents of the structure in textual form, sending it to a std::ostream.
pose_t m_last_odometry_only_pose
pose_t estimation using only odometry information.
typename GRAPH_T::constraint_t::type_value pose_t
type of underlying poses (2D/3D).
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).
mrpt::vision::TStereoCalibResults out
pose_t m_curr_odometry_only_pose
pose_t estimation using only odometry information.
void loadParams(const std::string &source_fname) override
Load the necessary for the decider/optimizer configuration parameters.
Fixed Intervals Odometry-based Node Registration.
Parameters structure for managing the relevant to the decider variables in a compact manner...
~CFixedIntervalsNRD() override=default
void loadFromConfigFile(const mrpt::config::CConfigFileBase &source, const std::string §ion) override
This method load the options from a ".ini"-like file or memory-stored string list.
typename GRAPH_T::global_pose_t global_pose_t
typename GRAPH_T::constraint_t constraint_t
type of graph constraints
bool updateState(mrpt::obs::CActionCollection::Ptr action, mrpt::obs::CSensoryFrame::Ptr observations, mrpt::obs::CObservation::Ptr observation) override
Method makes use of the CActionCollection/CObservation to update the odometry estimation from the las...