26#ifndef MODELS_SENSORS_PRESSURE_SENSOR_H
27#define MODELS_SENSORS_PRESSURE_SENSOR_H
93 SIGNAL(min_pressure,
double, 0.0)
95 SIGNAL(max_pressure,
double, 0.0)
99 SIGNAL(resolution,
double, 0.0)
104 SIGNAL(seed_value,
int, 0)
111 SIGNAL(operational_power_draw,
double, 0.0)
120 SIGNAL(perfect_pressure,
double, 0.0)
127 SIGNAL(gaussian_noise_std,
double, 0.0)
129 SIGNAL(scale_factor_std,
double, 0.0)
143 SIGNAL(meas_pressure,
double, 0.0)
148 SIGNAL(meas_pressure_mbar,
double, 0.0)
151 SIGNAL(is_valid,
bool, false)
154 SIGNAL(current_power_draw,
double, 0.0)
169 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
Latency model.
Definition LatencyUtil.hpp:41
Definition CircularBuffer.hpp:28
Class to propagate CR3BP dynamics in characteristic units.
Definition statistics.hpp:22
int16 start() override
Class to execute logging.
SIGNAL(_mu, double, warpos::earth_wgs84.mu)
MarkovUncertaintyModel _sensor_noise_model
The bias and noise model for sensor output.
Definition Accelerometer.h:240
double _meas_pres
Temporary variable to hold the measured pressure before bound checks and reolution quantinization.
Definition PressureSensor.h:183
void _configureInternal()
Function to configure sensor – runs in all constructors.
warptwin::RateMonitor * rateMonitor()
Accessor for the internal rate monitor model.
Definition Accelerometer.h:224
int16 activate() override
_accel_output_struct _last_output
Temporary variable for the latest recorded output added to latency model and dummy output for steppin...
Definition Accelerometer.h:264
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
LatencyUtil< double > _latency_model
The latency model for servo angle output.
Definition Servo.h:116
MODEL(Accelerometer) public warptwin::MarkovUncertaintyModel * getNoiseModel()
Accessor for the internal noise model.
Definition Accelerometer.h:220
int16 execute() override
Function to check monitor input conditions and set trigger flag accordingly. Should be implemented in...
RateMonitor _rate_monitor
Rate monitor to control the rate at which the sensor runs.
Definition Accelerometer.h:243
double _latency_return
Temporary value for the return of the latency value.
Definition Servo.h:122
Pressure Sensor Model.
Definition PressureSensor.h:76
_pressure_output_struct()
Definition PressureSensor.h:80
bool is_valid
Definition PressureSensor.h:78
double meas_pressure
Definition PressureSensor.h:77
_pressure_output_struct(double meas_pressure, bool is_valid)
Definition PressureSensor.h:83