MAV'RIC
Public Attributes
airspeed_analog_t Struct Reference

Structure containing the analog airspeed sensor data. More...

#include <airspeed_analog.h>

Collaboration diagram for airspeed_analog_t:
Collaboration graph
[legend]

List of all members.

Public Attributes

analog_monitor_tanalog_monitor
 pointer to the structure of analog monitor module
uint8_t analog_channel
 analog channel of the ADC
float voltage
 Voltage read by the ADC.
float pressure_offset
 Offset of the pressure sensor.
float differential_pressure
 True differential pressure in Pa (raw sensor compensated with offset)
float conversion_factor
 Factor used for conversion between differential pressure P and square speed v^2. Is influenced by real sensitivity of the sensor and by air density !
float correction_gain
 Gain used to correct estimation.
float correction_offset
 Offset used to correct estimation.
float alpha
 Filter coefficient.
float raw_airspeed
 Unfiltered and uncorrected airspeed.
float scaled_airspeed
 Corrected airspeed, using fitted relation.
float airspeed
 Filtered corrected airspeed.
float last_airspeed
 Airspeed from previous loop.
bool calibrating
 True if the sensor is currently in calibration.
float calibration_gain
 Gain used for the calibration of the offset (low-pass)

Detailed Description

Structure containing the analog airspeed sensor data.


The documentation for this struct was generated from the following file:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines