Merge branch 'ahrs_dev' into ahrs_dev_protocolfun

adsbexchange
root 2017-06-05 20:41:03 +00:00
commit 11e09dcf5b
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -1862,7 +1862,7 @@ func makeAHRSGDL90Report() {
if isAHRSInvalidValue(mySituation.AHRSGyroHeading) { if isAHRSInvalidValue(mySituation.AHRSGyroHeading) {
hdg = roundToInt16(mySituation.AHRSGyroHeading * 10) // TODO westphae: switch to AHRSMagHeading? hdg = roundToInt16(mySituation.AHRSGyroHeading * 10) // TODO westphae: switch to AHRSMagHeading?
} else { } else {
hdg = rountToInt16(mySituation.GPSTrueCourse) hdg = roundToInt16(mySituation.GPSTrueCourse)
} }
if !isAHRSInvalidValue(mySituation.AHRSSlipSkid) { if !isAHRSInvalidValue(mySituation.AHRSSlipSkid) {
slip_skid = roundToInt16(-mySituation.AHRSSlipSkid * 10) slip_skid = roundToInt16(-mySituation.AHRSSlipSkid * 10)