mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-03 15:45:46 +08:00
Ref T773, use correct transfer, avoid continously transferring because of wrong coordinates
* do not use own situation as reference for ground plane, but original coordinates of ground elv. position * some functions renamed
This commit is contained in:
committed by
Mat Sutcliffe
parent
08186e6559
commit
acd5ee5a3c
@@ -233,7 +233,7 @@ namespace BlackMisc
|
||||
{
|
||||
// we still have no elevation
|
||||
const CLength radius = currentSituation.getDistancePerTime250ms(CElevationPlane::singlePointRadius());
|
||||
if (!m_lastSituation.transferGroundElevationFromThis(currentSituation, radius))
|
||||
if (!m_lastSituation.transferGroundElevationFromMe(currentSituation, radius))
|
||||
{
|
||||
if (currentSituation.canLikelySkipNearGroundInterpolation())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user