Rev 2369 | Rev 2380 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2369 | Rev 2373 | ||
---|---|---|---|
Line 192... | Line 192... | ||
192 | // +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
192 | // +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
193 | // Debugwerte zuordnen |
193 | // Debugwerte zuordnen |
194 | // +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
194 | // +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
195 | void CopyDebugValues(void) |
195 | void CopyDebugValues(void) |
196 | { |
196 | { |
197 | DebugOut.Analog[0] = IntegralNick / (EE_Parameter.GyroAccFaktor * 4); |
197 | DebugOut.Analog[0] = ToNaviCtrl.IntegralNick;//IntegralNick / (EE_Parameter.GyroAccFaktor * 4); |
198 | DebugOut.Analog[1] = IntegralRoll / (EE_Parameter.GyroAccFaktor * 4); |
198 | DebugOut.Analog[1] = ToNaviCtrl.IntegralRoll;//IntegralRoll / (EE_Parameter.GyroAccFaktor * 4); |
199 | DebugOut.Analog[2] = Mittelwert_AccNick / 4; |
199 | DebugOut.Analog[2] = Mittelwert_AccNick / 4; |
200 | DebugOut.Analog[3] = Mittelwert_AccRoll / 4; |
200 | DebugOut.Analog[3] = Mittelwert_AccRoll / 4; |
201 | DebugOut.Analog[4] = (signed int) AdNeutralGier - AdWertGier; |
201 | DebugOut.Analog[4] = (signed int) AdNeutralGier - AdWertGier; |
202 | DebugOut.Analog[5] = HoehenWert/10; |
202 | DebugOut.Analog[5] = HoehenWert/10; |
203 | DebugOut.Analog[6] = Aktuell_az;//AdWertAccHoch;//(Mess_Integral_Hoch / 512); |
203 | DebugOut.Analog[6] = Aktuell_az;//AdWertAccHoch;//(Mess_Integral_Hoch / 512); |
Line 217... | Line 217... | ||
217 | DebugOut.Analog[27] = KompassSollWert; |
217 | DebugOut.Analog[27] = KompassSollWert; |
218 | DebugOut.Analog[29] = Capacity.MinOfMaxPWM; |
218 | DebugOut.Analog[29] = Capacity.MinOfMaxPWM; |
219 | DebugOut.Analog[30] = GPS_Nick; |
219 | DebugOut.Analog[30] = GPS_Nick; |
220 | DebugOut.Analog[31] = GPS_Roll; |
220 | DebugOut.Analog[31] = GPS_Roll; |
221 | if(VersionInfo.HardwareError[0] || VersionInfo.HardwareError[1]) DebugOut.Status[1] |= 1; else DebugOut.Status[1] &= 0xfe; |
221 | if(VersionInfo.HardwareError[0] || VersionInfo.HardwareError[1]) DebugOut.Status[1] |= 1; else DebugOut.Status[1] &= 0xfe; |
- | 222 | //DebugOut.Analog[16] = MinBlTemperture; |
|
- | 223 | //DebugOut.Analog[17] = MaxBlTemperture; |
|
222 | //DebugOut.Analog[16] = Variance; |
224 | //DebugOut.Analog[16] = Variance; |
223 | //DebugOut.Analog[17] = VarioMeter; |
225 | //DebugOut.Analog[17] = VarioMeter; |
224 | //DebugOut.Analog[16] = GasIsZeroCnt; |
226 | //DebugOut.Analog[16] = GasIsZeroCnt; |
225 | //DebugOut.Analog[18] = HoehenWertF; |
227 | //DebugOut.Analog[18] = HoehenWertF; |
226 | //DebugOut.Analog[25] = Parameter_Hoehe_P; |
228 | //DebugOut.Analog[25] = Parameter_Hoehe_P; |
Line 426... | Line 428... | ||
426 | ACC_AltitudeFusion(2); // initalisation |
428 | ACC_AltitudeFusion(2); // initalisation |
427 | #endif |
429 | #endif |
428 | StartLuftdruck = Luftdruck; |
430 | StartLuftdruck = Luftdruck; |
429 | VarioMeter = 0; |
431 | VarioMeter = 0; |
430 | SummenHoehe = 0; Mess_Integral_Hoch = 0; |
432 | SummenHoehe = 0; Mess_Integral_Hoch = 0; |
- | 433 | DebugOut.Analog[28] = 0; // I2C-Counter |
|
431 | CalcExpandBaroStep(); |
434 | CalcExpandBaroStep(); |
432 | return(sucess); |
435 | return(sucess); |
433 | } |
436 | } |