7#include <ControlDeck2/ControlDeck2.h>
9#ifndef CS_TORQUER_INTERFACE
10#define CS_TORQUER_INTERFACE
20 void initialize_data_requests();
58 double julian_date_old;
64 cd_control_module *cs_torquer_interface_builder(
const char *name);
The magnetic torquer interface producing sign and pulsewidth demand.
Definition: cs_torquer_interface.h:16
CD_REQUEST_REF acs_actuator_selection_command_ref
Command to use different actuators (int)
Definition: cs_torquer_interface.h:40
CD_REQUEST_REF b_field_ref
Measured b-field.
Definition: cs_torquer_interface.h:34
CD_REQUEST_REF magnetic_torquer_sign_ref
Magnetic_torquer_sign.
Definition: cs_torquer_interface.h:46
CD_REQUEST_REF mm_torque_ref
Momentum management torque.
Definition: cs_torquer_interface.h:30
void initialize_data()
Request event notification for CS_TORQUER_INTERFACE_TRIGGER.
Definition: cs_torquer_interface.cc:18
CD_CREATE_REF mm_dipole_command_ref
Magnetic torquer dipole command.
Definition: cs_torquer_interface.h:54
CD_REQUEST_REF acs_torque_demand_ref
acs_torque_demand_ref
Definition: cs_torquer_interface.h:38
CD_REQUEST_REF mm_period_command_ref
Magnetic torquer control period command (double)
Definition: cs_torquer_interface.h:28
void handle_event(int code)
Calculate the demand and set the values of magnetic_torquer_pulsewidth_demand and magnetic_torquer_si...
Definition: cs_torquer_interface.cc:45
CD_REQUEST_REF ad_q_eci_to_body_ref
Quaternion from eci to body.
Definition: cs_torquer_interface.h:36
CD_REQUEST_REF magnetic_torquer_pulsewidth_demand_ref
Computed pulsewidth demand.
Definition: cs_torquer_interface.h:48
CD_REQUEST_REF jd_ref
Julian date.
Definition: cs_torquer_interface.h:32