Rev 52 | Rev 62 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 52 | Rev 61 | ||
---|---|---|---|
Line 598... | Line 598... | ||
598 | NaviData.TargetPositionDeviation.Distance = TargetDeviation.Distance; |
598 | NaviData.TargetPositionDeviation.Distance = TargetDeviation.Distance; |
599 | NaviData.TargetPositionDeviation.Bearing = TargetDeviation.Bearing; |
599 | NaviData.TargetPositionDeviation.Bearing = TargetDeviation.Bearing; |
600 | NaviData.UBat = FC.UBat; |
600 | NaviData.UBat = FC.UBat; |
601 | NaviData.GroundSpeed = (u16)GPSData.Speed_Ground; |
601 | NaviData.GroundSpeed = (u16)GPSData.Speed_Ground; |
602 | NaviData.Heading = (s16)GPSData.Heading; |
602 | NaviData.Heading = (s16)GPSData.Heading; |
603 | NaviData.CompassHeading = (s16)FromFlightCtrl.GyroHeading; |
603 | NaviData.CompassHeading = (s16)FromFlightCtrl.GyroHeading / 10; |
604 | NaviData.AngleNick = FromFlightCtrl.IntegralNick / 10; |
604 | NaviData.AngleNick = FromFlightCtrl.IntegralNick / 10; |
605 | NaviData.AngleRoll = FromFlightCtrl.IntegralRoll / 10; |
605 | NaviData.AngleRoll = FromFlightCtrl.IntegralRoll / 10; |
606 | NaviData.RC_Quality = (u8) FC.RC_Quality; |
606 | NaviData.RC_Quality = (u8) FC.RC_Quality; |
607 | NaviData.MKFlags = (u8)FC.MKFlags; |
607 | NaviData.MKFlags = (u8)FC.MKFlags; |