Paparazzi UAS  v5.0.5_stable-7-g4b8bbb7
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
potential.c File Reference
#include <math.h>
#include "subsystems/datalink/downlink.h"
#include "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 "subsystems/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 DOWNLINK_DEVICE   DOWNLINK_AP_DEVICE
 
#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

#define DOWNLINK_DEVICE   DOWNLINK_AP_DEVICE

Definition at line 9 of file potential.c.

#define FORCE_CLIMB_GAIN   1.

Definition at line 39 of file potential.c.

Referenced by potential_init().

#define FORCE_MAX_DIST   100.

Definition at line 43 of file potential.c.

Referenced by potential_task().

#define FORCE_POS_GAIN   1.

Definition at line 31 of file potential.c.

Referenced by potential_init().

#define FORCE_SPEED_GAIN   1.

Definition at line 35 of file potential.c.

Referenced by potential_init().

#define POTENTIAL_C

Definition at line 4 of file potential.c.

Function Documentation

Variable Documentation

float force_climb_gain

Definition at line 28 of file potential.c.

Referenced by potential_init(), and potential_task().

float force_pos_gain

Definition at line 26 of file potential.c.

Referenced by potential_init(), and potential_task().

float force_speed_gain

Definition at line 27 of file potential.c.

Referenced by potential_init(), and potential_task().

struct force_ potential_force

Definition at line 24 of file potential.c.

Referenced by potential_init(), and potential_task().