[ADAS LIB] 向工控机发送红绿灯数据接口添加废弃标识,MAP290开始此接口弃用
This commit is contained in:
@@ -970,6 +970,7 @@ public class AdasChannel implements IAdasNetCommApi, FpgaSocket.IWebSocketConnec
|
||||
|
||||
/**
|
||||
* 发送红绿灯数据到工控机
|
||||
* TODO MAP290开始此接口弃用
|
||||
*
|
||||
* @param crossID roadID
|
||||
* @param latitude 纬度
|
||||
@@ -984,6 +985,7 @@ public class AdasChannel implements IAdasNetCommApi, FpgaSocket.IWebSocketConnec
|
||||
* @param timestamp 当前卫星时间, 单位: ms
|
||||
* @return
|
||||
*/
|
||||
@Deprecated
|
||||
@Override
|
||||
public boolean sendTrafficLightData(@NonNull String crossID, double latitude, double longitude,
|
||||
@NonNull String heading, @NonNull String direction, int lightId, int laneNo,
|
||||
|
||||
@@ -450,6 +450,7 @@ public class AdasManager implements IAdasNetCommApi {
|
||||
|
||||
/**
|
||||
* 发送红绿灯数据到工控机
|
||||
* TODO MAP290开始此接口弃用
|
||||
*
|
||||
* @param crossID roadID
|
||||
* @param latitude
|
||||
@@ -464,6 +465,7 @@ public class AdasManager implements IAdasNetCommApi {
|
||||
* @param timestamp 当前卫星时间, 单位: ms
|
||||
* @return
|
||||
*/
|
||||
@Deprecated
|
||||
@Override
|
||||
public boolean sendTrafficLightData(@NonNull String crossID, double latitude, double longitude, @NonNull String heading, @NonNull String direction, int lightId, int laneNo, int arrowNo, int flashYellow, MessagePad.TrafficLightDetail laneDetail, long timestamp) {
|
||||
return mChannel != null && mChannel.sendTrafficLightData(crossID, latitude, longitude, heading, direction, lightId, laneNo, arrowNo, flashYellow, laneDetail, timestamp);
|
||||
|
||||
@@ -205,6 +205,7 @@ public interface IAdasNetCommApi {
|
||||
|
||||
/**
|
||||
* 发送红绿灯数据到工控机
|
||||
* TODO MAP290开始此接口弃用
|
||||
*
|
||||
* @param crossID roadID
|
||||
* @param latitude 纬度
|
||||
@@ -219,6 +220,7 @@ public interface IAdasNetCommApi {
|
||||
* @param timestamp 当前卫星时间, 单位: ms
|
||||
* @return 加入WS发送消息队列是否成功
|
||||
*/
|
||||
@Deprecated
|
||||
boolean sendTrafficLightData(@NonNull String crossID, double latitude, double longitude,
|
||||
@NonNull String heading, @NonNull String direction, int lightId, int laneNo,
|
||||
int arrowNo, int flashYellow, MessagePad.TrafficLightDetail laneDetail, long timestamp);
|
||||
|
||||
@@ -38,6 +38,7 @@ public enum MessageType {
|
||||
TYPE_SEND_SET_AUTOPILOT_SPEED_REQ(MessagePad.MessageType.MsgTypeSetAutopilotSpeedReq, "设置自动驾驶最大速度"),
|
||||
TYPE_SEND_GLOBAL_PATH_REQ(MessagePad.MessageType.MsgTypeGlobalPathReq, "自动驾驶路径请求"),
|
||||
TYPE_RECEIVE_GLOBAL_PATH_RESP(MessagePad.MessageType.MsgTypeGlobalPathResp, "自动驾驶路径应答"),
|
||||
@Deprecated//MAP290开始此接口弃用
|
||||
TYPE_SEND_TRAFFIC_LIGHT_DATA(MessagePad.MessageType.MsgTypeTrafficLightData, "发送红绿灯数据到工控机"),
|
||||
@Deprecated
|
||||
TYPE_RECEIVE_WARN(MessagePad.MessageType.MsgTypeWarn, "预警数据"),
|
||||
|
||||
Reference in New Issue
Block a user