完成红绿灯、限速标志的接口封装以及自测触发

This commit is contained in:
董宏宇
2021-08-06 17:45:55 +08:00
parent 63fcbdaaaa
commit 023f3d225e
12 changed files with 264 additions and 26 deletions

View File

@@ -10,7 +10,19 @@ adb remount
adb shell
// (新的HMI)使用命令行触发 V2X 预警场景
adb shell am broadcast -a com.v2x.control --ei warningType 2
// 顶部弹窗场景,控制展示
adb shell am broadcast -a com.hmi.v2x.notification --ez v2xIsShow true --es tag "20008" --ei v2xType 20008 --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
// (旧版本)使用命令行触发各种测试场景演示
adb shell am broadcast -a com.v2x.test_panel_control --ei sceneType 1