优化日志

Signed-off-by: 董宏宇 <martindhy@gmail.com>
This commit is contained in:
董宏宇
2021-10-19 21:39:09 +08:00
parent 198efe707b
commit 1d50be10ba
4 changed files with 7 additions and 18 deletions

View File

@@ -171,7 +171,6 @@ public class AdasEventManager implements OnAdasMsgConnectStatusListener, IMoGoAu
@Override
public void onAutopilotStatusResponse(@NonNull AutopilotStatusInfo autoPilotStatusInfo) {
Logger.d(TAG, "autopilotStatus " + autoPilotStatusInfo);
int state = autoPilotStatusInfo.getState();
float speed = autoPilotStatusInfo.getSpeed();
mCurrentAutopilotStatus = state;
@@ -186,11 +185,9 @@ public class AdasEventManager implements OnAdasMsgConnectStatusListener, IMoGoAu
@Override
public void onAutopilotArriveAtStation(AutopilotStationInfo autopilotWayArrive) {
Logger.d(TAG, "autopilotArrive " + autopilotWayArrive);
if (autopilotWayArrive != null) {
double lon = autopilotWayArrive.getLon();
double lat = autopilotWayArrive.getLat();
Logger.d(TAG, "autopilotArrive reportSite");
reportSite(lon, lat);
for (IAdasDataListener listener : iAdasEventListeners) {
if (listener != null) {
@@ -202,7 +199,6 @@ public class AdasEventManager implements OnAdasMsgConnectStatusListener, IMoGoAu
@Override
public void onAutopilotCarStateData(@Nullable AutopilotCarStateInfo autoPilotCarStateInfo) {
Logger.d(TAG, "onCarStateData " + autoPilotCarStateInfo);
for (IAdasDataListener listener : iAdasEventListeners) {
if (listener != null) {
listener.ownerCarStateInfo(gson.toJson(autoPilotCarStateInfo));
@@ -223,7 +219,6 @@ public class AdasEventManager implements OnAdasMsgConnectStatusListener, IMoGoAu
Logger.d(TAG, "onAutopilotRoute is null !");
return;
}
Logger.d(TAG, "onAutopilotRoute : " + autopilotRoute.toString());
for (IAdasDataListener listener : iAdasEventListeners) {
if (listener != null) {
listener.autopilotRoute(autopilotRoute);
@@ -238,7 +233,6 @@ public class AdasEventManager implements OnAdasMsgConnectStatusListener, IMoGoAu
@Override
public void onAutopilotIdentifyDataUpdate(@Nullable List<TrafficData> trafficData) {
Logger.d(TAG, "onRectData " + trafficData);
// 仅在 vr 模式下显示 adas 识别车辆
if (trafficData == null) {
Logger.w(TAG, "--->action is null");