You’re reading an older version of the Slamcore SDK documenation. The latest one is 23.04.
Class slamcore::WheelOdometrySample
-
class WheelOdometrySample : public PoseInterface<odometry_clock>
Simple class for feeding wheel odometry data.
Public Functions
-
WheelOdometrySample()
-
virtual ~WheelOdometrySample()
-
WheelOdometrySample(const WheelOdometrySample &other) = delete
-
WheelOdometrySample(WheelOdometrySample &&other)
-
WheelOdometrySample &operator=(const WheelOdometrySample &other) = delete
-
WheelOdometrySample &operator=(WheelOdometrySample &&other)
-
WheelOdometrySample(const PoseInterface<odometry_clock> &other)
-
virtual const Vector<double, 4> &getRotation() const final override
Returns the rotation part - Quaternion X,Y,Z,W.
-
virtual const Vector<double, 3> &getTranslation() const final override
Returns the translation vector part.
-
void setValue(const Vector<double, 3> &t, const Vector<double, 4> &r)
Sets the value.
- Parameters
t – Translation vector (X,Y,Z)
r – Rotation quaternion (X,Y,Z,W)
-
virtual bool haveCovarianceMatrix() const final override
Check first if the covariance matrix is provided.
-
virtual const Matrix<double, 6, 6> &getCovariance() const final override
Returns the covariance matrix - pose uncertainty.
-
virtual const ReferenceFrame &getChildReferenceFrame() const final override
Returns the frame of reference the pose defines
-
WheelOdometrySample()