41#ifndef MODELS_ACTUATORS_SIMPLE_THRUSTER_MODEL_H
42#define MODELS_ACTUATORS_SIMPLE_THRUSTER_MODEL_H
74 MODEL(SimpleThrusterModel)
81 SIGNAL(control_body, Body*,
nullptr)
88 SIGNAL(thrust_bias,
double, 0.0)
91 SIGNAL(thrust_noise_std,
double, 0.0)
93 SIGNAL(g,
double, warpos::earth_wgs84.mean_gravity)
111 SIGNAL(applied_thrust,
double, 0.0)
119 clockwerk::DataIO<Node*> thrusterNode = clockwerk::DataIO<Node*>(
this,
"thrusterNode", &
_thruster_node);
121 int16
start()
override;
#define SIGNAL(NAME, TYPE, INITIAL_VALUE)
Definition appmacros.h:27
#define START_PARAMS
Definition appmacros.h:42
#define END_OUTPUTS
Definition appmacros.h:33
#define END_PARAMS
Definition appmacros.h:47
#define START_OUTPUTS
Definition appmacros.h:28
#define END_INPUTS
Definition appmacros.h:40
#define START_INPUTS
Definition appmacros.h:35
Node class to apply forces and moments to frames.
Definition Node.h:44
#define CartesianVector3
Definition mathmacros.h:43
Class to propagate CR3BP dynamics in characteristic units.
Definition statistics.hpp:22
Node _thruster_node
The node at which thrust is applied.
Definition SimpleThrusterModel.h:128
int16 start() override
Class to execute logging.
BiasNoiseModel _thruster_bias_noise
The bias and noise model for thrust output.
Definition SimpleThrusterModel.h:125
SIGNAL(_mu, double, warpos::earth_wgs84.mu)
double _total_thrust
Value to hold total thrust calculation.
Definition SimpleThrusterModel.h:137
int _cmd_state
Value to hold last thrust command.
Definition SimpleThrusterModel.h:140
const double ON_STATE
Definition SimpleThrusterModel.h:53
double _nominal_thrust
Our nominal thrust calculation from Isp and the like.
Definition SimpleThrusterModel.h:131
double _thrust_perturbation
Value to hold perturbation to thrust.
Definition SimpleThrusterModel.h:134
@ MODEL
Simplified dynamics model representing motion in the circular restricted 3 body problem.
Definition ImNode.h:31
cmds_e
Definition SimpleThrusterModel.h:55
@ ON
Definition SimpleThrusterModel.h:57
int _prev_cmd
Definition SimpleThrusterModel.h:141
int16 execute() override
Function to check monitor input conditions and set trigger flag accordingly. Should be implemented in...
@ OFF
Definition SimpleThrusterModel.h:56