Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1 | ingob | 1 | // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
2 | // + Copyright (c) 04.2007 Holger Buss |
||
3 | // + only for non-profit use |
||
4 | // + www.MikroKopter.com |
||
5 | // + see the File "License.txt" for further Informations |
||
6 | // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
||
7 | #include "main.h" |
||
8 | |||
701 | killagreg | 9 | signed int GPS_Pitch = 0; |
1 | ingob | 10 | signed int GPS_Roll = 0; |
701 | killagreg | 11 | long GpsReading_X = 0; |
12 | long GpsReading_Y = 0; |
||
13 | long GpsTarget_X = 0; |
||
14 | long GpsTarget_Y = 0; |
||
15 | |||
1 | ingob | 16 | void GPS_Neutral(void) |
17 | { |
||
701 | killagreg | 18 | GpsTarget_X = GpsReading_X; |
19 | GpsTarget_Y = GpsReading_Y; |
||
1 | ingob | 20 | } |
21 | |||
701 | killagreg | 22 | void GPS_CalcTargetDirection(void) |
1 | ingob | 23 | { |
701 | killagreg | 24 | GPS_Pitch = 0; |
1 | ingob | 25 | GPS_Roll = 0; |
26 | } |
||
27 | |||
28 | |||
29 | |||
30 |