|
Spacecraft Models Package 2.0
Spacecraft Models for DSim
|
Provides a simple star_tracker model. More...
#include <star_tracker.h>
Public Member Functions | |
| void | initialize_data () |
| Initialize outlets and output variables. | |
| void | initialization_complete () |
| Finish initialization. | |
| void | initialize_timestep () |
| Computation done prior to numerical integration. | |
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 | q_body_to_tracker_dsim |
| Quaternion from the body frame to the tracker frame. | |
| dsim_variable | angle_noise_1_sigma_dsim |
| One-sigma angle noise. More... | |
| dsim_variable | power_on_dsim |
| Power consumed when on (constant) | |
| dsim_variable | quantization_dsim |
| Quantization - the size of a count, ex. 0.001. | |
| 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 | q_eci_to_body_dsim |
| Parent spacecraft ECI to Body quaternion. | |
| dsim_variable | q_output_dsim |
| Output quaternion. | |
| dsim_variable | counts_output_dsim |
| Output counts (4x1) | |
| dsim_variable | power_consumption_dsim |
| Output power consumption. | |
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. | |
Provides a simple star_tracker model.
Outputs a quaternion or a quantized quaternion. Option to add angle noise.
|
protected |
One-sigma angle noise.
The angle noise is obtained as a random 3x1 matrix at each step with this value as the sigma. It is applied in the star tracker frame defined by q_body_to_tracker_dsim.