You’re reading an older version of the Slamcore SDK documenation. The latest one is 23.04.

Class slamcore::BasePoseInterface

class BasePoseInterface

Subclassed by PoseInterface< odometry_clock >, PoseInterface< ClockT >, StaticPoseInterface

Public Functions

virtual ~BasePoseInterface() = default
virtual const Vector<double, 4> &getRotation() const = 0

Returns the rotation part - Quaternion X,Y,Z,W.

virtual const Vector<double, 3> &getTranslation() const = 0

Returns the translation vector part.

virtual bool haveCovarianceMatrix() const = 0

Check first if the covariance matrix is provided.

virtual const Matrix<double, 6, 6> &getCovariance() const = 0

Returns the covariance matrix - pose uncertainty.

Note

Throws if there is no covariance matrix.

virtual const ReferenceFrame &getChildReferenceFrame() const = 0

Returns the frame of reference the pose defines