9 #ifndef MRPT_SE2_SE3_AVERAGE_H 10 #define MRPT_SE2_SE3_AVERAGE_H 43 void append(
const double orientation_rad);
44 void append(
const double orientation_rad,
const double weight);
49 double get_average()
const;
69 void append(
const Eigen::Matrix3d &M);
70 void append(
const Eigen::Matrix3d &M,
const double weight);
75 Eigen::Matrix3d get_average()
const;
Computes weighted and un-weighted averages of SO(2) orientations.
class BASE_IMPEXP SE_average
Computes weighted and un-weighted averages of SE(2) or SE(3) poses.
bool enable_exception_on_undeterminate
(Default=false) Set to true if you want to raise an exception on undetermined average values...
class BASE_IMPEXP SO_average
Computes weighted and un-weighted averages of SO(2) or SO(3) orientations.
SO_average< 2 > m_rot_part
Eigen::Matrix3d m_accum_rot
void clear()
Clear the contents of this container.
SO_average< 3 > m_rot_part
bool enable_exception_on_undeterminate
(Default=false) Set to true if you want to raise an exception on undetermined average values...
bool enable_exception_on_undeterminate
(Default=false) Set to true if you want to raise an exception on undetermined average values...
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
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).
Computes weighted and un-weighted averages of SO(3) orientations.
bool enable_exception_on_undeterminate
(Default=false) Set to true if you want to raise an exception on undetermined average values...