|
Spacecraft Models Package 2.0
Spacecraft Models for DSim
|
Simplified geometric GPS receiver model. More...
#include <gps_receiver.h>
Public Member Functions | |
| void | initialization_complete () |
| Request position and velocity from parent object. | |
| void | initialize_data () |
| Create the gps_message output. | |
| void | initialize_timestep () |
| Update the GPS message. More... | |
Public Member Functions inherited from powered_hardware | |
| void * | describe_setup (void *ds) |
| Describe the setup variables. | |
| void | initialize_data () |
| Initialize outlets and output variables. | |
| void | initialization_complete () |
| Finish initialization. | |
| void | initialize_timestep () |
| Initialize the timestep. | |
Protected Attributes | |
| dsim_variable | gps_message_dsim |
| GPS message. | |
| dsim_variable | parent_position_dsim |
| Parent position. | |
| dsim_variable | parent_velocity_dsim |
| Parent velocity. | |
Protected Attributes inherited from powered_hardware | |
| dsim_variable | power_on_dsim |
| Power consumed when on (constant) | |
| dsim_variable | power_standby_dsim |
| Power consumed when in standby mode (constant) | |
| dsim_variable | failed_dsim |
| Command flag for failed (1) or not (0) | |
| dsim_variable | on_dsim |
| Command flag for on (1) or off (1) | |
| dsim_variable | current_dsim |
| Measured current. | |
| dsim_variable | voltage_dsim |
| Input voltage. | |
| dsim_variable | thermal_node_dsim |
| Thermal node. | |
| dsim_variable | heat_dsim |
| Heat. | |
| dsim_variable | power_dsim |
| Power. | |
Simplified geometric GPS receiver model.
This model produces a simplified gps message which is a single matrix:
[range;range_rate;julian date;r(3,1);v(3,1);satellite id]
The measurements are noise free. This does not replicate the GPS message nor does it have any of the errors inherent in a real GPS system.
| void gps_receiver::initialize_timestep | ( | ) |
Update the GPS message.
There will be one column for each GPS satellite in view.
References gps_message_dsim, powered_hardware::initialize_timestep(), parent_position_dsim, and parent_velocity_dsim.