Built-in example class for rigid body objects.This class provides variables for a physical object, such as position and velocity, and supports forces and torques applied between objects with apply_force and apply_torque messages. More...
Public Member Functions | |
void | initialize_data () |
void | initialization_complete () |
void | initialize_timestep () |
void | complete_timestep () |
void | rhs (double t, double jd) |
Built-in example class for rigid body objects.
This class provides variables for a physical object, such as position and velocity, and supports forces and torques applied between objects with apply_force and apply_torque messages.
void dsim_second_order::complete_timestep | ( | ) | [virtual] |
Things to be done at the end of the timestep.
Reimplemented from dsim_model.
void dsim_second_order::initialization_complete | ( | ) | [virtual] |
Mark dsim variables as telemetry and/or command. Set attributes. Perform any final initializations.
Reimplemented from dsim_model.
void dsim_second_order::initialize_data | ( | ) | [virtual] |
Create the rigid body states. The integrated states are position, velocity, quaternion, and rotational velocity. The non-integrated states are mass, center of mass, and inertia.
Reimplemented from dsim_model.
void dsim_second_order::initialize_timestep | ( | ) | [virtual] |
Initialize timestep.
Reimplemented from dsim_model.
void dsim_second_order::rhs | ( | double | t, |
double | jd | ||
) | [virtual] |
Compute the derivatives of the model.
t | Current time |
jd | Julian Date of current epoch |
Reimplemented from dsim_model.