Paparazzi UAS  v6.2_unstable
Paparazzi is a free software Unmanned Aircraft System.
gvf_ellipse.c File Reference
#include "modules/nav/common_nav.h"
#include "gvf_ellipse.h"
#include "generated/airframe.h"
+ Include dependency graph for gvf_ellipse.c:

Go to the source code of this file.

Macros

#define GVF_ELLIPSE_KE   1
 
#define GVF_ELLIPSE_KN   1
 
#define GVF_ELLIPSE_A   80
 
#define GVF_ELLIPSE_B   80
 
#define GVF_ELLIPSE_ALPHA   0
 

Functions

void gvf_ellipse_info (float *phi, struct gvf_grad *grad, struct gvf_Hess *hess)
 

Variables

gvf_ell_par gvf_ellipse_par
 

Detailed Description

Guidance algorithm based on vector fields 2D Ellipse trajectory

Definition in file gvf_ellipse.c.

Macro Definition Documentation

◆ GVF_ELLIPSE_A

#define GVF_ELLIPSE_A   80

Default first axis for the ellipse trajectory

Definition at line 46 of file gvf_ellipse.c.

◆ GVF_ELLIPSE_ALPHA

#define GVF_ELLIPSE_ALPHA   0

Default orientation in degrees for the ellipse trajectory

Definition at line 56 of file gvf_ellipse.c.

◆ GVF_ELLIPSE_B

#define GVF_ELLIPSE_B   80

Default second axis for the ellipse trajectory

Definition at line 51 of file gvf_ellipse.c.

◆ GVF_ELLIPSE_KE

#define GVF_ELLIPSE_KE   1

Default gain ke for the ellipse trajectory

Definition at line 36 of file gvf_ellipse.c.

◆ GVF_ELLIPSE_KN

#define GVF_ELLIPSE_KN   1

Default gain kn for the ellipse trajectory

Definition at line 41 of file gvf_ellipse.c.

Function Documentation

◆ gvf_ellipse_info()

void gvf_ellipse_info ( float *  phi,
struct gvf_grad grad,
struct gvf_Hess hess 
)

Definition at line 63 of file gvf_ellipse.c.

References alpha, b, gvf_trajectory, gvf_Hess::H11, gvf_Hess::H12, gvf_Hess::H21, gvf_Hess::H22, gvf_grad::nx, gvf_grad::ny, gvf_tra::p, p, and stateGetPositionEnu_f().

Referenced by gvf_ellipse_XY().

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

Variable Documentation

◆ gvf_ellipse_par

gvf_ell_par gvf_ellipse_par
Initial value:

Definition at line 59 of file gvf_ellipse.c.

Referenced by gvf_ellipse_XY().

GVF_ELLIPSE_KN
#define GVF_ELLIPSE_KN
Definition: gvf_ellipse.c:41
GVF_ELLIPSE_B
#define GVF_ELLIPSE_B
Definition: gvf_ellipse.c:51
GVF_ELLIPSE_A
#define GVF_ELLIPSE_A
Definition: gvf_ellipse.c:46
GVF_ELLIPSE_KE
#define GVF_ELLIPSE_KE
Definition: gvf_ellipse.c:36
GVF_ELLIPSE_ALPHA
#define GVF_ELLIPSE_ALPHA
Definition: gvf_ellipse.c:56