Rev 1002 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1002 | Rev 1003 | ||
---|---|---|---|
Line 41... | Line 41... | ||
41 | "IntegralRoll ", |
41 | "IntegralRoll ", |
42 | "AccNick ", |
42 | "AccNick ", |
43 | "AccRoll ", |
43 | "AccRoll ", |
44 | "GyroGier ", |
44 | "GyroGier ", |
45 | "HoehenWert ", //5 |
45 | "HoehenWert ", //5 |
46 | "AccZ ", |
46 | "Giermischanteil ", |
47 | "Gas ", |
47 | "Gas ", |
48 | "KompassValue ", |
48 | "KompassValue ", |
49 | "Spannung ", |
49 | "Spannung ", |
50 | "Empfang ", //10 |
50 | "Mess_integ_gier ", //10 |
51 | "Ersatzkompass ", |
51 | "Ersatzkompass ", |
52 | "Motor_Vorne ", |
52 | "Motor_Vorne ", |
53 | "Motor_Hinten ", |
53 | "Motor_Hinten ", |
54 | "Motor_Links ", |
54 | "Motor_Links ", |
55 | "Motor_Rechts ", //15 |
55 | "Motor_Rechts ", //15 |
56 | " ", |
56 | " ", |
57 | "Distance ", |
- | |
58 | "OsdBar ", |
- | |
59 | "MK3Mag CalState ", |
- | |
60 | "Servo ", //20 |
- | |
61 | "Nick ", |
- | |
62 | "Roll ", |
- | |
63 | " ", |
- | |
64 | " ", |
- | |
65 | " ", //25 |
- | |
66 | " ", |
- | |
67 | " ", |
57 | " ", |
68 | " ", |
58 | " ", |
69 | " ", |
59 | " ", |
- | 60 | " ", //20 |
|
- | 61 | "Nick ", |
|
- | 62 | "Roll ", |
|
- | 63 | "debug_0 ", |
|
- | 64 | "debug_1 ", |
|
- | 65 | "debug_2 ", //25 |
|
- | 66 | "utm_east ", |
|
- | 67 | "utm_north ", |
|
- | 68 | "utm_alt ", |
|
- | 69 | "GPS_State ", |
|
70 | "GPS_Nick ", //30 |
70 | "GPS_Nick ", //30 |
71 | "GPS_Roll " |
71 | "GPS_Roll " |
72 | }; |
72 | }; |
Line 102... | Line 102... | ||
102 | static unsigned int crc; |
102 | static unsigned int crc; |
103 | static unsigned char crc1,crc2,buf_ptr; |
103 | static unsigned char crc1,crc2,buf_ptr; |
104 | static unsigned char UartState = 0; |
104 | static unsigned char UartState = 0; |
105 | unsigned char CrcOkay = 0; |
105 | unsigned char CrcOkay = 0; |
Line 106... | Line 106... | ||
106 | 106 | ||
- | 107 | SioTmp = UDR; |
|
- | 108 | //Salvo 11.9.2007 GPS Daten holen |
|
- | 109 | Get_Ublox_Msg(SioTmp); // Daten vom GPS Modul holen |
|
- | 110 | // Salvo End |
|
107 | SioTmp = UDR; |
111 | |
108 | if(buf_ptr >= MAX_EMPFANGS_BUFF) UartState = 0; |
112 | if(buf_ptr >= MAX_EMPFANGS_BUFF) UartState = 0; |
109 | if(SioTmp == '\r' && UartState == 2) |
113 | if(SioTmp == '\r' && UartState == 2) |
110 | { |
114 | { |
111 | UartState = 0; |
115 | UartState = 0; |