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.h
Go to the documentation of this file.
1 
7 #ifndef POTENTIAL_H
8 #define POTENTIAL_H
9 
10 #include "subsystems/nav.h"
12 
13 struct force_ {
14  float east;
15  float north;
16  float alt;
17  float speed;
18  float climb;
19 };
20 
21 extern struct force_ potential_force;
22 
23 extern float force_pos_gain;
24 extern float force_speed_gain;
25 extern float force_climb_gain;
26 
27 extern void potential_init(void);
28 
29 extern int potential_task(void);
30 
31 #endif /* POTENTIAL_H */
float climb
Definition: potential.h:18
float north
Definition: potential.h:15
float force_pos_gain
Definition: potential.c:26
float alt
Definition: potential.h:16
struct force_ potential_force
Definition: potential.c:24
float speed
Definition: potential.h:17
float east
Definition: potential.h:14
void potential_init(void)
Definition: potential.c:46
float force_climb_gain
Definition: potential.c:28
float force_speed_gain
Definition: potential.c:27
int potential_task(void)
Definition: potential.c:58
Information relative to the other aircrafts.