mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-09-04 22:27:53 -04:00
Use Mode S roll data rather than estimated for map.
This commit is contained in:
parent
c50097e420
commit
d988aab950
@ -1372,7 +1372,11 @@ void ADSBDemodGUI::sendToMap(Aircraft *aircraft, QList<SWGSDRangel::SWGMapAnimat
|
||||
swgMapItem->setOrientation(1);
|
||||
swgMapItem->setHeading(aircraft->m_track);
|
||||
swgMapItem->setPitch(aircraft->m_pitchEst);
|
||||
swgMapItem->setRoll(aircraft->m_rollEst);
|
||||
if (aircraft->m_rollValid) {
|
||||
swgMapItem->setRoll(aircraft->m_roll);
|
||||
} else {
|
||||
swgMapItem->setRoll(aircraft->m_rollEst);
|
||||
}
|
||||
swgMapItem->setOrientationDateTime(new QString(aircraft->m_positionDateTime.toString(Qt::ISODateWithMs)));
|
||||
}
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user