![]() |
Paparazzi UAS v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
Thrust setpoint // TODO to a setpoint header Structure to store the desired thrust vector with different format. More...
#include <stabilization.h>
Public Types | |
enum | { THRUST_SP , THRUST_INCR_SP } |
enum | { THRUST_SP_INT , THRUST_SP_FLOAT } |
Data Fields | ||
enum ThrustSetpoint:: { ... } | type | |
enum ThrustSetpoint:: { ... } | format | |
union { | ||
int32_t | thrust_i [3] | |
float | thrust_f [3] | |
int32_t | th_incr_i [3] | |
float | th_incr_f [3] | |
} | sp | |
Thrust setpoint // TODO to a setpoint header Structure to store the desired thrust vector with different format.
Definition at line 82 of file stabilization.h.
Enumerator | |
---|---|
THRUST_SP | absolute thrust setpoint |
THRUST_INCR_SP | thrust increment |
Definition at line 83 of file stabilization.h.
Enumerator | |
---|---|
THRUST_SP_INT | int is assumed to be normalized in [0:MAX_PPRZ] |
THRUST_SP_FLOAT | float is assumed to be normalized in [0.:1.] |
Definition at line 87 of file stabilization.h.
enum { ... } ThrustSetpoint::format |
union { ... } ThrustSetpoint::sp |
Referenced by guidance_module_run(), guidance_pid_v_run_accel(), guidance_v_from_nav(), guidance_v_guided_run(), th_sp_from_incr_f(), th_sp_from_incr_i(), th_sp_from_incr_vect_f(), th_sp_from_incr_vect_i(), th_sp_from_thrust_f(), th_sp_from_thrust_i(), th_sp_from_thrust_vect_f(), th_sp_from_thrust_vect_i(), and vertical_ctrl_module_run().
enum { ... } ThrustSetpoint::type |