void guidance_h_module_enter(void)
Entering the horizontal module (user switched to module)
void guidance_h_module_run(bool in_flight)
Main guidance loop.
void guidance_h_module_init(void)
Initialization of horizontal guidance module.
Capture images from a V4L2 device (Video for Linux 2)
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.
int32_t theta_igain
The pitch I gain on the err_vy_int.
int8_t repulsionforce_filter_flag
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.
struct opticflow_stab_t opticflow_stab
float desired_vy
The desired velocity in the y direction (cm/s)
float err_vy_int
The integrated velocity error in y direction (m/s)
void OA_update(void)
Update the controls based on a vision result.
Paparazzi fixed point algebra.