Subversion Repositories FlightCtrl

Rev

Rev 683 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 683 Rev 701
Line 4... Line 4...
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"
Line 8... Line 8...
8
 
8
 
9
signed int GPS_Nick = 0;
9
signed int GPS_Pitch = 0;
10
signed int GPS_Roll = 0;
10
signed int GPS_Roll = 0;
11
long GpsAktuell_X = 0;
11
long GpsReading_X = 0;
12
long GpsAktuell_Y = 0;
12
long GpsReading_Y = 0;
13
long GpsZiel_X = 0;
13
long GpsTarget_X = 0;
14
long GpsZiel_Y = 0;
14
long GpsTarget_Y = 0;
15
 
15
 
16
void GPS_Neutral(void)
16
void GPS_Neutral(void)
17
{
17
{
18
 GpsZiel_X = GpsAktuell_X;
18
 GpsTarget_X = GpsReading_X;
19
 GpsZiel_Y = GpsAktuell_Y;
19
 GpsTarget_Y = GpsReading_Y;
Line 20... Line 20...
20
}
20
}
21
 
21
 
22
void GPS_BerechneZielrichtung(void)
22
void GPS_CalcTargetDirection(void)
23
{
23
{
24
 GPS_Nick = 0;
24
 GPS_Pitch = 0;