|
Paparazzi UAS
v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
|
Go to the documentation of this file.
29 #include "generated/airframe.h"
35 #ifndef VERTICAL_CTRL_MODULE_AGL_ID
36 #define VERTICAL_CTRL_MODULE_AGL_ID ABI_BROADCAST
40 #ifndef VERTICAL_CTRL_MODULE_PGAIN
41 #define VERTICAL_CTRL_MODULE_PGAIN 1.0
44 #ifndef VERTICAL_CTRL_MODULE_IGAIN
45 #define VERTICAL_CTRL_MODULE_IGAIN 0.01
void guidance_v_module_run(bool in_flight)
static abi_event agl_ev
The altitude ABI event.
void guidance_v_module_enter(void)
Entering the vertical module (user switched to module)
Event structure to store callbacks in a linked list.
static void vertical_ctrl_agl_cb(uint8_t sender_id, uint32_t stamp, float distance)
Callback function of the ground altitude.
#define VERTICAL_CTRL_MODULE_PGAIN
void vertical_ctrl_module_run(bool in_flight)
struct VerticalCtrlDemo v_ctrl
void guidance_v_module_init(void)
void vertical_ctrl_module_init(void)
int32_t stabilization_cmd[COMMANDS_NB]
Stabilization commands.
#define VERTICAL_CTRL_MODULE_IGAIN
#define VERTICAL_CTRL_MODULE_AGL_ID