Paparazzi UAS
v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
Optical-flow based control for Linux based systems. More...
Go to the source code of this file.
Data Structures | |
struct | opticflow_stab_t |
Functions | |
void | guidance_opticflow_hover_init (void) |
Initialization of horizontal guidance module. More... | |
void | guidance_module_enter (void) |
Entering the module (user switched to module) More... | |
void | guidance_module_run (bool in_flight) |
Main guidance loop. More... | |
Variables | |
struct opticflow_stab_t | opticflow_stab |
Optical-flow based control for Linux based systems.
Control loops for optic flow based hovering. Computes setpoint for the lower level attitude stabilization to control horizontal velocity.
Definition in file guidance_opticflow_hover.h.
struct opticflow_stab_t |
Definition at line 37 of file guidance_opticflow_hover.h.
Data Fields | ||
---|---|---|
struct Int32Eulers | cmd | The commands that are send to the hover loop. |
float | desired_vx | The desired velocity in the x direction (cm/s) |
float | desired_vy | The desired velocity in the y direction (cm/s) |
float | err_vx_int | The integrated velocity error in x direction (m/s) |
float | err_vy_int | The integrated velocity error in y direction (m/s) |
int32_t | phi_igain | The roll I gain on the err_vx_int. |
int32_t | phi_pgain | The roll P gain on the err_vx. |
int32_t | theta_igain | The pitch I gain on the err_vy_int. |
int32_t | theta_pgain | The pitch P gain on the err_vy. |
void guidance_module_enter | ( | void | ) |
Entering the module (user switched to module)
Entering the module (user switched to module)
Definition at line 77 of file ctrl_module_innerloop_demo.c.
void guidance_module_run | ( | bool | in_flight | ) |
Main guidance loop.
[in] | in_flight | Whether we are in flight or not |
Definition at line 82 of file ctrl_module_innerloop_demo.c.
void guidance_opticflow_hover_init | ( | void | ) |
Initialization of horizontal guidance module.
Definition at line 105 of file guidance_opticflow_hover.c.
References stabilization_opticflow_vel_cb(), velocity_est_ev, and VISION_VELOCITY_ESTIMATE_ID.
|
extern |
Definition at line 87 of file guidance_opticflow_hover.c.