Subversion Repositories FlightCtrl

Rev

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

Rev 528 Rev 542
Line 3... Line 3...
3
// Definitionen fuer Modul GPS
3
// Definitionen fuer Modul GPS
4
// Stand 12.10.007
4
// Stand 12.10.007
5
// ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
5
// ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
6
extern signed int GPS_Nick;
6
extern signed int GPS_Nick;
7
extern signed int GPS_Roll;
7
extern signed int GPS_Roll;
-
 
8
extern signed int GPS_dist_2trgt; //vorzeichenlose Distanz zum Ziel 
-
 
9
extern signed int GPS_hdng_rel_2trgt; //Winkel zum Ziel bezogen auf Nordachse des Kopters
-
 
10
 
8
extern void GPS_Neutral(void);
11
extern void GPS_Neutral(void);
Line 9... Line 12...
9
 
12
 
10
extern void Get_Ublox_Msg(uint8_t  rx) ;
13
extern void Get_Ublox_Msg(uint8_t  rx) ;
11
//extern short int Get_GPS_data(void);
14
//extern short int Get_GPS_data(void);
Line 82... Line 85...
82
 
85
 
83
//nur provisorisch fuer Debugausgaben
86
//nur provisorisch fuer Debugausgaben
84
extern signed           hdng_2home,dist_2home; //Richtung und Entfernung zur home Position 
87
extern signed           hdng_2home,dist_2home; //Richtung und Entfernung zur home Position 
Line -... Line 88...
-
 
88
extern long int         dist_flown;
-
 
89
 
-
 
90
 
-
 
91
#define GPS_USR_PAR_FKT 8       //Faktor durch den die Userparameter getielt werden
85
extern long int         dist_flown;
92
 
86
 
93
 
87
// Zustaende der zentralen GPS statemachine
94
// Zustaende der zentralen GPS statemachine
88
#define GPS_CRTL_IDLE                           0   // 
95
#define GPS_CRTL_IDLE                           0   // 
89
#define GPS_CRTL_HOLD_ACTIVE            1       //  Lageregelung aktiv
96
#define GPS_CRTL_HOLD_ACTIVE            1       //  Lageregelung aktiv