Paparazzi UAS
v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
Airspeed sensor on the uavcan bus. More...
#include "std.h"
Go to the source code of this file.
Data Structures | |
struct | airspeed_uavcan_t |
Functions | |
void | airspeed_uavcan_init (void) |
void | airspeed_uavcan_autoset_offset (bool set) |
Variables | |
struct airspeed_uavcan_t | airspeed_uavcan |
Airspeed sensor on the uavcan bus.
Definition in file airspeed_uavcan.h.
struct airspeed_uavcan_t |
Definition at line 32 of file airspeed_uavcan.h.
Data Fields | ||
---|---|---|
float | diff_p | Differential pressure. |
float | diff_p_offset | Differential pressure offset. |
float | diff_p_scale | Differential pressure scale. |
float | temperature | Temperature in Celsius. |
void airspeed_uavcan_autoset_offset | ( | bool | set | ) |
Definition at line 149 of file airspeed_uavcan.c.
References airspeed_uavcan, airspeed_uavcan_t::diff_p, and airspeed_uavcan_t::diff_p_offset.
void airspeed_uavcan_init | ( | void | ) |
Definition at line 131 of file airspeed_uavcan.c.
References airspeed_filter, airspeed_uavcan, airspeed_uavcan_cb(), AIRSPEED_UAVCAN_DIFF_P_SCALE, airspeed_uavcan_downlink(), airspeed_uavcan_ev, DefaultPeriodic, airspeed_uavcan_t::diff_p_scale, init_butterworth_2_low_pass(), register_periodic_telemetry(), uavcan_bind(), UAVCAN_EQUIPMENT_AIR_DATA_RAWAIRDATA_ID, and UAVCAN_EQUIPMENT_AIR_DATA_RAWAIRDATA_SIGNATURE.
|
extern |
Definition at line 1 of file airspeed_uavcan.c.
Referenced by airspeed_uavcan_autoset_offset(), airspeed_uavcan_cb(), airspeed_uavcan_downlink(), and airspeed_uavcan_init().