|
Paparazzi UAS v7.1_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
Airspeed sensor on the uavcan bus. More...
#include "airspeed_uavcan.h"#include "uavcan/uavcan.h"#include "core/abi.h"#include "mcu_periph/sys_time.h"#include "math/pprz_isa.h"#include "uavcan.equipment.air_data.RawAirData.h"Go to the source code of this file.
Macros | |
| #define | AIRSPEED_UAVCAN_DIFF_P_SCALE 1.0f |
| #define | AIRSPEED_UAVCAN_KELVIN_MIN 150.f |
Functions | |
| static void | airspeed_uavcan_cb (struct uavcan_iface_t *iface, CanardRxTransfer *transfer) |
| void | airspeed_uavcan_init (void) |
Variables | |
| struct airspeed_uavcan_t | airspeed_uavcan = {0} |
| static uavcan_event | airspeed_uavcan_ev |
Airspeed sensor on the uavcan bus.
Definition in file airspeed_uavcan.c.
| #define AIRSPEED_UAVCAN_DIFF_P_SCALE 1.0f |
Definition at line 35 of file airspeed_uavcan.c.
Referenced by airspeed_uavcan_init().
| #define AIRSPEED_UAVCAN_KELVIN_MIN 150.f |
Definition at line 40 of file airspeed_uavcan.c.
Referenced by airspeed_uavcan_cb().
|
static |
Definition at line 47 of file airspeed_uavcan.c.
References airspeed_uavcan, AIRSPEED_UAVCAN_KELVIN_MIN, get_sys_time_usec(), PPRZ_ISA_ABS_NULL, TEMPERATURE_TYPE_AIR, transfer(), and UAVCAN_SENDER_ID.
Referenced by airspeed_uavcan_init().
| void airspeed_uavcan_init | ( | void | ) |
Definition at line 77 of file airspeed_uavcan.c.
References airspeed_uavcan, airspeed_uavcan_cb(), AIRSPEED_UAVCAN_DIFF_P_SCALE, airspeed_uavcan_ev, and uavcan_bind().
| struct airspeed_uavcan_t airspeed_uavcan = {0} |
Definition at line 44 of file airspeed_uavcan.c.
Referenced by airspeed_uavcan_cb(), and airspeed_uavcan_init().
|
static |
Definition at line 45 of file airspeed_uavcan.c.
Referenced by airspeed_uavcan_init().