添加obu tcp通信支持

This commit is contained in:
tongchenfei
2020-09-24 20:46:54 +08:00
parent 027d3b5d0a
commit a222903dc2
4 changed files with 83 additions and 5 deletions

View File

@@ -300,7 +300,9 @@ public class V2XObuEventScenario extends AbsV2XScenario<V2XObuEventEntity> imple
private void sendBroadcastToAdas(String status) {
if (status.equals(CALL_ADAS_SHOW_OPTIMAL)) {
// 给adas发送显示绿波的广播同时自己也要开始划线
drawLine();
if(DebugConfig.getObuType() == DebugConfig.OBU_TYPE_CIDI) {
drawLine();
}
} else {
// 给adas发送隐藏绿波的广播同时自己也需要结束划线动画
hideLine();

View File

@@ -3,7 +3,7 @@
android:layout_width="match_parent"
android:layout_height="@dimen/dp_210"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:background="@drawable/v2x_bg_simple_obu">
android:background="@drawable/module_v2x_shadow_bkg">
<!-- app:roundLayoutRadius="@dimen/dp_20"-->