1
0
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:
srcejon 2025-06-09 10:13:15 +01:00
parent c50097e420
commit d988aab950

View File

@ -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