AerospacePackage 1.0
|
A planet fixed object. More...
#include <planet_fixed_object.h>
Inherits dsim_model.
Public Member Functions | |
planet_fixed_object (dsim_model_setup *setup) | |
Constructor. | |
~planet_fixed_object () | |
Destructor. | |
void | initialize_data () |
Initialize outlets and output variables. | |
void | initialization_complete () |
Finish initialization. | |
void | initialize_timestep () |
Computation done prior to numerical integration. | |
void | rhs (double t, double jd) |
Computation done during numerical integration. More... | |
dsim_value | handle_message (const std::string &sender_path, const std::string &message_name, const dsim_value &argument) |
Handle force and torque messages. More... | |
A planet fixed object.
This models an object fixed to a planet. Allows any model to be a child and will work like rigid_body.
void planet_fixed_object::rhs | ( | double | t, |
double | jd | ||
) |
Computation done during numerical integration.
Quaternion kinematics and orbit derivative.
Uses qi_to_b_dot from the SCControl framework.
dsim_value planet_fixed_object::handle_message | ( | const std::string & | sender_path, |
const std::string & | message_name, | ||
const dsim_value & | argument | ||
) |
Handle force and torque messages.
Handle the messages.
The units should be N and Nm. Force should be in the ECI frame and torque should be in the body frame.