[6.7.0][调试面板] 添加自车视角调整入口

This commit is contained in:
renwj
2024-10-21 15:23:26 +08:00
parent e0060e3b30
commit 868936b0d6
10 changed files with 324 additions and 2 deletions

View File

@@ -19,6 +19,7 @@ import com.mogo.eagle.core.function.api.map.angle.ScreenToOriginDis.DOWN
import com.mogo.eagle.core.function.api.map.angle.ScreenToOriginDis.UP
import com.mogo.eagle.core.function.api.map.road.IMoGoMapRoadListener
import com.mogo.eagle.core.function.call.autopilot.*
import com.mogo.eagle.core.function.call.hmi.CallerHmiManager
import com.mogo.eagle.core.function.call.map.*
import com.mogo.eagle.core.utilcode.kotlin.*
import com.zhidaoauto.map.data.road.RoadCross
@@ -150,6 +151,9 @@ class MoGoVisualAngleChangeProvider: IMoGoVisualAngleChangeProvider {
private var prevJob: Job? = null
override fun changeScene(scene: Scene) {
if (CallerHmiManager.isHdMapVisualAngleAdjustShow()) {
return
}
prevJob?.safeCancel()
scope.launch {
val delay = scene.getDelay()