mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-13 15:45:42 +08:00
Fixed missing ground speed interpolation in CInterpolatorLinear
This commit is contained in:
@@ -98,6 +98,10 @@ namespace BlackCore
|
|||||||
+ headingBegin,
|
+ headingBegin,
|
||||||
headingBegin.getReferenceNorth()));
|
headingBegin.getReferenceNorth()));
|
||||||
|
|
||||||
|
currentSituation.setGroundspeed((endSituation.getGroundSpeed() - beginSituation.getGroundSpeed())
|
||||||
|
* simulationTime
|
||||||
|
+ beginSituation.getGroundSpeed());
|
||||||
|
|
||||||
return currentSituation;
|
return currentSituation;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user