Paparazzi UAS  v5.12_stable-4-g9b43e9b
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces 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 
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 north
Definition: potential.h:15
float climb
Definition: potential.h:18
float force_pos_gain
Definition: potential.c:23
float alt
Definition: potential.h:16
struct force_ potential_force
Definition: potential.c:21
void potential_init(void)
Definition: potential.c:43
float force_climb_gain
Definition: potential.c:25
float force_speed_gain
Definition: potential.c:24
float speed
Definition: potential.h:17
int potential_task(void)
Definition: potential.c:58
float east
Definition: potential.h:14