Go to the documentation of this file.
9 #ifndef CPoses2DSequence_H
10 #define CPoses2DSequence_H
CPoses2DSequence()
Default constructor.
CPose2D absolutePoseOf(unsigned int n)
Returns the absolute pose of a robot after moving "n" poses, so for "n=0" the origin pose (0,...
void appendPose(CPose2D &newPose)
Appends a new pose at the end of sequence.
#define DEFINE_SERIALIZABLE_POST_CUSTOM_BASE(class_name, base_name)
float computeTraveledDistanceAfterAll()
Returns the traveled distance after ALL movements.
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
CPose2D absolutePoseAfterAll()
A shortcut for "absolutePoseOf( posesCount() )".
mrpt::aligned_containers< CPose2D >::vector_t poses
The internal sequence of poses, stored as relative, incremental poses, thus each one is situated just...
A class used to store a 2D pose.
This class stores a sequence of relative, incremental 2D poses.
The virtual base class which provides a unified interface for all persistent objects in MRPT.
size_t posesCount()
Returns the poses count in the sequence:
#define DEFINE_SERIALIZABLE(class_name)
This declaration must be inserted in all CSerializable classes definition, within the class declarati...
void changePose(unsigned int ind, CPose2D &inPose)
Changes the stored pose at index "ind", where the first one is 0, the last "posesCount() - 1".
void getPose(unsigned int ind, CPose2D &outPose)
Reads the stored pose at index "ind", where the first one is 0, the last "posesCount() - 1".
void clear()
Clears the sequence.
std::vector< TYPE1, Eigen::aligned_allocator< TYPE1 > > vector_t
float computeTraveledDistanceAfter(unsigned int n)
Returns the traveled distance after moving "n" poses, so for "n=0" it returns 0, for "n=1" the first ...
#define DEFINE_SERIALIZABLE_PRE_CUSTOM_BASE(class_name, base_name)
This declaration must be inserted in all CSerializable classes definition, before the class declarati...
Page generated by Doxygen 1.8.20 for MRPT 1.4.0 SVN: at Thu Aug 27 02:40:23 UTC 2020 | | |