kopia lustrzana https://github.com/cyoung/stratux
Merge branch 'ahrs_dev' into ahrs_dev_protocolfun
commit
11e09dcf5b
|
@ -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)
|
||||||
|
|
Ładowanie…
Reference in New Issue