Class SurfaceState2D

Inheritance Relationships

Base Type

Class Documentation

class SurfaceState2D : public lupnt::State

Public Functions

inline SurfaceState2D(const State &x)

Reinterpret a generic State as a SurfaceState2D (2D position + heading of a surface rover/lander), checking its size and type tag.

Parameters:

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

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

Construct a SurfaceState2D from a stacked [x, y, theta] vector.

Parameters:
  • x – [x, y, theta] in [m, m, rad].

  • frame – Reference frame (default MOON_CI).

Public Static Attributes

static StateType TYPE = "Surface2D"