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

Convert planet orbiting initial conditions to heliocentric coordinates using spice. More...

#include <po_to_helio.h>

Inherits dsim_model.

Public Member Functions

 po_to_helio (dsim_model_setup *setup)
 Constructor.
 
 ~po_to_helio ()
 Destructor.
 
void initialize_data ()
 Initialize outlets and output variables.
 
void initialization_complete ()
 Finish initialization.
 

Protected Attributes

dsim_variable planet_dsim
 Fix to this planet.
 
Parent variables

These variables are referenced from the parent object.

dsim_variable position_dsim
 Position.
 
dsim_variable velocity_dsim
 Velocity.
 
SPICE Outlets

These outlets provide the interface to the SPICE model for defining the planet frame.

dsim_variable observer_dsim
 Reference center.
 
dsim_variable positionBody_dsim
 Planet positions outlet.
 
dsim_variable velocityBody_dsim
 Planet velocities outlet.
 
dsim_variable planetIndex_dsim
 SPICE planet index outlet.
 

Detailed Description

Convert planet orbiting initial conditions to heliocentric coordinates using spice.

Adding this model to your rigid body spacecraft allows you to specify the vehicle initial state in the planet orbit frame rather than the ECI frame. The position, velocity, quaternion, and bodyRate initial values are all overwritten after being converted.

This module has outlets which must be connected to the SPICE model.


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