Class Rover

Inheritance Relationships

Base Type

Class Documentation

class Rover : public lupnt::AgentWithDynamics

Public Functions

Rover(Config &agent_config)
virtual void Log(Real time) override

Log this agent’s state, attitude, and control vectors (and the attached application’s state, if any) to the DataLogger. Called once per Step by AgentWithDynamics::Step.

Parameters:

time – Current simulation time [s]

virtual void Propagate(Real t) override

Advance the agent’s stored orbital state, attitude, and time from time_ to t by integrating dynamics_/attitude_dynamics_.

Called once per Step by AgentWithDynamics::Step (and overridden by Rover::Propagate for its 2D surface-dynamics model). Mutates state_, attitude_, and time_ in place using the current control_.

Parameters:

t – Target simulation time [s]

Protected Attributes

Cart3 r_ref_pa_
Cart6 rv_enu_
SurfaceState2D state2d_