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