PX4 Firmware
PX4 Autopilot Software http://px4.io
TemperatureCalibrationCommon< Dim, PolyfitOrder >::PerSensorData Struct Reference

#include <common.h>

Collaboration diagram for TemperatureCalibrationCommon< Dim, PolyfitOrder >::PerSensorData:

Public Attributes

float sensor_sample_filt [Dim+1]
 last value is the temperature More...
 
polyfitter< PolyfitOrder+1 > P [Dim]
 
unsigned hot_soak_sat = 0
 counter that increments every time the sensor temperature reduces from the last reading More...
 
uint32_t device_id = 0
 ID for the sensor being calibrated. More...
 
bool cold_soaked = false
 true when the sensor cold soak starting temperature condition had been More...
 
bool hot_soaked = false
 verified and the starting temperature set More...
 
bool tempcal_complete = false
 true when the calibration has been completed More...
 
float low_temp = 0.f
 low temperature recorded at start of calibration (deg C) More...
 
float high_temp = 0.f
 highest temperature recorded during calibration (deg C) More...
 
float ref_temp = 0.f
 calibration reference temperature, nominally in the middle of the calibration temperature range (deg C) More...
 

Detailed Description

template<int Dim, int PolyfitOrder>
struct TemperatureCalibrationCommon< Dim, PolyfitOrder >::PerSensorData

Definition at line 169 of file common.h.

Member Data Documentation

◆ cold_soaked

template<int Dim, int PolyfitOrder>
bool TemperatureCalibrationCommon< Dim, PolyfitOrder >::PerSensorData::cold_soaked = false

true when the sensor cold soak starting temperature condition had been

Definition at line 175 of file common.h.

◆ device_id

template<int Dim, int PolyfitOrder>
uint32_t TemperatureCalibrationCommon< Dim, PolyfitOrder >::PerSensorData::device_id = 0

ID for the sensor being calibrated.

Definition at line 174 of file common.h.

◆ high_temp

template<int Dim, int PolyfitOrder>
float TemperatureCalibrationCommon< Dim, PolyfitOrder >::PerSensorData::high_temp = 0.f

highest temperature recorded during calibration (deg C)

Definition at line 180 of file common.h.

◆ hot_soak_sat

template<int Dim, int PolyfitOrder>
unsigned TemperatureCalibrationCommon< Dim, PolyfitOrder >::PerSensorData::hot_soak_sat = 0

counter that increments every time the sensor temperature reduces from the last reading

Definition at line 172 of file common.h.

◆ hot_soaked

template<int Dim, int PolyfitOrder>
bool TemperatureCalibrationCommon< Dim, PolyfitOrder >::PerSensorData::hot_soaked = false

verified and the starting temperature set

true when the sensor has achieved the specified temperature increase

Definition at line 177 of file common.h.

◆ low_temp

template<int Dim, int PolyfitOrder>
float TemperatureCalibrationCommon< Dim, PolyfitOrder >::PerSensorData::low_temp = 0.f

low temperature recorded at start of calibration (deg C)

Definition at line 179 of file common.h.

◆ P

template<int Dim, int PolyfitOrder>
polyfitter< PolyfitOrder + 1 > TemperatureCalibrationCommon< Dim, PolyfitOrder >::PerSensorData::P[Dim]

Definition at line 171 of file common.h.

◆ ref_temp

template<int Dim, int PolyfitOrder>
float TemperatureCalibrationCommon< Dim, PolyfitOrder >::PerSensorData::ref_temp = 0.f

calibration reference temperature, nominally in the middle of the calibration temperature range (deg C)

Definition at line 181 of file common.h.

◆ sensor_sample_filt

template<int Dim, int PolyfitOrder>
float TemperatureCalibrationCommon< Dim, PolyfitOrder >::PerSensorData::sensor_sample_filt[Dim+1]

last value is the temperature

Definition at line 170 of file common.h.

◆ tempcal_complete

template<int Dim, int PolyfitOrder>
bool TemperatureCalibrationCommon< Dim, PolyfitOrder >::PerSensorData::tempcal_complete = false

true when the calibration has been completed

Definition at line 178 of file common.h.


The documentation for this struct was generated from the following file: