Public Member Functions

dsim_second_order Class Reference
[Builtin Models]

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...

Inheritance diagram for dsim_second_order:

List of all members.

Public Member Functions

void initialize_data ()
void initialization_complete ()
void initialize_timestep ()
void complete_timestep ()
void rhs (double t, double jd)

Detailed Description

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.


Member Function Documentation

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.

Parameters:
tCurrent time
jdJulian Date of current epoch

Reimplemented from dsim_model.

 All Classes Files Functions Typedefs Enumerations Enumerator