![]() |
ACwing FC firmware
STM32WB55: attitude IEKF, altitude Kalman filter, flight core, protocol v2
|
#include <telemetry.h>
Data Fields | |
| uint32_t | uptime_ms |
| uint32_t | irq_count |
| INT1 interrupts received | |
| uint32_t | bus_err |
| I2C errors (FIFO status or DMA burst) | |
| uint32_t | fifo_ovr |
| reads truncated to IMU_FIFO_MAX_WORDS | |
| uint32_t | tlm_drop |
| frames lost on the telemetry queue | |
| uint32_t | uart_drop |
| frames not sent (UART DMA busy) | |
| uint32_t | proc_cyc_max |
| max CPU cycles of est_process | |
| uint32_t | n_gyro |
| uint32_t | n_acc |
| uint32_t | n_mag |
| uint32_t | n_mag_dup |
| uint32_t | n_sh_nack |
| cumulative FIFO words | |
| uint16_t | words_max |
| max words read in one interrupt | |
| uint16_t | calib_count |
| calibration samples collected | |
| int8_t | imu_init |
| 1 = in progress, 0 = OK, <0 = imu_status_t | |
| uint8_t | running |
| 1 = filter running | |
| uint32_t | ble_drop |
| frames not queued for BLE (link too slow) | |
| uint16_t | ble_mtu |
| ATT_MTU in use | |
| uint8_t | ble_state |
| uint8_t | ble_err |
| last BLE stack error code (0 = none) | |
Definition at line 82 of file telemetry.h.
| uint32_t tlm_status_t::uptime_ms |
Definition at line 83 of file telemetry.h.
Referenced by send_status().
| uint32_t tlm_status_t::irq_count |
INT1 interrupts received
Definition at line 84 of file telemetry.h.
| uint32_t tlm_status_t::bus_err |
I2C errors (FIFO status or DMA burst)
Definition at line 85 of file telemetry.h.
| uint32_t tlm_status_t::fifo_ovr |
reads truncated to IMU_FIFO_MAX_WORDS
Definition at line 86 of file telemetry.h.
| uint32_t tlm_status_t::tlm_drop |
frames lost on the telemetry queue
Definition at line 87 of file telemetry.h.
| uint32_t tlm_status_t::uart_drop |
frames not sent (UART DMA busy)
Definition at line 88 of file telemetry.h.
| uint32_t tlm_status_t::proc_cyc_max |
max CPU cycles of est_process
Definition at line 89 of file telemetry.h.
| uint32_t tlm_status_t::n_gyro |
Definition at line 90 of file telemetry.h.
| uint32_t tlm_status_t::n_acc |
Definition at line 90 of file telemetry.h.
| uint32_t tlm_status_t::n_mag |
Definition at line 90 of file telemetry.h.
| uint32_t tlm_status_t::n_mag_dup |
Definition at line 90 of file telemetry.h.
| uint32_t tlm_status_t::n_sh_nack |
cumulative FIFO words
Definition at line 90 of file telemetry.h.
| uint16_t tlm_status_t::words_max |
max words read in one interrupt
Definition at line 91 of file telemetry.h.
| uint16_t tlm_status_t::calib_count |
calibration samples collected
Definition at line 92 of file telemetry.h.
| int8_t tlm_status_t::imu_init |
1 = in progress, 0 = OK, <0 = imu_status_t
Definition at line 93 of file telemetry.h.
| uint8_t tlm_status_t::running |
1 = filter running
Definition at line 94 of file telemetry.h.
| uint32_t tlm_status_t::ble_drop |
frames not queued for BLE (link too slow)
Definition at line 96 of file telemetry.h.
| uint16_t tlm_status_t::ble_mtu |
ATT_MTU in use
Definition at line 97 of file telemetry.h.
| uint8_t tlm_status_t::ble_state |
Definition at line 98 of file telemetry.h.
| uint8_t tlm_status_t::ble_err |
last BLE stack error code (0 = none)
Definition at line 100 of file telemetry.h.