From 00584fc0439f278fe3b452e0d52355aa755f75a3 Mon Sep 17 00:00:00 2001 From: Alexander Barthel Date: Sat, 17 Aug 2019 17:15:11 +0200 Subject: [PATCH] Changed track and heading in debug airplane simulation. --- src/fs/sc/simconnectdata.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/fs/sc/simconnectdata.cpp b/src/fs/sc/simconnectdata.cpp index f1e098c0..682bae2c 100644 --- a/src/fs/sc/simconnectdata.cpp +++ b/src/fs/sc/simconnectdata.cpp @@ -188,8 +188,10 @@ SimConnectData SimConnectData::buildDebugForPosition(const geo::Pos& pos, const data.userAircraft.groundSpeedKts = data.userAircraft.indicatedSpeedKts = data.userAircraft.trueAirspeedKts = tas; } - data.userAircraft.trackMagDeg = data.userAircraft.trackTrueDeg = h; - data.userAircraft.headingMagDeg = data.userAircraft.headingTrueDeg = atools::geo::normalizeCourse(h + 20.f); + data.userAircraft.trackMagDeg = atools::geo::normalizeCourse(h + 20.f); + data.userAircraft.trackTrueDeg = atools::geo::normalizeCourse(h + 25.f); + data.userAircraft.headingMagDeg = atools::geo::normalizeCourse(h + 10.f); + data.userAircraft.headingTrueDeg = atools::geo::normalizeCourse(h + 15.f); data.userAircraft.structuralIcePercent = ice; data.userAircraft.category = AIRPLANE;