APM:Libraries
Public Attributes | List of all members
AP_Airspeed::airspeed_state Struct Reference
Collaboration diagram for AP_Airspeed::airspeed_state:
[legend]

Public Attributes

float raw_airspeed
 
float airspeed
 
float last_pressure
 
float filtered_pressure
 
float corrected_pressure
 
float EAS2TAS
 
bool healthy:1
 
bool hil_set:1
 
float hil_pressure
 
uint32_t last_update_ms
 
bool use_zero_offset
 
struct {
   uint32_t   start_ms
 
   uint16_t   count
 
   float   sum
 
   uint16_t   read_count
 
cal
 
Airspeed_Calibration calibration
 
float last_saved_ratio
 
uint8_t counter
 

Detailed Description

Definition at line 190 of file AP_Airspeed.h.

Member Data Documentation

◆ airspeed

float AP_Airspeed::airspeed_state::airspeed

Definition at line 192 of file AP_Airspeed.h.

Referenced by AP_Airspeed::read(), and AP_Airspeed::setHIL().

◆ cal

struct { ... } AP_Airspeed::airspeed_state::cal

◆ calibration

Airspeed_Calibration AP_Airspeed::airspeed_state::calibration

Definition at line 211 of file AP_Airspeed.h.

Referenced by AP_Airspeed::init().

◆ corrected_pressure

float AP_Airspeed::airspeed_state::corrected_pressure

Definition at line 195 of file AP_Airspeed.h.

Referenced by AP_Airspeed::read().

◆ count

uint16_t AP_Airspeed::airspeed_state::count

Definition at line 206 of file AP_Airspeed.h.

Referenced by AP_Airspeed::calibrate(), and AP_Airspeed::update_calibration().

◆ counter

uint8_t AP_Airspeed::airspeed_state::counter

Definition at line 213 of file AP_Airspeed.h.

◆ EAS2TAS

float AP_Airspeed::airspeed_state::EAS2TAS

Definition at line 196 of file AP_Airspeed.h.

Referenced by AP_Airspeed::AP_Airspeed().

◆ filtered_pressure

float AP_Airspeed::airspeed_state::filtered_pressure

Definition at line 194 of file AP_Airspeed.h.

Referenced by AP_Airspeed::read().

◆ healthy

bool AP_Airspeed::airspeed_state::healthy

◆ hil_pressure

float AP_Airspeed::airspeed_state::hil_pressure

Definition at line 199 of file AP_Airspeed.h.

Referenced by AP_Airspeed::get_pressure(), and AP_Airspeed::setHIL().

◆ hil_set

bool AP_Airspeed::airspeed_state::hil_set

Definition at line 198 of file AP_Airspeed.h.

Referenced by AP_Airspeed::setHIL().

◆ last_pressure

float AP_Airspeed::airspeed_state::last_pressure

Definition at line 193 of file AP_Airspeed.h.

Referenced by AP_Airspeed::read(), and AP_Airspeed::setHIL().

◆ last_saved_ratio

float AP_Airspeed::airspeed_state::last_saved_ratio

Definition at line 212 of file AP_Airspeed.h.

Referenced by AP_Airspeed::init().

◆ last_update_ms

uint32_t AP_Airspeed::airspeed_state::last_update_ms

Definition at line 200 of file AP_Airspeed.h.

Referenced by AP_Airspeed::read(), and AP_Airspeed::setHIL().

◆ raw_airspeed

float AP_Airspeed::airspeed_state::raw_airspeed

Definition at line 191 of file AP_Airspeed.h.

Referenced by AP_Airspeed::read(), and AP_Airspeed::setHIL().

◆ read_count

uint16_t AP_Airspeed::airspeed_state::read_count

Definition at line 208 of file AP_Airspeed.h.

Referenced by AP_Airspeed::calibrate(), and AP_Airspeed::update_calibration().

◆ start_ms

uint32_t AP_Airspeed::airspeed_state::start_ms

◆ sum

float AP_Airspeed::airspeed_state::sum

Definition at line 207 of file AP_Airspeed.h.

Referenced by AP_Airspeed::calibrate(), and AP_Airspeed::update_calibration().

◆ use_zero_offset

bool AP_Airspeed::airspeed_state::use_zero_offset

Definition at line 201 of file AP_Airspeed.h.

Referenced by AP_Airspeed_Backend::set_use_zero_offset().


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