From: Markus Wanner Date: Mon, 28 Dec 2020 09:42:58 +0100 Subject: Revert test_gps.cxx to the last known working version Revert all changes to test_gps.cxx between 2020.5.4 and 2020.5.5 due to the missing method pointAlongRouteNorm. This patch should be removed again once upstream fixes this. --- test_suite/unit_tests/Instrumentation/test_gps.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test_suite/unit_tests/Instrumentation/test_gps.cxx b/test_suite/unit_tests/Instrumentation/test_gps.cxx index 43d9278..cc9597d 100644 --- a/test_suite/unit_tests/Instrumentation/test_gps.cxx +++ b/test_suite/unit_tests/Instrumentation/test_gps.cxx @@ -1728,9 +1728,10 @@ void GPSTests::testCourseLegIntermediateWaypoint() SGGeod decelPos = fp->pointAlongRoute(2, -15.0); fp->insertWayptAtIndex(new BasicWaypt(decelPos, "DECEL", fp), 2); - fp->setCurrentIndex(2); // DECEL + fp->setCurrentIndex(3); // BLACA - SGGeod initPos = fp->pointAlongRouteNorm(1, 0.1); + // position halfway between EGAA and EGPF + SGGeod initPos = fp->pointAlongRoute(2, -5); FGTestApi::setPositionAndStabilise(initPos); auto gpsNode = globals->get_props()->getNode("instrumentation/gps");