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

setpoints for the attitude / rate loops (phase 3) and the motor mixer More...

#include <fc_core.h>

Data Fields

uint8_t armed
 
uint8_t mode
 
uint8_t autom
 
uint8_t alt_ctrl
 1: thrust from the altitude loop

 
float thrust
 collective 0..1

 
float roll
 
float pitch
 rad (ANGLE-type modes)

 
float roll_rate
 
float pitch_rate
 rad/s (ACRO)

 
float yaw_rate
 rad/s

 
float h_sp
 
float vz_sp
 m, m/s (when alt_ctrl)

 
uint8_t pos_hold
 

Detailed Description

setpoints for the attitude / rate loops (phase 3) and the motor mixer

Definition at line 115 of file fc_core.h.

Field Documentation

◆ armed

uint8_t fc_setpoint_t::armed

Definition at line 116 of file fc_core.h.

◆ mode

uint8_t fc_setpoint_t::mode

Definition at line 116 of file fc_core.h.

◆ autom

uint8_t fc_setpoint_t::autom

Definition at line 116 of file fc_core.h.

◆ alt_ctrl

uint8_t fc_setpoint_t::alt_ctrl

1: thrust from the altitude loop

Definition at line 117 of file fc_core.h.

◆ thrust

float fc_setpoint_t::thrust

collective 0..1

Definition at line 118 of file fc_core.h.

◆ roll

float fc_setpoint_t::roll

Definition at line 119 of file fc_core.h.

◆ pitch

float fc_setpoint_t::pitch

rad (ANGLE-type modes)

Definition at line 119 of file fc_core.h.

◆ roll_rate

float fc_setpoint_t::roll_rate

Definition at line 120 of file fc_core.h.

◆ pitch_rate

float fc_setpoint_t::pitch_rate

rad/s (ACRO)

Definition at line 120 of file fc_core.h.

◆ yaw_rate

float fc_setpoint_t::yaw_rate

rad/s

Definition at line 121 of file fc_core.h.

◆ h_sp

float fc_setpoint_t::h_sp

Definition at line 122 of file fc_core.h.

◆ vz_sp

float fc_setpoint_t::vz_sp

m, m/s (when alt_ctrl)

Definition at line 122 of file fc_core.h.

◆ pos_hold

uint8_t fc_setpoint_t::pos_hold

Definition at line 123 of file fc_core.h.

Referenced by setpoints().


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