修改默认的司机端连接IP
增加应用身份判断,暂未启用

Signed-off-by: donghongyu <donghongyu@zhidaoauto.com>
This commit is contained in:
donghongyu
2022-02-21 20:16:45 +08:00
parent 58ee4b091c
commit a7ad1f77c8
4 changed files with 58 additions and 5 deletions

View File

@@ -51,7 +51,7 @@ class MoGoAutopilotProvider :
0x00 -> // 司机
{
CallerMapDataCollectorManager.registerOnMapCollectTaskListener(this)
AdasManager.getInstance().create(context, "192.168.1.141")
AdasManager.getInstance().create(context, "192.168.1.102")
}
0x01 -> // 乘客
{

View File

@@ -3,7 +3,7 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="@dimen/dp_800"
android:layout_height="match_parent"
android:layout_height="@dimen/dp_999"
android:background="#FFFFFF">
<ScrollView
@@ -180,6 +180,7 @@
android:textOff="关闭「刹车控制」"
android:textOn="打开「刹车控制」"
android:textSize="@dimen/dp_24" />
<Button
android:id="@+id/changesight_top_btn"
android:layout_width="wrap_content"
@@ -444,7 +445,7 @@
android:gravity="center"
android:minHeight="48dp"
android:padding="@dimen/dp_5"
android:text="192.168.1.102"
android:text="192.168.8.102"
android:textSize="@dimen/dp_24" />
<Button