Subversion Repositories FlightCtrl

Rev

Rev 1856 | Rev 1861 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1856 Rev 1857
Line 330... Line 330...
330
                        GPSInfo.Speed = FromNaviCtrl.Param.Byte[3];
330
                        GPSInfo.Speed = FromNaviCtrl.Param.Byte[3];
331
                        GPSInfo.HomeDistance = FromNaviCtrl.Param.Int[2];
331
                        GPSInfo.HomeDistance = FromNaviCtrl.Param.Int[2];
332
                        GPSInfo.HomeBearing = FromNaviCtrl.Param.sInt[3];
332
                        GPSInfo.HomeBearing = FromNaviCtrl.Param.sInt[3];
333
                        PPM_in[25] = (signed char) FromNaviCtrl.Param.Byte[8]; // WP_EVENT-Channel-Value
333
                        PPM_in[25] = (signed char) FromNaviCtrl.Param.Byte[8]; // WP_EVENT-Channel-Value
334
            FromNC_AltitudeSpeed = FromNaviCtrl.Param.Byte[9];
334
            FromNC_AltitudeSpeed = FromNaviCtrl.Param.Byte[9];
335
                FromNC_AltitudeSetpoint = (long) FromNaviCtrl.Param.sInt[5] * 10;
335
                FromNC_AltitudeSetpoint = (long) FromNaviCtrl.Param.sInt[5] * 10;  // in cm
336
DebugOut.Analog[16] = FromNC_AltitudeSpeed;
336
DebugOut.Analog[16] = FromNC_AltitudeSpeed;
337
DebugOut.Analog[17] = FromNC_AltitudeSetpoint;
337
DebugOut.Analog[17] = FromNC_AltitudeSetpoint;
338
DebugOut.Analog[24] = SollHoehe/5;
338
DebugOut.Analog[24] = SollHoehe/5;
339
                        break;
339
                        break;
340
// 0 = 0,1
340
// 0 = 0,1