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

File pose_write.hpp

Core API objects - pose write.

namespace slamcore

Main namespace for the Slamcore public API

Helper conversion methods

slamcore::ImageFormat \(\leftrightarrow\) BytesPerChannel

Get information about the client library

template<typename ClockT>
class PoseWriteInterface : public slamcore::PoseInterface<ClockT>
#include <pose_write.hpp>

Representing the writable matrix object.

Unnamed Group

virtual void setCovariance(const Matrix<double, 6, 6> &cov) = 0

Sets the covariance matrix - pose uncertainty.

virtual void resetCovariance() = 0

Public Types

using Ptr = std::shared_ptr<PoseWriteInterface>
using CPtr = std::shared_ptr<const PoseWriteInterface>

Public Functions

virtual ~PoseWriteInterface() = default
virtual void setRotation(const Vector<double, 4> &quat) = 0

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

virtual void setTranslation(const Vector<double, 3> &tran) = 0

Sets the translation vector part.

virtual void setChildReferenceFrame(const ReferenceFrame &rf) = 0

Sets the frame of reference the pose defines