[6.7.0][调试面板] 添加自车视角调整入口
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user