|
|
|
|
@@ -28,6 +28,7 @@ import com.mogo.eagle.core.function.call.autopilot.CallerChassisStatesListenerMa
|
|
|
|
|
import com.mogo.eagle.core.function.call.autopilot.CallerPlanningActionsListenerManager
|
|
|
|
|
import com.mogo.eagle.core.function.call.autopilot.CallerPlanningRottingListenerManager
|
|
|
|
|
import com.mogo.eagle.core.function.call.autopilot.CallerVlmManager
|
|
|
|
|
import com.mogo.eagle.core.function.call.devatools.CallerCollisionRiskManager
|
|
|
|
|
import com.mogo.eagle.core.function.call.devatools.CallerDevaToolsManager
|
|
|
|
|
import com.mogo.eagle.core.function.call.hmi.CallerHmiManager
|
|
|
|
|
import com.mogo.eagle.core.function.call.map.CallerMapRomaListener
|
|
|
|
|
@@ -80,8 +81,12 @@ object DebugDataDispatch {
|
|
|
|
|
const val mediaMusic = "mediaAndMusic"
|
|
|
|
|
const val vlmMessage = "vlmMessage"
|
|
|
|
|
const val vlmImage = "vlmImage"
|
|
|
|
|
const val pncAction = "pncAction"
|
|
|
|
|
const val collisionRisk = "CollisionRisk"
|
|
|
|
|
|
|
|
|
|
// adb shell am broadcast -a com.mogo.launcher.debug -f 0x011000000 --es type "location" --es path "1111/11111"
|
|
|
|
|
// adb shell am broadcast -a com.mogo.launcher.debug -f 0x011000000 --es type "pncAction"
|
|
|
|
|
// adb shell am broadcast -a com.mogo.launcher.debug -f 0x011000000 --es type "CollisionRisk"
|
|
|
|
|
// adb shell am broadcast -a com.mogo.launcher.debug -f 0x011000000 --es type "globalPath" --es path "sy73.json"
|
|
|
|
|
// adb shell am broadcast -a com.mogo.launcher.debug -f 0x011000000 --es type "carDoor" --ei doorPostion 1 --ei doorStatus 1
|
|
|
|
|
// adb shell am broadcast -a com.mogo.launcher.debug -f 0x011000000 --es type "trunAroud" --es code "IMAP_TRA_LOADED"
|
|
|
|
|
@@ -112,6 +117,18 @@ object DebugDataDispatch {
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
when (type) {
|
|
|
|
|
collisionRisk -> {
|
|
|
|
|
CallerCollisionRiskManager.invokeCollisionRisk()
|
|
|
|
|
}
|
|
|
|
|
pncAction -> {
|
|
|
|
|
val time = intent.getFloatExtra("action",0f)
|
|
|
|
|
val newBuilder = MessagePad.PlanningActionMsg.newBuilder()
|
|
|
|
|
val actionMsg = MessagePad.DrivingActionMsg.newBuilder()
|
|
|
|
|
actionMsg.drivingAction = MessagePad.DrivingAction.DRIVING_ACTION_STATE_ONE
|
|
|
|
|
actionMsg.drivingState = MessagePad.DrivingState.PULL_OVER
|
|
|
|
|
newBuilder.actionMsg = actionMsg.build()
|
|
|
|
|
CallerPlanningActionsListenerManager.invokePNCActions(newBuilder.build())
|
|
|
|
|
}
|
|
|
|
|
vlmMessage -> {
|
|
|
|
|
val time = intent.getFloatExtra("time",0f)
|
|
|
|
|
val id = intent.getIntExtra("id",0)
|
|
|
|
|
|