rebase problem and renote the traffic light code ,wait to know origin logic
This commit is contained in:
@@ -22,11 +22,11 @@ class TrafficLightHMIManager {
|
||||
}
|
||||
|
||||
fun updateTrafficLight(trafficLightResult: TrafficLightResult) {
|
||||
if (!initView) {
|
||||
initView = true
|
||||
CallerHmiManager.showWarningTrafficLight(0)
|
||||
}
|
||||
//todo 需要确认场景是否一致
|
||||
// if (!initView) {
|
||||
// initView = true
|
||||
// CallerHmiManager.showWarningTrafficLight(0)
|
||||
// }
|
||||
// val leftTrafficLightStatus = trafficLightResult.laneList.left
|
||||
// callerHMIToChangeLight(leftTrafficLightStatus)
|
||||
//
|
||||
|
||||
@@ -12,7 +12,6 @@ import com.mogo.eagle.core.function.api.trafficlight.IMoGoTrafficLightListener
|
||||
import com.mogo.eagle.core.function.call.hmi.CallerHmiManager
|
||||
import com.mogo.eagle.core.function.call.trafficlight.CallTrafficLightListenerManager
|
||||
import com.mogo.eagle.core.function.v2x.trafficlight.core.MogoTrafficLightManager
|
||||
import com.mogo.map.location.MogoLocation
|
||||
import com.mogo.map.navi.IMogoCarLocationChangedListener2
|
||||
import com.mogo.module.common.MogoApisHandler
|
||||
import com.mogo.module.common.enums.EventTypeEnum
|
||||
@@ -91,7 +90,7 @@ class VipCarManager : IMogoOnMessageListener<VipMessage>, IMoGoTrafficLightListe
|
||||
}
|
||||
|
||||
private fun canGetThroughCross(
|
||||
it: MogoLocation,
|
||||
it: Location,
|
||||
trafficLightResult: TrafficLightResult
|
||||
): Boolean {
|
||||
return if (CoordinateUtils.calculateLineDistance(
|
||||
|
||||
Reference in New Issue
Block a user