[6.5.0][视角切换] 优化视角切换逻辑

This commit is contained in:
renwj
2024-07-22 13:54:40 +08:00
parent f8e9b81f0e
commit 81185b9ee9

View File

@@ -59,7 +59,7 @@ class MoGoVisualAngleChangeProvider: IMoGoVisualAngleChangeProvider {
val loc = CallerChassisLocationWGS84ListenerManager.getChassisLocationWGS84()
var triggerClose = false
var distance = distanceOfCarToStopLine.get()
if (hasCrossRoad && distance > 0) {
if (hasCrossRoad && distance >= 0) {
distance += 5.0
val prev = triggerLocation.get()
if (prev != null) {