测试数据
This commit is contained in:
@@ -124,7 +124,8 @@ public class V2XWarningMarker implements IV2XMarker {
|
||||
//二轮车和行人的渲染和移动
|
||||
V2XServiceManager.getMarkerManager().removeMarkers(TYPE_MARKER_CLOUD_WARN_DATA);
|
||||
V2XWarnDataDrawer.getInstance().renderWarnData(mCloundWarningInfo);
|
||||
|
||||
//添加停止线marker
|
||||
handleStopLine();
|
||||
//车辆静止的时候
|
||||
drawSelfCarLine(carLocation.lon, carLocation.lat, bearing);
|
||||
|
||||
|
||||
@@ -189,7 +189,7 @@ public class TestOnLineCarUtils {
|
||||
// 加载数据源
|
||||
V2XWarningEntity warningEntity = GsonUtil.objectFromJson(baos.toString(), V2XWarningEntity.class);
|
||||
V2XMessageEntity messageEntity = new V2XMessageEntity();
|
||||
messageEntity.setType(warningEntity.getDirection());
|
||||
messageEntity.setType(V2XMessageEntity.V2XTypeEnum.ALERT_THE_FRONT_WEAKNESS);
|
||||
messageEntity.setContent(warningEntity);
|
||||
return messageEntity;
|
||||
} catch (Exception e) {
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
],
|
||||
"from": 1,
|
||||
"angle": 220,
|
||||
"direction": 2,
|
||||
"direction": 3,
|
||||
"speed": 11.108121,
|
||||
"targetColor": "#FF4040",
|
||||
"stopLineDistance": 60,
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
],
|
||||
"from": 1,
|
||||
"angle": 240,
|
||||
"direction": 0,
|
||||
"direction": 1,
|
||||
"speed": 11.108121,
|
||||
"targetColor": "#FF4040",
|
||||
"stopLineDistance": 60,
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
],
|
||||
"from": 1,
|
||||
"angle": 260,
|
||||
"direction": 3,
|
||||
"direction": 4,
|
||||
"speed": 11.108121,
|
||||
"targetColor": "#FF4040",
|
||||
"stopLineDistance": 60,
|
||||
|
||||
Reference in New Issue
Block a user