open reboot view and fix logic, plus some log

This commit is contained in:
zhongchao
2022-03-16 15:59:05 +08:00
parent 6762c5530c
commit e301c07bf9
6 changed files with 16 additions and 8 deletions

View File

@@ -269,7 +269,7 @@ class MoGoAutopilotProvider :
}
override fun setIPCReboot() {
AdasManager.getInstance().rebootIPC()
AdasManager.getInstance().rebootAPDocker()
}
override fun recordCause(key: String?, name: String?, id: String?, reason: String?) {

View File

@@ -61,6 +61,7 @@ class MoGoAdasListenerImpl : OnAdasListener {
const val TAG = "OnAdasListenerAdapter"
}
//车前引导线
@ChainLog(
linkCode = CHAIN_LINK_ADAS,
endpoint = PAD,
@@ -90,6 +91,7 @@ class MoGoAdasListenerImpl : OnAdasListener {
}
}
//感知物体
@ChainLog(
linkCode = CHAIN_LINK_ADAS,
linkChainLog = CHAIN_LINK_LOG_WEB_SOCKET_DATA,
@@ -107,6 +109,7 @@ class MoGoAdasListenerImpl : OnAdasListener {
}
}
//自车定位信息
@ChainLog(
linkCode = CHAIN_LINK_ADAS,
linkChainLog = CHAIN_LINK_LOG_WEB_SOCKET_DATA,
@@ -132,6 +135,7 @@ class MoGoAdasListenerImpl : OnAdasListener {
}
}
//自车状态(底盘),车灯等。
override fun onVehicleState(
header: MessagePad.Header,
vehicleState: VehicleStateOuterClass.VehicleState?
@@ -144,6 +148,7 @@ class MoGoAdasListenerImpl : OnAdasListener {
}
}
//自动驾驶状态
@ChainLog(
linkCode = CHAIN_LINK_ADAS,
linkChainLog = CHAIN_LINK_LOG_WEB_SOCKET_DATA,
@@ -181,6 +186,7 @@ class MoGoAdasListenerImpl : OnAdasListener {
}
}
//监控
@ChainLog(
linkCode = CHAIN_LINK_ADAS,
linkChainLog = CHAIN_LINK_LOG_WEB_SOCKET_DATA,
@@ -205,6 +211,7 @@ class MoGoAdasListenerImpl : OnAdasListener {
invokeAutopilotSNRequest()
}
//工控机基础配置信息
override fun onCarConfigResp(
header: MessagePad.Header,
carConfigResp: MessagePad.CarConfigResp?
@@ -214,6 +221,7 @@ class MoGoAdasListenerImpl : OnAdasListener {
}
}
//数据采集badCase
@ChainLog(
linkCode = CHAIN_LINK_ADAS,
linkChainLog = CHAIN_LINK_LOG_WEB_SOCKET_DATA,
@@ -231,6 +239,7 @@ class MoGoAdasListenerImpl : OnAdasListener {
}
}
//全局路径规划
@ChainLog(
linkCode = CHAIN_LINK_ADAS,
linkChainLog = CHAIN_LINK_LOG_WEB_SOCKET_DATA,
@@ -248,6 +257,7 @@ class MoGoAdasListenerImpl : OnAdasListener {
}
}
//预警信息
@ChainLog(
linkCode = CHAIN_LINK_ADAS,
linkChainLog = CHAIN_LINK_LOG_WEB_SOCKET_DATA,
@@ -260,6 +270,7 @@ class MoGoAdasListenerImpl : OnAdasListener {
invokeAutopilotWarnMessage(warn)
}
//到站回调
@ChainLog(
linkCode = CHAIN_LINK_ADAS,
linkChainLog = CHAIN_LINK_LOG_WEB_SOCKET_DATA,

View File

@@ -148,7 +148,7 @@
android:background="@color/color_FF2966EC"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/llSpeedPosition"
android:visibility="gone"/>
android:visibility="visible"/>
<TextView
android:id="@+id/tvSystemOperation"
@@ -162,7 +162,7 @@
android:textSize="42px"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/llSpeedPosition"
android:visibility="gone"/>
android:visibility="visible"/>
<com.mogo.eagle.core.function.hmi.ui.widget.CheckSystemView
android:id="@+id/checkSystemView"
@@ -171,7 +171,7 @@
android:layout_marginTop="40px"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/tvSystemOperation"
android:visibility="gone"/>
android:visibility="visible"/>
<View
android:id="@+id/viewSystemVersion"

View File

@@ -270,7 +270,6 @@ public class EventDispatchCenter implements
}
}
}
CallerLogger.INSTANCE.i(M_MAIN +TAG, "onMapChanged event cost " + (System.currentTimeMillis() - start) + "ms");
}
@Override

View File

@@ -82,7 +82,7 @@ MOGO_LOCATION_VERSION=1.3.31
MOGO_TELEMATIC_VERSION=1.3.31
######## MogoAiCloudSDK Version ########
# 自研地图
MAP_SDK_VERSION=2.0.5.3
MAP_SDK_VERSION=2.0.5.7
MAP_SDK_OPERATION_VERSION=1.0.12
# websocket
WEBSOCKET_VERSION=1.1.7

View File

@@ -480,8 +480,6 @@ public class MogoServices implements IMogoMapListener,
MapMarkerManager.getInstance().syncLocation(latLng.lon, latLng.lat);
CallerLogger.INSTANCE.d(M_OLD_OTHER + TAG, "zoom = " + zoom);
if (mIsCameraInited) {
mLastZoomLevel = zoom;
mLastCustomRefreshCenterLocation = latLng;