kopia lustrzana https://github.com/cyoung/stratux
gdl90Report uses Gyro_heading.
rodzic
ba0440c49b
commit
d17e218324
|
@ -1818,11 +1818,10 @@ func makeAHRSGDL90Report() {
|
||||||
if isAHRSValid() {
|
if isAHRSValid() {
|
||||||
pitch = roundToInt16(mySituation.Pitch * 10)
|
pitch = roundToInt16(mySituation.Pitch * 10)
|
||||||
roll = roundToInt16(mySituation.Roll * 10)
|
roll = roundToInt16(mySituation.Roll * 10)
|
||||||
hdg = roundToInt16(mySituation.Gyro_heading * 10)
|
hdg = roundToInt16(mySituation.Gyro_heading * 10) // TODO westphae: switch to Mag_heading?
|
||||||
slip_skid = roundToInt16(mySituation.SlipSkid * 10)
|
slip_skid = roundToInt16(mySituation.SlipSkid * 10)
|
||||||
yaw_rate = roundToInt16(mySituation.RateOfTurn * 10)
|
yaw_rate = roundToInt16(mySituation.RateOfTurn * 10)
|
||||||
g = roundToInt16(mySituation.GLoad * 10)
|
g = roundToInt16(mySituation.GLoad * 10)
|
||||||
hdg = roundToInt16(mySituation.Mag_heading * 10)
|
|
||||||
}
|
}
|
||||||
if isTempPressValid() {
|
if isTempPressValid() {
|
||||||
palt = uint16(mySituation.Pressure_alt + 5000.5)
|
palt = uint16(mySituation.Pressure_alt + 5000.5)
|
||||||
|
|
Ładowanie…
Reference in New Issue