Class Cart3

Inheritance Relationships

Base Type

Class Documentation

class Cart3 : public lupnt::State

Public Functions

inline Cart3(const State &x)

Reinterpret a generic State as a Cart3 (3D Cartesian position only), checking its size and type tag.

Parameters:

x – 3-element state of type Cart3::TYPE.

inline Cart3(const Vec3 &x = Vec3::Zero(), const Frame frame = Frame::MOON_CI)

Construct a Cart3 from a 3-element position vector.

Parameters:
  • x – Position [m].

  • frame – Reference frame (default MOON_CI).

Public Static Attributes

static StateType TYPE = "Cart3"