|
Spacecraft Models Package 2.0
Spacecraft Models for DSim
|
Models an earth fixed ground station that can send messages. More...
#include <ground_station.h>
Inherits dsim_model.
Public Member Functions | |
| ground_station (dsim_model_setup *setup) | |
| Constructor. | |
| ~ground_station () | |
| Destructor. | |
| void | initialize_data () |
| Initialize outlets and output variables. | |
| void | initialization_complete () |
| Finish initialization. | |
| void | initialize_timestep () |
| Computation done prior to numerical integration. | |
| void * | describe_setup (void *ds) |
| Describe the setup commands. More... | |
| bool | parse_setup (char *command, char *data) |
| Parse the setup commands. More... | |
Protected Attributes | |
| dsim_variable | range_dsim |
| Range to spacecraft. | |
| dsim_variable | rangeRate_dsim |
| Range rate. | |
| dsim_variable | positionGroundStation_dsim |
| Position of ground station. | |
| dsim_variable | rangeMessage_dsim |
| Range message. | |
| 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 | rotationMatrixBody_dsim |
| Planet rotation matrix. | |
| dsim_variable | planetAngularRate_dsim |
| Planet angular rate matrix. | |
Outputs | |
| dsim_variable | spacecraftPosition_dsim |
| dsim_variable | spacecraftVelocity_dsim |
| Spacecraft ECI velocity. | |
Models an earth fixed ground station that can send messages.
Models a ground station fixed to the earth This model computes relative range and rate to any spacecraft. The information is sent in a range message
rangeMessage(1,1) = range; rangeMessage(2,1) = rangeRate; rangeMessage(3,1) = sim_jd(); rangeMessage.stack(r_gs_eci); - The ground station position in the ECI frame rangeMessage.stack(v_gs_eci); - The ground station velocity in the ECI frame
| void * ground_station::describe_setup | ( | void * | ds | ) |
Describe the setup commands.
Describe the required inputs.
| bool ground_station::parse_setup | ( | char * | command, |
| char * | data | ||
| ) |
Parse the setup commands.
Parse commands.
|
protected |
Spacecraft ECI position