![]() |
ACwing FC firmware
STM32WB55: attitude IEKF, altitude Kalman filter, flight core, protocol v2
|
#include <app_task.h>
Data Fields | |
| char | hw_rev |
| CAPS hwRev: 'N' Nucleo bench, 'A' ACwing FC rev A. | |
| uint8_t | n_motors |
| uint8_t | motors_built |
| uint32_t | uid [3] |
| MCU unique id -> serial "ACW-xxxxxxxx" | |
| size_t(* | get_init )(uint8_t *dst, size_t cap) |
| INIT frame of the estimator (copy; 0 if not ready yet) | |
| uint8_t | batt_monitor |
| a BattTask runs: POWER, CHECKS item 1, BATTERY calibration | |
| uint16_t | board_sensors |
| CAPS bits of the board itself (CURRENT, FLASH_LOG) | |
| uint8_t(* | log_pct )(void) |
| flash log used %, 0xFF = no log; may be NULL | |
Definition at line 28 of file app_task.h.
| char app_task_cfg_t::hw_rev |
CAPS hwRev: 'N' Nucleo bench, 'A' ACwing FC rev A.
Definition at line 29 of file app_task.h.
Referenced by app_start(), and send_caps().
| uint8_t app_task_cfg_t::n_motors |
Definition at line 30 of file app_task.h.
Referenced by app_init(), app_start(), send_caps(), and send_motors().
| uint8_t app_task_cfg_t::motors_built |
Definition at line 31 of file app_task.h.
Referenced by app_init(), and app_start().
| uint32_t app_task_cfg_t::uid[3] |
MCU unique id -> serial "ACW-xxxxxxxx"
Definition at line 32 of file app_task.h.
Referenced by app_start(), and send_caps().
| size_t(* app_task_cfg_t::get_init) (uint8_t *dst, size_t cap) |
INIT frame of the estimator (copy; 0 if not ready yet)
Definition at line 34 of file app_task.h.
Referenced by app_start(), and send_init().
| uint8_t app_task_cfg_t::batt_monitor |
a BattTask runs: POWER, CHECKS item 1, BATTERY calibration
Definition at line 35 of file app_task.h.
Referenced by app_init(), app_start(), batt_now(), battery_flight(), build_checks(), local_cmd(), and streams().
| uint16_t app_task_cfg_t::board_sensors |
CAPS bits of the board itself (CURRENT, FLASH_LOG)
Definition at line 36 of file app_task.h.
Referenced by app_start(), and sensors_now().
| uint8_t(* app_task_cfg_t::log_pct) (void) |
flash log used %, 0xFF = no log; may be NULL
Definition at line 38 of file app_task.h.
Referenced by app_start(), and send_system().