66#ifndef MODELS_SENSORS_IMU_H
67#define MODELS_SENSORS_IMU_H
112 SIGNAL(mount_alignment_mf, clockwerk::Quaternion, clockwerk::Quaternion({1.0, 0.0, 0.0, 0.0}))
117 SIGNAL(accelerometer_seed_value,
int, 0)
119 SIGNAL(gyro_seed_value,
int, 0)
126 SIGNAL(accelerometer_resolution,
double, 0.0)
130 SIGNAL(gyroscope_resolution,
double, 0.0)
137 SIGNAL(accelerometer_operational_power_draw,
double, 0.0)
140 SIGNAL(gyro_operational_power_draw,
double, 0.0)
174 SIGNAL(output_time, clockwerk::Time, clockwerk::Time(0, 0))
201 SIGNAL(accelerometer_is_valid,
bool, false)
204 SIGNAL(gyroscope_is_valid,
bool, false)
207 SIGNAL(accelerometer_current_power_draw,
double, 0.0)
210 SIGNAL(gyro_current_power_draw,
double, 0.0)
219 warptwin::Accelerometer* accelerometer() {
return &
_accelerometer;}
231 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
Frame class definition.
Definition Frame.h:96
#define CartesianVector3
Definition mathmacros.h:43
PlanetDefaults earth_wgs84
Definition planetdefaults.cpp:22
const floating_point DEGREES_TO_RADIANS
Definition unitutils.h:47
Class to propagate CR3BP dynamics in characteristic units.
Definition statistics.hpp:22
int16 start() override
Class to execute logging.
warptwin::Gyroscope * Gyroscope()
Function to access the internal gyro model.
Definition IMU.h:223
SIGNAL(_mu, double, warpos::earth_wgs84.mu)
warptwin::Accelerometer _accelerometer
The IMU accelerometer model.
Definition IMU.h:237
warptwin::Gyroscope _gyro
The IMU gyro model.
Definition IMU.h:240
void _configureInternal()
Function to configure sensor – runs in all constructors.
int16 activate() override
MODEL(Servo) public int16 deactivate() override
Model to simulate a servo's motion.
@ MODEL
Simplified dynamics model representing motion in the circular restricted 3 body problem.
Definition ImNode.h:31