Paparazzi UAS v7.1_unstable
Paparazzi is a free software Unmanned Aircraft System.
Loading...
Searching...
No Matches
gvf_common.h File Reference
#include "std.h"
Include dependency graph for gvf_common.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  gvf_common_state
struct  gvf_common_ctrl
struct  gvf_common_info
struct  gvf_common_params

Macros

#define GVF_GRAVITY   9.806

Functions

void gvf_low_level_getState (void)
void gvf_low_level_control_2D (float omega)
void gvf_low_level_control_3D (float heading_rate, float climbing_rate)
bool gvf_nav_approaching (float wp_x, float wp_y, float from_x, float from_y, float t)

Variables

gvf_common_state gvf_c_state
gvf_common_ctrl gvf_c_ctrl
gvf_common_info gvf_c_info
gvf_common_params gvf_c_params

Data Structure Documentation

◆ gvf_common_state

struct gvf_common_state

Definition at line 61 of file gvf_common.h.

Data Fields
float course
float px
float px_dot
float py
float py_dot

◆ gvf_common_ctrl

struct gvf_common_ctrl

Definition at line 73 of file gvf_common.h.

Data Fields
float omega

◆ gvf_common_info

struct gvf_common_info

Definition at line 82 of file gvf_common.h.

Data Fields
float kappa
float ori_err

◆ gvf_common_params

struct gvf_common_params

Definition at line 92 of file gvf_common.h.

Data Fields
float k_climb
float k_roll

Macro Definition Documentation

◆ GVF_GRAVITY

#define GVF_GRAVITY   9.806

Definition at line 54 of file gvf_common.h.

Referenced by gvf_low_level_control_2D(), and gvf_low_level_control_3D().

Function Documentation

◆ gvf_low_level_control_2D()

void gvf_low_level_control_2D ( float omega)
extern

◆ gvf_low_level_control_3D()

◆ gvf_low_level_getState()

void gvf_low_level_getState ( void )
extern

Definition at line 37 of file gvf_common.c.

References ground_speed, gvf_c_state, FloatEulers::psi, stateGetHorizontalSpeedDir_f(), stateGetHorizontalSpeedNorm_f(), stateGetNedToBodyEulers_f(), stateGetPositionEnu_f(), stateGetSpeedEnu_f(), EnuCoor_f::x, and EnuCoor_f::y.

Referenced by gvf_control_2D(), and gvf_ik_control_2D().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ gvf_nav_approaching()

bool gvf_nav_approaching ( float wp_x,
float wp_y,
float from_x,
float from_y,
float t )
extern

Definition at line 106 of file gvf_common.c.

References nav, nav_approaching_xy(), EnuCoor_f::x, and EnuCoor_f::y.

Here is the call graph for this function:

Variable Documentation

◆ gvf_c_ctrl

gvf_common_ctrl gvf_c_ctrl
extern

Definition at line 28 of file gvf_common.c.

Referenced by gvf_low_level_control_2D(), and gvf_parametric_control_2D().

◆ gvf_c_info

gvf_common_info gvf_c_info
extern

Definition at line 29 of file gvf_common.c.

Referenced by gvf_control_2D(), gvf_ik_control_2D(), and gvf_parametric_control_2D().

◆ gvf_c_params

gvf_common_params gvf_c_params
extern

◆ gvf_c_state

gvf_common_state gvf_c_state
extern

Definition at line 33 of file gvf_common.c.

Referenced by gvf_control_2D(), gvf_ik_control_2D(), and gvf_low_level_getState().