30 #ifndef GUIDANCE_OPTICFLOW_HOVER_H_
31 #define GUIDANCE_OPTICFLOW_HOVER_H_
struct opticflow_stab_t opticflow_stab
void guidance_h_module_read_rc(void)
Read the RC commands.
float err_vx_int
The integrated velocity error in x direction (m/s)
float desired_vx
The desired velocity in the x direction (cm/s)
int32_t phi_pgain
The roll P gain on the err_vx.
int32_t theta_pgain
The pitch P gain on the err_vy.
void guidance_h_module_enter(void)
Horizontal guidance mode enter resets the errors and starts the controller.
int32_t theta_igain
The pitch I gain on the err_vy_int.
struct Int32Eulers cmd
The commands that are send to the hover loop.
int32_t phi_igain
The roll I gain on the err_vx_int.
void guidance_h_module_run(bool in_flight)
Main guidance loop.
float desired_vy
The desired velocity in the y direction (cm/s)
void guidance_h_module_init(void)
Initialization of horizontal guidance module.
float err_vy_int
The integrated velocity error in y direction (m/s)
Paparazzi fixed point algebra.