自测试-广播触发
// 增加日志输出空间 adb logcat -G 100m
adb shell setprop debug.mogo.root 1 exit adb root adb remount adb shell
// (新的HMI)使用命令行触发 V2X 预警场景 // 顶部弹窗场景,控制展示 adb shell am broadcast -a com.hmi.v2x.notification --ez v2xIsShow true --es tag "200011" --ei v2xType 20011 --es alertContent "测试外部传入数据" --es ttsContent "测试TTS" // 关闭顶部弹窗 adb shell am broadcast -a com.hmi.v2x.notification --ez v2xIsShow false --es tag "20008"
// 控制红绿灯 adb shell am broadcast -a com.hmi.v2x.trafficlight --ez trafficLightIsShow true --ei trafficLightCheckType 1 adb shell am broadcast -a com.hmi.v2x.trafficlight --ez trafficLightIsShow false
// 控制红绿灯 adb shell am broadcast -a com.hmi.v2x.limitingvelocity --ez limitingVelocityIsShow true --ei limitingVelocitySpeed 60 adb shell am broadcast -a com.hmi.v2x.limitingvelocity --ez limitingVelocityIsShow false
// 控制OBU场景自测 adb shell am broadcast -a com.obu.test_trigger --ei obuStates 1 --ei obuLevel 3 --ei obuType 0x2A01
// 控制OBU 展示周边周边车辆 惠新西街南口附近,南向北 adb shell am broadcast -a com.obu.test_trigger_recognized
// (旧版本)使用命令行触发各种测试场景演示 adb shell am broadcast -a com.v2x.test_panel_control --ei sceneType 1
// 右侧弱势交通参与者 adb shell am broadcast -a com.v2x.adas_data_broadcast --es ADASData right
// 调用应用内的模拟 adb shell am broadcast -a com.mogo.mock --ei oper 46
// 小智语音 adb shell am broadcast -a com.zhidao.auto.txz.receiver --es text "欢迎乘坐’蘑菇车联‘无人驾驶小巴车" --ei speakType 5