From 9db20d4cf66568676beeaa70ef4683c8b406ff1a Mon Sep 17 00:00:00 2001 From: xinfengkun Date: Tue, 26 Apr 2022 18:23:18 +0800 Subject: [PATCH] =?UTF-8?q?[change]=E6=9B=B4=E6=96=B0=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- libraries/mogo-adas/README.md | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/libraries/mogo-adas/README.md b/libraries/mogo-adas/README.md index e8b6f68a78..c94cffa723 100644 --- a/libraries/mogo-adas/README.md +++ b/libraries/mogo-adas/README.md @@ -360,6 +360,24 @@ */ void onReportMessage(MessagePad.Header header, MogoReportMsg.MogoReportMessage mogoReportMessage); ~~~ +~~~java + /** + * 感知红绿灯 + * + * @param header 头 + * @param trafficLights 感知红绿灯 + */ + void onPerceptionTrafficLight(MessagePad.Header header, TrafficLightOuterClass.TrafficLights trafficLights); +~~~ +~~~java + /** + * 他车轨迹预测 + * + * @param header 头 + * @param predictionObjects 他车轨迹预测数据 + */ + void onPredictionObstacleTrajectory(MessagePad.Header header, Prediction.mPredictionObjects predictionObjects); +~~~ ~~~java /** * 自动驾驶设备基础信息请求 @@ -450,9 +468,10 @@ * 与工控机链接状态变化 * * @param ipcConnectionStatus {@link Constants.IPC_CONNECTION_STATUS} - * @param failedMsg 连接异常信息 + * @param reason 连接信息 需要判null + * 如果ipcConnectionStatus==Constants.IPC_CONNECTION_STATUS.DISCONNECTED&&reason==null 表示主动断开连接 */ - void onConnectionIPCStatus(@Define.IPCConnectionStatus int ipcConnectionStatus, String failedMsg); + void onConnectionIPCStatus(@Define.IPCConnectionStatus int ipcConnectionStatus, @Nullable String reason); ~~~ ## OnMultiDeviceListener