Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
potential.c File Reference
#include <math.h>
#include "modules/datalink/downlink.h"
#include "pprzlink/dl_protocol.h"
#include "potential.h"
#include "state.h"
#include "firmwares/fixedwing/stabilization/stabilization_attitude.h"
#include "firmwares/fixedwing/guidance/guidance_v.h"
#include "autopilot.h"
#include "modules/gps/gps.h"
#include "generated/airframe.h"
+ Include dependency graph for potential.c:

Go to the source code of this file.

Macros

#define POTENTIAL_C
 
#define FORCE_POS_GAIN   1.
 
#define FORCE_SPEED_GAIN   1.
 
#define FORCE_CLIMB_GAIN   1.
 
#define FORCE_MAX_DIST   100.
 

Functions

void potential_init (void)
 
int potential_task (void)
 

Variables

struct force_ potential_force
 
float force_pos_gain
 
float force_speed_gain
 
float force_climb_gain
 

Macro Definition Documentation

◆ FORCE_CLIMB_GAIN

#define FORCE_CLIMB_GAIN   1.

Definition at line 36 of file potential.c.

◆ FORCE_MAX_DIST

#define FORCE_MAX_DIST   100.

Definition at line 40 of file potential.c.

◆ FORCE_POS_GAIN

#define FORCE_POS_GAIN   1.

Definition at line 28 of file potential.c.

◆ FORCE_SPEED_GAIN

#define FORCE_SPEED_GAIN   1.

Definition at line 32 of file potential.c.

◆ POTENTIAL_C

#define POTENTIAL_C

Definition at line 4 of file potential.c.

Function Documentation

◆ potential_init()

◆ potential_task()

Variable Documentation

◆ force_climb_gain

float force_climb_gain

Definition at line 25 of file potential.c.

Referenced by potential_init(), and potential_task().

◆ force_pos_gain

float force_pos_gain

Definition at line 23 of file potential.c.

Referenced by potential_init(), and potential_task().

◆ force_speed_gain

float force_speed_gain

Definition at line 24 of file potential.c.

Referenced by potential_init(), and potential_task().

◆ potential_force

struct force_ potential_force

Definition at line 1 of file potential.c.

Referenced by potential_init(), and potential_task().