Measurement data group.
More...
#include <unit_Thermal2.hpp>
|
|
float | medianTemperature () const |
| | Gets median temperature in Celsius.
|
| |
|
float | averageTemperature () const |
| | Gets average temperature in Celsius.
|
| |
|
float | mostDiffTemperature () const |
| | Gets most different temperature in Celsius.
|
| |
|
float | lowestTemperature () const |
| | Gets lowest temperature in Celsius.
|
| |
|
float | highestTemperature () const |
| | Gets highest temperature in Celsius.
|
| |
| float | temperature (const uint_fast16_t idx) const |
| | Gets pixel temperature in Celsius.
|
| |
|
|
uint8_t | subpage {} |
| | Subpage 0:even 1:odd.
|
| |
|
union { | |
| |
|
uint16_t temp [8] {} | |
| | Temperature information.
|
| |
|
struct { | |
| |
|
uint16_t median_temperature | |
| | Median temperature (raw)
|
| |
|
uint16_t average_temperature | |
| | Average temperature (raw)
|
| |
|
uint16_t most_diff_temperature | |
| | Most different temperature (raw)
|
| |
|
uint8_t most_diff_x | |
| | Most different pixel X.
|
| |
|
uint8_t most_diff_y | |
| | Most different pixel Y.
|
| |
|
uint16_t lowest_temperature | |
| | Lowest temperature (raw)
|
| |
|
uint8_t lowest_diff_x | |
| | Lowest pixel X.
|
| |
|
uint8_t lowest_diff_y | |
| | Lowest pixel Y.
|
| |
|
uint16_t highest_temperature | |
| | Highest temperature (raw)
|
| |
|
uint8_t highest_diff_x | |
| | Highest pixel X.
|
| |
|
uint8_t highest_diff_y | |
| | Highest pixel Y.
|
| |
| } | | |
| |
| }; | | |
| |
|
uint16_t | raw [384] {} |
| | Raw pixel data (1/2)
|
| |
◆ temperature()
| float m5::unit::thermal2::Data::temperature |
( |
const uint_fast16_t | idx | ) |
const |
|
inline |
Gets pixel temperature in Celsius.
- Parameters
-
- Returns
- Temperature in Celsius, or NaN if idx is out of range