Class slamcore::ReferenceFrame

class ReferenceFrame

Represent a coordinate system frame of reference

Public Functions

inline constexpr ReferenceFrame()
inline constexpr ReferenceFrame(ReferenceFrameCategory cat, SensorIndexT index)
inline bool operator==(const ReferenceFrame &other) const
inline bool operator!=(const ReferenceFrame &other) const
inline bool operator<(const ReferenceFrame &other) const
inline bool isUnknown() const

Check if the reference frame is of an unknown type.

inline std::string name() const

Get a string representation of the reference frame.

inline ReferenceFrameCategory category() const

Get the reference frame category

inline SensorIndexT index() const

Get the reference frame index

inline void set(ReferenceFrameCategory category)

Set the reference frame category.

Parameters

category – The new category

inline void set(SensorIndexT index)

Set the reference frame index.

Parameters

index – The new index