Rev 73 | Rev 81 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 73 | Rev 74 | ||
---|---|---|---|
Line 640... | Line 640... | ||
640 | NaviData.TargetPositionDeviation.Bearing = CurrentTargetDeviation.Bearing; |
640 | NaviData.TargetPositionDeviation.Bearing = CurrentTargetDeviation.Bearing; |
641 | NaviData.HomePositionDeviation.Distance = CurrentHomeDeviation.Distance; |
641 | NaviData.HomePositionDeviation.Distance = CurrentHomeDeviation.Distance; |
642 | NaviData.HomePositionDeviation.Bearing = CurrentHomeDeviation.Bearing; |
642 | NaviData.HomePositionDeviation.Bearing = CurrentHomeDeviation.Bearing; |
643 | NaviData.UBat = FC.UBat; |
643 | NaviData.UBat = FC.UBat; |
644 | NaviData.GroundSpeed = (u16)GPSData.Speed_Ground; |
644 | NaviData.GroundSpeed = (u16)GPSData.Speed_Ground; |
645 | NaviData.Heading = (s16)GPSData.Heading; |
645 | NaviData.Heading = (s16)(GPSData.Heading/100000L); |
646 | NaviData.CompassHeading = (s16)FromFlightCtrl.GyroHeading/10; // in deg |
646 | NaviData.CompassHeading = (s16)FromFlightCtrl.GyroHeading/10; // in deg |
647 | NaviData.AngleNick = FromFlightCtrl.AngleNick / 10; // in deg |
647 | NaviData.AngleNick = FromFlightCtrl.AngleNick / 10; // in deg |
648 | NaviData.AngleRoll = FromFlightCtrl.AngleRoll / 10; // in deg |
648 | NaviData.AngleRoll = FromFlightCtrl.AngleRoll / 10; // in deg |
649 | NaviData.RC_Quality = (u8) FC.RC_Quality; |
649 | NaviData.RC_Quality = (u8) FC.RC_Quality; |
650 | NaviData.MKFlags = (u8)FC.MKFlags; |
650 | NaviData.MKFlags = (u8)FC.MKFlags; |