PX4 Firmware
PX4 Autopilot Software http://px4.io
|
class TemperatureCalibrationCommon Common base class for all sensor types, contains shared code & data. More...
#include <common.h>
Classes | |
struct | PerSensorData |
Public Member Functions | |
TemperatureCalibrationCommon (float min_temperature_rise, float min_start_temperature, float max_start_temperature) | |
virtual | ~TemperatureCalibrationCommon ()=default |
int | update () |
Public Member Functions inherited from TemperatureCalibrationBase | |
TemperatureCalibrationBase (float min_temperature_rise, float min_start_temperature, float max_start_temperature) | |
virtual | ~TemperatureCalibrationBase () |
virtual int | finish ()=0 |
do final fitting & write the parameters. More... | |
virtual void | reset_calibration ()=0 |
reset all driver-level calibration parameters More... | |
Protected Member Functions | |
virtual int | update_sensor_instance (PerSensorData &data, int sensor_sub)=0 |
update a single sensor instance More... | |
Protected Member Functions inherited from TemperatureCalibrationBase | |
int | set_parameter (const char *format_str, unsigned index, const void *value) |
set a system parameter (without system notification) and print an error if it fails More... | |
Protected Attributes | |
PerSensorData | _data [SENSOR_COUNT_MAX] |
unsigned | _num_sensor_instances {0} |
int | _sensor_subs [SENSOR_COUNT_MAX] |
Protected Attributes inherited from TemperatureCalibrationBase | |
float | _min_temperature_rise |
minimum difference in temperature before the process finishes More... | |
float | _min_start_temperature |
minimum temperature before the process starts More... | |
float | _max_start_temperature |
maximum temperature above which the process does not start and an error is declared More... | |
class TemperatureCalibrationCommon Common base class for all sensor types, contains shared code & data.
|
inline |
|
virtualdefault |
|
inlinevirtual |
Implements TemperatureCalibrationBase.
|
protectedpure virtual |
update a single sensor instance
Implemented in TemperatureCalibrationBaro, TemperatureCalibrationGyro, and TemperatureCalibrationAccel.
|
protected |
|
protected |
|
protected |