ACwing FC firmware
STM32WB55: attitude IEKF, altitude Kalman filter, flight core, protocol v2
Loading...
Searching...
No Matches
fc_vert_t Struct Reference

vertical state from the estimator (flight-control context) More...

#include <fc_core.h>

Data Fields

uint8_t valid
 an altitude source is running (baro and/or ToF)
 
float h
 
float vz
 m, m/s, + up (alt_est)

 
uint8_t tof_valid
 
uint8_t tof_ground
 ToF used / ToF below its minimum range

 
float tof_h
 m above the floor

 
float cos_tilt
 R33 of the attitude

 
uint8_t flow_q
 0..100, 0xFF n/a

 
uint8_t flow_usable
 

Detailed Description

vertical state from the estimator (flight-control context)

Definition at line 103 of file fc_core.h.

Field Documentation

◆ valid

uint8_t fc_vert_t::valid

an altitude source is running (baro and/or ToF)

Definition at line 104 of file fc_core.h.

Referenced by alt_ok(), exec(), fc_service(), flight_service(), logf_vert(), and publish().

◆ h

float fc_vert_t::h

◆ vz

float fc_vert_t::vz

m, m/s, + up (alt_est)

Definition at line 105 of file fc_core.h.

Referenced by air_ground(), flight_service(), logf_vert(), publish(), and setpoints().

◆ tof_valid

uint8_t fc_vert_t::tof_valid

◆ tof_ground

uint8_t fc_vert_t::tof_ground

ToF used / ToF below its minimum range

Definition at line 106 of file fc_core.h.

Referenced by air_ground(), flight_service(), flow_failsafe(), logf_vert(), and setpoints().

◆ tof_h

float fc_vert_t::tof_h

m above the floor

Definition at line 107 of file fc_core.h.

Referenced by air_ground(), ceiling_h_kind(), flight_service(), flow_failsafe(), and setpoints().

◆ cos_tilt

float fc_vert_t::cos_tilt

R33 of the attitude

Definition at line 108 of file fc_core.h.

Referenced by flight_service(), and setpoints().

◆ flow_q

uint8_t fc_vert_t::flow_q

0..100, 0xFF n/a

Definition at line 109 of file fc_core.h.

Referenced by fc_service(), flight_service(), flow_failsafe(), and logf_vert().

◆ flow_usable

uint8_t fc_vert_t::flow_usable

Definition at line 110 of file fc_core.h.

Referenced by flight_service(), flow_failsafe(), logf_vert(), and setpoints().


The documentation for this struct was generated from the following file: