Rev 1 | Rev 1072 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1 | Rev 805 | ||
---|---|---|---|
1 | // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
1 | // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
2 | // + Copyright (c) 04.2007 Holger Buss |
2 | // + Copyright (c) 04.2007 Holger Buss |
3 | // + only for non-profit use |
3 | // + only for non-profit use |
4 | // + www.MikroKopter.com |
4 | // + www.MikroKopter.com |
5 | // + see the File "License.txt" for further Informations |
5 | // + see the File "License.txt" for further Informations |
6 | // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
6 | // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
7 | #include "main.h" |
7 | #include "main.h" |
8 | 8 | ||
9 | signed int GPS_Nick = 0; |
9 | signed int GPS_Nick = 0; |
10 | signed int GPS_Roll = 0; |
10 | signed int GPS_Roll = 0; |
- | 11 | signed int GPS_Nick2 = 0; |
|
- | 12 | signed int GPS_Roll2 = 0; |
|
11 | long GpsAktuell_X = 0; |
13 | long GpsAktuell_X = 0; |
12 | long GpsAktuell_Y = 0; |
14 | long GpsAktuell_Y = 0; |
13 | long GpsZiel_X = 0; |
15 | long GpsZiel_X = 0; |
14 | long GpsZiel_Y = 0; |
16 | long GpsZiel_Y = 0; |
15 | 17 | ||
16 | void GPS_Neutral(void) |
18 | void GPS_Neutral(void) |
17 | { |
19 | { |
18 | GpsZiel_X = GpsAktuell_X; |
20 | GpsZiel_X = GpsAktuell_X; |
19 | GpsZiel_Y = GpsAktuell_Y; |
21 | GpsZiel_Y = GpsAktuell_Y; |
20 | } |
22 | } |
21 | 23 | ||
22 | void GPS_BerechneZielrichtung(void) |
24 | void GPS_BerechneZielrichtung(void) |
23 | { |
25 | { |
24 | GPS_Nick = 0; |
26 | GPS_Nick = 0; |
25 | GPS_Roll = 0; |
27 | GPS_Roll = 0; |
26 | } |
28 | } |
27 | 29 | ||
28 | 30 | ||
29 | 31 | ||
30 | 32 | ||
31 | 33 |