Spacecraft Models Package 2.0
Spacecraft Models for DSim
Public Member Functions | Protected Attributes | List of all members
lunar_surface_constraint Class Reference

Provides constraint forces so an object stays fixed to the ground. More...

#include <lunar_surface_constraint.h>

Inherits dsim_model.

Public Member Functions

 lunar_surface_constraint (dsim_model_setup *setup)
 Constructor.
 
 ~lunar_surface_constraint ()
 Destructor.
 
void initialize_data ()
 Initialize outlets and output variables.
 
void initialization_complete ()
 Finish initialization.
 
void pre_calculate ()
 Computation prior to integration.
 
void initialize_timestep ()
 Computation prior to integration.
 
void rhs (double t, double jd)
 Computation done during numerical integration.
 

Protected Attributes

dsim_variable position_dsim
 Vehicle position matrix.
 
dsim_variable velocity_dsim
 Vehicle velocity matrix.
 
dsim_variable mass_dsim
 Vehicle mass.
 
dsim_variable bodyRate_dsim
 Vehicle mass.
 
dsim_variable inertia_dsim
 Vehicle mass.
 
dsim_variable observer_dsim
 Reference center.
 
dsim_variable positionBody_dsim
 Planet positions.
 
dsim_variable velocityBody_dsim
 Planet velocities.
 
dsim_variable planetIndex_dsim
 SPICE planet index.
 
dsim_variable radiusBody_dsim
 Planet radius.
 
dsim_variable acceleration_dsim
 Gravitational acceleration.
 
dsim_variable angularRateVector_dsim
 Angular rate vector.
 
dsim_variable rotationMatrixBody_dsim
 Body rotation matrix.
 
dsim_variable positionPlanetFixed_dsim
 Planet fixed position.
 

Detailed Description

Provides constraint forces so an object stays fixed to the ground.

Ensure that an object stays fixed on the ground. Computes the necessary constraint force.


The documentation for this class was generated from the following files: