Merge branch 'demo/shunyi_vr_map' of gitlab.zhidaoauto.com:ecos/yycp-service/Launcher into demo/shunyi_vr_map

This commit is contained in:
tongchenfei
2020-10-28 16:31:47 +08:00
25 changed files with 6173 additions and 76 deletions

View File

@@ -0,0 +1,27 @@
package com.mogo.module.common.constants;
public
/**
* @author congtaowang
* @since 2020/10/27
* <p>
* 描述
*/
class AdasRecognizedType {
//背景
public static final int classIdBackground = 0;
//人
public static final int classIdPerson = 1;
//自行车
public static final int classIdBicycle = 2;
//小轿车
public static final int classIdCar = 3;
//摩托车
public static final int classIdMoto = 4;
//红绿灯
public static final int classIdTrafficSign = 5;
//bus
public static final int classIdTrafficBus = 6;
//track
public static final int classIdTrafficTruck = 8;
}

View File

@@ -0,0 +1,20 @@
package com.mogo.module.common.constants;
public
/**
* @author congtaowang
* @since 2020/10/28
*
* 描述
*/
class DataTypes {
/**
* adas识别数据
*/
public static final String TYPE_MARKER_ADAS = "TYPE_MARKER_ADAS";
/**
* 云端下发数据
*/
public static final String TYPE_MARKER_CLOUD_DATA = "TYPE_MARKER_CLOUD_DATA";
}

View File

@@ -1,4 +1,4 @@
package com.mogo.module.service.marker;
package com.mogo.module.common.drawer;
import android.content.Context;
import android.graphics.BitmapFactory;
@@ -8,9 +8,10 @@ import com.mogo.map.MogoLatLng;
import com.mogo.map.marker.IMogoMarker;
import com.mogo.map.marker.MogoMarkerOptions;
import com.mogo.module.common.ModuleNames;
import com.mogo.module.service.MarkerServiceHandler;
import com.mogo.module.service.R;
import com.mogo.module.service.ServiceConst;
import com.mogo.module.common.MogoApisHandler;
import com.mogo.module.common.R;
import com.mogo.module.common.constants.AdasRecognizedType;
import com.mogo.module.common.constants.DataTypes;
import com.mogo.service.adas.entity.ADASRecognizedListResult;
import java.util.ArrayList;
@@ -61,7 +62,7 @@ class AdasRecognizedResultDrawer {
public void renderAdasRecognizedResult( List< ADASRecognizedListResult > resultList ) {
if ( resultList == null || resultList.isEmpty() ) {
MarkerServiceHandler.getApis().getMapServiceApi().getMarkerManager( mContext ).removeMarkers( ServiceConst.TYPE_MARKER_ADAS );
MogoApisHandler.getInstance().getApis().getMapServiceApi().getMarkerManager( mContext ).removeMarkers( DataTypes.TYPE_MARKER_ADAS );
return;
}
purgeAdasRecognizedData( resultList );
@@ -79,9 +80,9 @@ class AdasRecognizedResultDrawer {
mAdasRecognizedMarkersCaches.put( uniqueKey, marker );
}
List< MogoLatLng > points = new ArrayList<>();
if ( recognizedListResult.latLonList != null
|| recognizedListResult.latLonList.size() > 1 ) {
List< MogoLatLng > points = new ArrayList<>();
for ( int j = 0; j < recognizedListResult.latLonList.size(); j++ ) {
ADASRecognizedListResult.LatLon latLon = recognizedListResult.latLonList.get( j );
if ( latLon == null ) {
@@ -89,11 +90,19 @@ class AdasRecognizedResultDrawer {
}
points.add( new MogoLatLng( latLon.lat, latLon.lon ) );
}
if ( points.size() >= 1 ) {
marker.startSmooth( points, 1000 );
} else {
} else {
// 原来的点和新的点做一个数组进行平滑移动
MogoLatLng latLng = marker.getPosition();
ADASRecognizedListResult.LatLon latLon = recognizedListResult.latLonList.get( 0 );
if ( latLon == null ) {
continue;
}
points.add( latLng );
points.add( new MogoLatLng( latLng.lat, latLon.lon ) );
}
if ( points.size() >= 1 ) {
marker.startSmooth( points, 1000 );
}
}
}
@@ -143,9 +152,9 @@ class AdasRecognizedResultDrawer {
}
MogoMarkerOptions options = new MogoMarkerOptions()
.owner( ServiceConst.TYPE_MARKER_ADAS )
.owner( DataTypes.TYPE_MARKER_ADAS )
.icon( BitmapFactory.decodeResource( mContext.getResources(), R.drawable.map_custom_ic_current_location2 ) )
.position( new MogoLatLng( recognizedListResult.latLonList.get( 0 ).lat, recognizedListResult.latLonList.get( 0 ).lon ) );
return MarkerServiceHandler.getMapService().getMarkerManager( mContext ).addMarker( ModuleNames.CARD_TYPE_ROAD_CONDITION, options );
return MogoApisHandler.getInstance().getApis().getMapServiceApi().getMarkerManager( mContext ).addMarker( ModuleNames.CARD_TYPE_ROAD_CONDITION, options );
}
}

View File

@@ -1,4 +1,4 @@
package com.mogo.module.service.marker;
package com.mogo.module.common.drawer;
import android.content.Context;
import android.graphics.BitmapFactory;
@@ -8,12 +8,13 @@ import com.mogo.map.MogoLatLng;
import com.mogo.map.marker.IMogoMarker;
import com.mogo.map.marker.MogoMarkerOptions;
import com.mogo.module.common.ModuleNames;
import com.mogo.module.common.MogoApisHandler;
import com.mogo.module.common.R;
import com.mogo.module.common.constants.AdasRecognizedType;
import com.mogo.module.common.constants.DataTypes;
import com.mogo.module.common.entity.CloudLocationInfo;
import com.mogo.module.common.entity.CloudRoadData;
import com.mogo.module.common.entity.MogoSnapshotSetData;
import com.mogo.module.service.MarkerServiceHandler;
import com.mogo.module.service.R;
import com.mogo.module.service.ServiceConst;
import java.util.ArrayList;
import java.util.HashMap;
@@ -67,7 +68,7 @@ class SnapshotSetDataDrawer {
*
* @param data
*/
public void renderSnapshotData( MogoSnapshotSetData data ) {
public void renderSnapshotData( MogoSnapshotSetData data, boolean filterAdasData ) {
if ( data == null || data.getAllList() == null || data.getAllList().isEmpty() ) {
return;
}
@@ -76,7 +77,7 @@ class SnapshotSetDataDrawer {
if ( cloudRoadData == null ) {
continue;
}
if ( cloudRoadData.getDistance() < 50 ) {
if ( filterAdasData && cloudRoadData.getDistance() < 50 ) {
// 过滤 adas 识别的车辆
continue;
}
@@ -89,9 +90,9 @@ class SnapshotSetDataDrawer {
marker = drawSnapshotDataMarker( cloudRoadData );
mCloudSnapshotMarkersCaches.put( uniqueKey, marker );
}
List< MogoLatLng > points = new ArrayList<>();
if ( cloudRoadData.getCoordinates() != null
|| cloudRoadData.getCoordinates().size() > 1 ) {
List< MogoLatLng > points = new ArrayList<>();
for ( int j = 0; j < cloudRoadData.getCoordinates().size(); j++ ) {
CloudLocationInfo poi = cloudRoadData.getCoordinates().get( j );
if ( poi == null ) {
@@ -101,11 +102,13 @@ class SnapshotSetDataDrawer {
double lng = poi.getLon();
points.add( new MogoLatLng( lat, lng ) );
}
if ( points.size() >= 1 ) {
marker.startSmooth( points, 1000 );
} else {
}
} else {
points.add( marker.getPosition() );
points.add( new MogoLatLng( cloudRoadData.getLat(), cloudRoadData.getLon() ) );
}
if ( points.size() >= 1 ) {
marker.startSmooth( points, 1000 );
}
}
}
@@ -156,9 +159,9 @@ class SnapshotSetDataDrawer {
}
MogoMarkerOptions options = new MogoMarkerOptions()
.owner( ServiceConst.TYPE_MARKER_CLOUD_DATA )
.owner( DataTypes.TYPE_MARKER_CLOUD_DATA )
.icon( BitmapFactory.decodeResource( mContext.getResources(), R.drawable.map_custom_ic_current_location2 ) )
.position( new MogoLatLng( data.getLat(), data.getLon() ) );
return MarkerServiceHandler.getMapService().getMarkerManager( mContext ).addMarker( ModuleNames.CARD_TYPE_ROAD_CONDITION, options );
return MogoApisHandler.getInstance().getApis().getMapServiceApi().getMarkerManager( mContext ).addMarker( ModuleNames.CARD_TYPE_ROAD_CONDITION, options );
}
}

View File

@@ -139,6 +139,8 @@ public class V2XMessageEntity<T> implements Serializable {
int ALERT_ILLEGAL_PARK_WARNING = 1_008;
// 呼叫、请求直播事件
int ALERT_VOICE_CALL_FOR_LIVECAR_SHOW = 1_009;
// 推送VR消息展示
int ALERT_PUSH_VR_SHOW = 2_000;
// 自车求助
int ALERT_CAR_FOR_HELP = 8_000;
// obu事件
@@ -157,6 +159,7 @@ public class V2XMessageEntity<T> implements Serializable {
V2XTypeEnum.ALERT_ILLEGAL_PARK_WARNING,
V2XTypeEnum.ALERT_CAR_FOR_HELP,
V2XTypeEnum.ALERT_VOICE_CALL_FOR_LIVECAR_SHOW,
V2XTypeEnum.ALERT_PUSH_VR_SHOW,
V2XTypeEnum.ALERT_OBU_EVENT,
})
@Target({

View File

@@ -1,7 +1,6 @@
package com.mogo.module.service.marker;
import android.content.Context;
import android.graphics.BitmapFactory;
import android.graphics.Rect;
import android.text.TextUtils;
import android.view.animation.LinearInterpolator;
@@ -17,8 +16,8 @@ import com.mogo.map.marker.anim.OnMarkerAnimationListener;
import com.mogo.map.uicontroller.EnumMapUI;
import com.mogo.module.common.ModuleNames;
import com.mogo.module.common.api.CallChatApi;
import com.mogo.module.common.entity.CloudLocationInfo;
import com.mogo.module.common.entity.CloudRoadData;
import com.mogo.module.common.drawer.AdasRecognizedResultDrawer;
import com.mogo.module.common.drawer.SnapshotSetDataDrawer;
import com.mogo.module.common.entity.MarkerCarPois;
import com.mogo.module.common.entity.MarkerCardResult;
import com.mogo.module.common.entity.MarkerExploreWay;
@@ -38,7 +37,6 @@ import com.mogo.module.service.network.RefreshModel;
import com.mogo.module.service.utils.ViewUtils;
import com.mogo.module.service.vrmode.VrModeController;
import com.mogo.service.adas.IMogoADASControlStatusChangedListener;
import com.mogo.service.adas.entity.ADASRecognizedListResult;
import com.mogo.service.connection.IMogoOnMessageListener;
import com.mogo.service.connection.IMogoOnWebSocketMessageListener;
import com.mogo.service.connection.WebSocketMsgType;
@@ -57,7 +55,6 @@ import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
/**
* author : donghongyu
@@ -162,7 +159,7 @@ public class MapMarkerManager implements IMogoMarkerClickListener,
if ( data == null ) {
return;
}
SnapshotSetDataDrawer.getInstance().renderSnapshotData( data );
SnapshotSetDataDrawer.getInstance().renderSnapshotData( data, true );
VrModeController.getInstance().renderMogoSnapshotSetData( data );
}

View File

@@ -7,6 +7,7 @@ import android.view.LayoutInflater;
import androidx.annotation.Nullable;
import com.mogo.map.marker.MogoMarkerOptions;
import com.mogo.module.common.MogoApisHandler;
import com.mogo.module.common.entity.MarkerExploreWay;
import com.mogo.module.common.entity.MarkerPoiTypeEnum;
import com.mogo.module.common.entity.MarkerShowEntity;
@@ -50,6 +51,8 @@ public class MapMarkerView extends MapMarkerBaseView {
public void updateView( MarkerShowEntity markerShowEntity ) {
try {
Object bindObj = markerShowEntity.getBindObj();
if ( MogoApisHandler.getInstance().getApis().getMapFrameControllerApi().isVrMode() ) {
}
switch ( markerShowEntity.getMarkerType() ) {
case ServiceConst.CARD_TYPE_ROAD_CONDITION:
case ServiceConst.CARD_TYPE_NOVELTY:

View File

@@ -124,23 +124,23 @@ public class V2XAlarmServer {
}
return null;
} else {
Logger.w(MODULE_NAME, "V2X预警--事件与车头角度夹角过大:" +
"\n角度" + eventAngle + "" +
"\n事件详情" + v2XRoadEventEntity.getNoveltyInfo().getInfoId()
);
// Logger.w(MODULE_NAME, "V2X预警--事件与车头角度夹角过大:" +
// "\n角度" + eventAngle + " 度" +
// "\n事件详情" + v2XRoadEventEntity.getNoveltyInfo().getInfoId()
// );
}
} else {
Logger.w(MODULE_NAME, "V2X预警--车辆距离事件距离大于500米了" +
"\n距离" + v2XRoadEventEntity.getDistance() + "" +
"\n事件详情" + v2XRoadEventEntity.getNoveltyInfo().getInfoId()
);
// Logger.w(MODULE_NAME, "V2X预警--车辆距离事件距离大于500米了" +
// "\n距离" + v2XRoadEventEntity.getDistance() + "米" +
// "\n事件详情" + v2XRoadEventEntity.getNoveltyInfo().getInfoId()
// );
}
} else {
Logger.w(MODULE_NAME,
"V2X预警--车头方向与事件方向角度不一致:" +
"\n车头方向 " + currentLocation.getBearing() +
"\n事件方向" + v2XRoadEventEntity.getLocation().getAngle()
);
// Logger.w(MODULE_NAME,
// "V2X预警--车头方向与事件方向角度不一致:" +
// "\n车头方向 " + currentLocation.getBearing() +
// "\n事件方向" + v2XRoadEventEntity.getLocation().getAngle()
// );
}
}
}

View File

@@ -101,6 +101,7 @@ public class V2XMessageListener_401003 implements IMogoOnMessageListener<V2XPush
showTip(alarmMessage.getTts());
ADASUtils.broadcastToADAS_TTS(V2XServiceManager.getContext(), alarmMessage);
break;
//以下为V推送场景
case "200006"://对向来车
showTip(alarmMessage.getTts());
break;

View File

@@ -15,6 +15,7 @@ import com.mogo.module.v2x.scenario.scene.livecar.V2XPushLiveCarScenario;
import com.mogo.module.v2x.scenario.scene.livecar.V2XVoiceCallLiveScenario;
import com.mogo.module.v2x.scenario.scene.park.V2XIllegalParkScenario;
import com.mogo.module.v2x.scenario.scene.push.V2XPushEventScenario;
import com.mogo.module.v2x.scenario.scene.pushVR.V2XPushVREventScenario;
import com.mogo.module.v2x.scenario.scene.road.V2XRoadEventScenario;
import com.mogo.module.v2x.scenario.scene.seek.V2XSeekHelpScenario;
import com.mogo.module.v2x.utils.V2XUtils;
@@ -99,6 +100,9 @@ public class V2XScenarioManager implements IV2XScenarioManager {
case V2XMessageEntity.V2XTypeEnum.ALERT_VOICE_CALL_FOR_LIVECAR_SHOW:
mV2XScenario = V2XVoiceCallLiveScenario.getInstance();
break;
case V2XMessageEntity.V2XTypeEnum.ALERT_PUSH_VR_SHOW:
mV2XScenario = V2XPushVREventScenario.getInstance();
break;
default:
Logger.e(MODULE_NAME, "当前V2X消息类型未定义。");
TipToast.tip("当前V2X消息类型未定义");

View File

@@ -0,0 +1,78 @@
package com.mogo.module.v2x.scenario.scene.pushVR;
import com.mogo.module.common.entity.MarkerExploreWay;
import com.mogo.module.common.entity.MarkerExploreWayItem;
import com.mogo.module.common.entity.MarkerLocation;
import com.mogo.module.common.entity.V2XPoiTypeEnum;
import com.mogo.module.common.entity.V2XPushMessageEntity;
import com.mogo.module.common.entity.V2XRoadEventEntity;
import com.mogo.module.v2x.V2XServiceManager;
import com.mogo.module.v2x.listener.V2XMarkerClickListener;
import com.mogo.module.v2x.scenario.view.IV2XMarker;
import com.mogo.module.v2x.utils.MarkerUtils;
import java.util.ArrayList;
import java.util.List;
/**
* author : donghongyu
* e-mail : 1358506549@qq.com
* date : 2020/5/15 5:37 PM
* desc : 推送VR场景
* version: 1.0
*/
public class V2XPushVREventMarker implements IV2XMarker<V2XPushMessageEntity> {
@Override
public void drawPOI(V2XPushMessageEntity entity) {
try {
// 清除道路事件
V2XServiceManager
.getMoGoV2XMarkerManager().clearALLPOI();
// 位置信息
MarkerLocation markerLocation = new MarkerLocation();
markerLocation.setLon(entity.getLon());
markerLocation.setLat(entity.getLat());
// 进行数据转换用于Marker展示
V2XRoadEventEntity v2XRoadEventEntity = new V2XRoadEventEntity();
v2XRoadEventEntity.setLocation(markerLocation);
// 探路目前只有上报拥堵
v2XRoadEventEntity.setPoiType(V2XPoiTypeEnum.ALERT_TRAFFIC_EXPRESS);
MarkerExploreWay markerNoveltyInfo = new MarkerExploreWay();
List<MarkerExploreWayItem> items = new ArrayList<>();
MarkerExploreWayItem exploreWayItem = new MarkerExploreWayItem();
exploreWayItem.setThumbnail(entity.getMsgImgUrl());
items.add(exploreWayItem);
markerNoveltyInfo.setPoiType(V2XPoiTypeEnum.ALERT_TRAFFIC_EXPRESS);
markerNoveltyInfo.setItems(items);
markerNoveltyInfo.setUploadType("1");
v2XRoadEventEntity.setNoveltyInfo(markerNoveltyInfo);
v2XRoadEventEntity.setExpireTime(20000);
V2XServiceManager
.getMoGoV2XMarkerManager()
.drawableAlarmPOI(V2XServiceManager.getContext(),
v2XRoadEventEntity,
V2XMarkerClickListener.getInstance());
} catch (Exception e) {
e.printStackTrace();
}
}
@Override
public void clearPOI() {
// 锁车就是将地图视图移植中心点,因为行驶中的车和地图要相对的跟随
MarkerUtils.resetMapZoom(16);
// 移除线
V2XServiceManager.getMoGoV2XPolylineManager().clearLine();
// 移除事件POI
V2XServiceManager.getMoGoV2XMarkerManager().clearAlarmPOI();
// 绘制上次的数据
V2XServiceManager.getMoGoV2XMarkerManager().drawableLastAllPOI();
}
}

View File

@@ -0,0 +1,141 @@
package com.mogo.module.v2x.scenario.scene.pushVR;
import android.view.View;
import androidx.annotation.Nullable;
import com.mogo.module.common.entity.V2XMessageEntity;
import com.mogo.module.common.entity.V2XPushMessageEntity;
import com.mogo.module.v2x.V2XConst;
import com.mogo.module.v2x.V2XServiceManager;
import com.mogo.module.v2x.scenario.impl.AbsV2XScenario;
import com.mogo.service.windowview.IMogoTopViewStatusListener;
import com.mogo.utils.logger.Logger;
import com.mogo.utils.network.utils.GsonUtil;
import static com.mogo.module.v2x.V2XConst.MODULE_NAME;
/**
* author : donghongyu
* e-mail : 1358506549@qq.com
* date : 2020/5/15 5:37 PM
* desc : 推送VR场景控制
* version: 1.0
*/
public class V2XPushVREventScenario
extends AbsV2XScenario<V2XPushMessageEntity>
implements IMogoTopViewStatusListener {
private static V2XPushVREventScenario mV2XPushEventScenario;
private V2XPushVREventScenario() {
}
public static V2XPushVREventScenario getInstance() {
if (mV2XPushEventScenario == null) {
synchronized (V2XPushVREventScenario.class) {
if (mV2XPushEventScenario == null) {
mV2XPushEventScenario = new V2XPushVREventScenario();
mV2XPushEventScenario.setV2XMarker(new V2XPushVREventMarker());
}
}
}
return mV2XPushEventScenario;
}
@Override
public void init(@Nullable V2XMessageEntity<V2XPushMessageEntity> v2XMessageEntity) {
Logger.w(MODULE_NAME, "处理推送VR场景" + GsonUtil.jsonFromObject(v2XMessageEntity));
if (!isSameScenario(v2XMessageEntity)
&& V2XServiceManager.getMoGoStatusManager().isMainPageLaunched()) {
setV2XMessageEntity(v2XMessageEntity);
show();
} else {
setV2XMessageEntity(v2XMessageEntity);
Logger.w(V2XConst.MODULE_NAME, "要处理的场景已经存在,丢弃这次初始化");
}
}
@Override
public void show() {
if (getV2XMessageEntity() != null && getV2XMessageEntity().getContent() != null) {
speakTTSVoice(getV2XMessageEntity().getContent().getTts(), null);
drawPOI();
showWindow();
}
}
@Override
public void showWindow() {
if (getV2XWindow() != null) {
//TODO 这里调用 showLeftNoticeByType 进行展示左下角的弹窗
}
}
@Override
public void closeWindow() {
V2XServiceManager.getMoGoV2XStatusManager().setPushWindowShow(TAG, false);
if (getV2XWindow() != null) {
getV2XWindow().close();
}
}
@Override
public void showButton() {
if (getV2XButton() != null) {
getV2XButton().show();
}
}
@Override
public void closeButton() {
if (getV2XButton() != null) {
getV2XButton().close();
}
}
@Override
public void drawPOI() {
if (getV2XMarker() != null) {
getV2XMarker().drawPOI(getV2XMessageEntity().getContent());
V2XServiceManager.getMoGoV2XStatusManager().setPushPOIShow(TAG, true);
}
}
@Override
public void clearPOI() {
if (getV2XMarker() != null) {
getV2XMarker().clearPOI();
}
V2XServiceManager.getMoGoV2XStatusManager().setPushPOIShow(TAG, false);
}
////////////////////////////////////////////////////////////////////////////////////////////////////
@Override
public void onViewAdded(View view) {
Logger.d(MODULE_NAME, "展示 Window 动画结束");
}
@Override
public void onViewRemoved(View view) {
Logger.d(MODULE_NAME, "关闭 Window 动画结束");
}
@Override
public void beforeViewAddAnim(View view) {
Logger.d(MODULE_NAME, "展示 Window 开始");
}
@Override
public void beforeViewRemoveAnim(View view) {
Logger.d(MODULE_NAME, "关闭 Window 开始");
V2XServiceManager.getMoGoV2XStatusManager().setPushWindowShow(TAG, false);
// 重置场景提示的消息
setV2XMessageEntity(null);
clearPOI();
}
////////////////////////////////////////////////////////////////////////////////////////////////////
}

View File

@@ -118,7 +118,7 @@ public class V2XTestConsoleWindow extends ConstraintLayout {
mogoDriverInfo.setSn("12345678");
mogoDriverInfo.setUserName("测试");
mogoDriverInfo.setUserHead("https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1600872867592&di=994e371880ca6ae2814f553e0d0e4139&imgtype=0&src=http%3A%2F%2Fp3.ssl.cdn.btime.com%2Ft014c5d8a1e5cef12ba.jpg%3Fsize%3D506x543");
V2XServiceManager.getCarsChattingProvider().showUserWindow("CAR_CALL_USER_TO_" + V2XConst.MODULE_NAME,mogoDriverInfo,context);
V2XServiceManager.getCarsChattingProvider().showUserWindow("CAR_CALL_USER_TO_" + V2XConst.MODULE_NAME, mogoDriverInfo, context);
});
mBtnTriggerOpen.setOnClickListener(v ->
@@ -197,6 +197,28 @@ public class V2XTestConsoleWindow extends ConstraintLayout {
LocalBroadcastManager.getInstance(getContext()).sendBroadcast(intent);
});
/*
*后方VIP车辆提示
* */
btnTriggerRearVIPCarTip.setOnClickListener(v -> {
});
/*
*前车急刹
* */
btnTriggerVehicleBrakes.setOnClickListener(v -> {
});
/*
*后方危险车辆预警
* */
btnTriggerRearDangerousVehicles.setOnClickListener(v -> {
});
/*
* 逆向车辆路线预判
* */
btnTriggerReverseVehicleRoutePrediction.setOnClickListener(v -> {
V2XMessageEntity<List<V2XSpecialCarRes.V2XMarkerEntity>> v2XMessageEntity =
TestOnLineCarUtils.getV2XScenarionVRReverseCarData();
@@ -206,6 +228,45 @@ public class V2XTestConsoleWindow extends ConstraintLayout {
LocalBroadcastManager.getInstance(getContext()).sendBroadcast(intent);
});
/*
*VIP变灯通行
* */
btnTriggerVIPLightChange.setOnClickListener(v -> {
});
/*
*障碍物绕行
* */
btnTriggerObstacleDetour.setOnClickListener(v -> {
});
/*
*行人预警,行人路线预测
* */
btnTriggerPedestrianWarning.setOnClickListener(v -> {
});
/*
*拥堵路线推荐
* */
btnTriggerCongestedRouteRecommendation.setOnClickListener(v -> {
V2XMessageEntity<V2XPushMessageEntity> v2XMessageEntity =
TestOnLineCarUtils.getV2XScenarioPushVR();
Intent intent = new Intent(V2XConst.BROADCAST_SCENE_HANDLER_ACTION);
intent.putExtra(V2XConst.BROADCAST_SCENE_EXTRA_KEY, v2XMessageEntity);
LocalBroadcastManager.getInstance(getContext()).sendBroadcast(intent);
});
/*
*双闪车辆,自动绕行
* */
btnTriggerDoubleFlash.setOnClickListener(v -> {
});
}
}

View File

@@ -357,4 +357,37 @@ public class TestOnLineCarUtils {
}
return null;
}
/**
* 模拟H5推送场景---推送VR场景信息
*/
public static V2XMessageEntity<V2XPushMessageEntity> getV2XScenarioPushVR() {
try {
InputStream inputStream = V2XUtils.getApp()
.getResources()
.openRawResource(R.raw.scenario_push_vr_event_data_yongdu);
ByteArrayOutputStream baos = new ByteArrayOutputStream();
int len = -1;
byte[] buffer = new byte[1024];
while ((len = inputStream.read(buffer)) != -1) {
baos.write(buffer, 0, len);
}
inputStream.close();
// 加载数据源
V2XPushMessageEntity v2xRoadEventEntity = GsonUtil.objectFromJson(baos.toString(), V2XPushMessageEntity.class);
V2XMessageEntity<V2XPushMessageEntity> v2xMessageEntity = new V2XMessageEntity<>();
// 控制类型
v2xMessageEntity.setType(V2XMessageEntity.V2XTypeEnum.ALERT_PUSH_VR_SHOW);
// 设置数据
v2xMessageEntity.setContent(v2xRoadEventEntity);
// 控制展示状态
v2xMessageEntity.setShowState(true);
return v2xMessageEntity;
} catch (Exception e) {
e.printStackTrace();
}
return null;
}
}

View File

@@ -0,0 +1,820 @@
{
"sceneId": "200003",
"alarmContent": "演示后方危险车辆预警功能",
"expireTime": 30000,
"sceneCategory": 0,
"sceneDescription": "后方危险车辆预警,注意保持车道",
"sceneName": "后方危险车辆预警",
"sceneLevel": 0,
"sceneChannel": "",
"sceneSn": "",
"tts": "发现后方车辆超速,注意保持车道",
"zoom": false,
"zoomScale": 15,
"lat": 40.968678,
"lon": 116.405467,
"userHead": "",
"msgImgUrl": "",
"polyline": [
[
116.737779,
40.196461
],
[
116.737689,
40.196462
],
[
116.737545,
40.196464
],
[
116.737396,
40.196465
],
[
116.737215,
40.196466
],
[
116.737064,
40.196467
],
[
116.736875,
40.196468
],
[
116.736744,
40.196468
],
[
116.736602,
40.196469
],
[
116.736458,
40.19647
],
[
116.736304,
40.196471
],
[
116.736175,
40.196472
],
[
116.736044,
40.196472
],
[
116.735883,
40.196473
],
[
116.735228,
40.196477
],
[
116.735117,
40.196478
],
[
116.734994,
40.196478
],
[
116.734878,
40.196479
],
[
116.734748,
40.19648
],
[
116.734636,
40.196481
],
[
116.734557,
40.196481
],
[
116.734472,
40.196481
],
[
116.734392,
40.196482
],
[
116.734293,
40.196482
],
[
116.734226,
40.196482
],
[
116.734138,
40.196483
],
[
116.733983,
40.196484
],
[
116.733862,
40.196485
],
[
116.733725,
40.196486
],
[
116.7336,
40.196486
],
[
116.733432,
40.196485
],
[
116.733331,
40.196484
],
[
116.733259,
40.196482
],
[
116.733173,
40.19648
],
[
116.733106,
40.196477
],
[
116.733002,
40.196471
],
[
116.732923,
40.196467
],
[
116.73282,
40.196459
],
[
116.732724,
40.19645
],
[
116.73263,
40.196441
],
[
116.732529,
40.19643
],
[
116.732431,
40.196419
],
[
116.732376,
40.196413
],
[
116.732295,
40.196403
],
[
116.732215,
40.196391
],
[
116.732154,
40.196382
],
[
116.732076,
40.196371
],
[
116.731991,
40.196356
],
[
116.731927,
40.196345
],
[
116.731847,
40.19633
],
[
116.73177,
40.196316
],
[
116.731728,
40.196307
],
[
116.731664,
40.196294
],
[
116.731571,
40.196274
],
[
116.731509,
40.19626
],
[
116.731435,
40.196244
],
[
116.731357,
40.196224
],
[
116.7313,
40.196211
],
[
116.731226,
40.196191
],
[
116.731148,
40.196171
],
[
116.731076,
40.19615
],
[
116.731016,
40.196133
],
[
116.730949,
40.196113
],
[
116.730892,
40.196096
],
[
116.730827,
40.196075
],
[
116.730761,
40.196053
],
[
116.730675,
40.196025
],
[
116.730616,
40.196005
],
[
116.730549,
40.195981
],
[
116.730353,
40.195908
],
[
116.730214,
40.195852
],
[
116.730081,
40.195798
],
[
116.729945,
40.195742
],
[
116.729836,
40.195699
],
[
116.729727,
40.195659
],
[
116.729611,
40.195616
],
[
116.729486,
40.195572
],
[
116.72935,
40.195529
],
[
116.729181,
40.195479
],
[
116.729013,
40.195434
],
[
116.728924,
40.195412
],
[
116.72877,
40.195374
],
[
116.728622,
40.195341
],
[
116.728469,
40.195308
],
[
116.728325,
40.195281
],
[
116.728174,
40.195254
],
[
116.728018,
40.195229
],
[
116.727794,
40.1952
],
[
116.727599,
40.195179
],
[
116.727432,
40.195165
],
[
116.727299,
40.195156
],
[
116.727073,
40.195145
],
[
116.72695,
40.195142
],
[
116.726733,
40.195139
],
[
116.726488,
40.19514
],
[
116.726312,
40.195141
],
[
116.726115,
40.195143
],
[
116.725869,
40.195148
],
[
116.725651,
40.195155
],
[
116.72537,
40.195161
],
[
116.725188,
40.195163
],
[
116.725092,
40.195162
],
[
116.725091,
40.195123
],
[
116.725335,
40.195123
],
[
116.725499,
40.195123
],
[
116.72602,
40.195109
],
[
116.726235,
40.195106
],
[
116.726424,
40.195105
],
[
116.726658,
40.195104
],
[
116.726733,
40.195105
],
[
116.72688,
40.195106
],
[
116.72704,
40.195109
],
[
116.727217,
40.195115
],
[
116.727388,
40.195124
],
[
116.727562,
40.195136
],
[
116.727735,
40.195155
],
[
116.727887,
40.195174
],
[
116.727979,
40.195186
],
[
116.728056,
40.195198
],
[
116.728165,
40.195216
],
[
116.728237,
40.195228
],
[
116.728345,
40.195247
],
[
116.728411,
40.19526
],
[
116.728533,
40.195283
],
[
116.728589,
40.195295
],
[
116.728694,
40.195318
],
[
116.728761,
40.195334
],
[
116.728868,
40.19536
],
[
116.728918,
40.195372
],
[
116.729088,
40.195416
],
[
116.729262,
40.195462
],
[
116.729424,
40.195512
],
[
116.729547,
40.195553
],
[
116.729584,
40.195566
],
[
116.729692,
40.195606
],
[
116.729739,
40.195624
],
[
116.729844,
40.195661
],
[
116.730011,
40.195726
],
[
116.73014,
40.195778
],
[
116.730309,
40.195849
],
[
116.730467,
40.195911
],
[
116.730608,
40.195962
],
[
116.730673,
40.195984
],
[
116.730766,
40.196015
],
[
116.730831,
40.196036
],
[
116.730935,
40.196069
],
[
116.730993,
40.196087
],
[
116.731086,
40.196113
],
[
116.731164,
40.196135
],
[
116.731285,
40.196165
],
[
116.731315,
40.196173
],
[
116.731434,
40.196202
],
[
116.731486,
40.196214
],
[
116.731586,
40.196238
],
[
116.731652,
40.196253
],
[
116.731749,
40.196273
],
[
116.731818,
40.196287
],
[
116.731924,
40.196305
],
[
116.731991,
40.196317
],
[
116.732108,
40.196336
],
[
116.732269,
40.196361
],
[
116.732333,
40.19637
],
[
116.732464,
40.196385
],
[
116.732507,
40.19639
],
[
116.732628,
40.196404
],
[
116.732678,
40.196409
],
[
116.732784,
40.196418
],
[
116.732851,
40.196424
],
[
116.732985,
40.196433
],
[
116.73314,
40.196439
],
[
116.733198,
40.196441
],
[
116.733379,
40.196445
],
[
116.733548,
40.196445
],
[
116.733722,
40.196445
],
[
116.733903,
40.196445
],
[
116.734081,
40.196447
],
[
116.734251,
40.196446
],
[
116.734439,
40.196445
],
[
116.734624,
40.196444
],
[
116.734805,
40.196442
],
[
116.734982,
40.196442
],
[
116.735164,
40.196441
],
[
116.735329,
40.19644
],
[
116.735519,
40.196438
],
[
116.735682,
40.196437
],
[
116.735855,
40.196437
],
[
116.736034,
40.196436
],
[
116.73621,
40.196435
],
[
116.736385,
40.196433
],
[
116.736566,
40.196433
],
[
116.736742,
40.196431
],
[
116.736926,
40.196431
],
[
116.737046,
40.19643
],
[
116.737173,
40.19643
],
[
116.737298,
40.196429
],
[
116.737449,
40.196427
],
[
116.737582,
40.196427
],
[
116.737662,
40.196425
],
[
116.737748,
40.196425
],
[
116.73778,
40.196424
]
]
}

View File

@@ -0,0 +1,820 @@
{
"sceneId": "200002",
"alarmContent": "发现前方车辆急刹,请注意减速",
"expireTime": 30000,
"sceneCategory": 0,
"sceneDescription": "前车急刹,注意减速",
"sceneName": "前车急刹",
"sceneLevel": 0,
"sceneChannel": "",
"sceneSn": "",
"tts": "前车急刹注意减速",
"zoom": false,
"zoomScale": 15,
"lat": 40.968678,
"lon": 116.405467,
"userHead": "",
"msgImgUrl": "",
"polyline": [
[
116.737779,
40.196461
],
[
116.737689,
40.196462
],
[
116.737545,
40.196464
],
[
116.737396,
40.196465
],
[
116.737215,
40.196466
],
[
116.737064,
40.196467
],
[
116.736875,
40.196468
],
[
116.736744,
40.196468
],
[
116.736602,
40.196469
],
[
116.736458,
40.19647
],
[
116.736304,
40.196471
],
[
116.736175,
40.196472
],
[
116.736044,
40.196472
],
[
116.735883,
40.196473
],
[
116.735228,
40.196477
],
[
116.735117,
40.196478
],
[
116.734994,
40.196478
],
[
116.734878,
40.196479
],
[
116.734748,
40.19648
],
[
116.734636,
40.196481
],
[
116.734557,
40.196481
],
[
116.734472,
40.196481
],
[
116.734392,
40.196482
],
[
116.734293,
40.196482
],
[
116.734226,
40.196482
],
[
116.734138,
40.196483
],
[
116.733983,
40.196484
],
[
116.733862,
40.196485
],
[
116.733725,
40.196486
],
[
116.7336,
40.196486
],
[
116.733432,
40.196485
],
[
116.733331,
40.196484
],
[
116.733259,
40.196482
],
[
116.733173,
40.19648
],
[
116.733106,
40.196477
],
[
116.733002,
40.196471
],
[
116.732923,
40.196467
],
[
116.73282,
40.196459
],
[
116.732724,
40.19645
],
[
116.73263,
40.196441
],
[
116.732529,
40.19643
],
[
116.732431,
40.196419
],
[
116.732376,
40.196413
],
[
116.732295,
40.196403
],
[
116.732215,
40.196391
],
[
116.732154,
40.196382
],
[
116.732076,
40.196371
],
[
116.731991,
40.196356
],
[
116.731927,
40.196345
],
[
116.731847,
40.19633
],
[
116.73177,
40.196316
],
[
116.731728,
40.196307
],
[
116.731664,
40.196294
],
[
116.731571,
40.196274
],
[
116.731509,
40.19626
],
[
116.731435,
40.196244
],
[
116.731357,
40.196224
],
[
116.7313,
40.196211
],
[
116.731226,
40.196191
],
[
116.731148,
40.196171
],
[
116.731076,
40.19615
],
[
116.731016,
40.196133
],
[
116.730949,
40.196113
],
[
116.730892,
40.196096
],
[
116.730827,
40.196075
],
[
116.730761,
40.196053
],
[
116.730675,
40.196025
],
[
116.730616,
40.196005
],
[
116.730549,
40.195981
],
[
116.730353,
40.195908
],
[
116.730214,
40.195852
],
[
116.730081,
40.195798
],
[
116.729945,
40.195742
],
[
116.729836,
40.195699
],
[
116.729727,
40.195659
],
[
116.729611,
40.195616
],
[
116.729486,
40.195572
],
[
116.72935,
40.195529
],
[
116.729181,
40.195479
],
[
116.729013,
40.195434
],
[
116.728924,
40.195412
],
[
116.72877,
40.195374
],
[
116.728622,
40.195341
],
[
116.728469,
40.195308
],
[
116.728325,
40.195281
],
[
116.728174,
40.195254
],
[
116.728018,
40.195229
],
[
116.727794,
40.1952
],
[
116.727599,
40.195179
],
[
116.727432,
40.195165
],
[
116.727299,
40.195156
],
[
116.727073,
40.195145
],
[
116.72695,
40.195142
],
[
116.726733,
40.195139
],
[
116.726488,
40.19514
],
[
116.726312,
40.195141
],
[
116.726115,
40.195143
],
[
116.725869,
40.195148
],
[
116.725651,
40.195155
],
[
116.72537,
40.195161
],
[
116.725188,
40.195163
],
[
116.725092,
40.195162
],
[
116.725091,
40.195123
],
[
116.725335,
40.195123
],
[
116.725499,
40.195123
],
[
116.72602,
40.195109
],
[
116.726235,
40.195106
],
[
116.726424,
40.195105
],
[
116.726658,
40.195104
],
[
116.726733,
40.195105
],
[
116.72688,
40.195106
],
[
116.72704,
40.195109
],
[
116.727217,
40.195115
],
[
116.727388,
40.195124
],
[
116.727562,
40.195136
],
[
116.727735,
40.195155
],
[
116.727887,
40.195174
],
[
116.727979,
40.195186
],
[
116.728056,
40.195198
],
[
116.728165,
40.195216
],
[
116.728237,
40.195228
],
[
116.728345,
40.195247
],
[
116.728411,
40.19526
],
[
116.728533,
40.195283
],
[
116.728589,
40.195295
],
[
116.728694,
40.195318
],
[
116.728761,
40.195334
],
[
116.728868,
40.19536
],
[
116.728918,
40.195372
],
[
116.729088,
40.195416
],
[
116.729262,
40.195462
],
[
116.729424,
40.195512
],
[
116.729547,
40.195553
],
[
116.729584,
40.195566
],
[
116.729692,
40.195606
],
[
116.729739,
40.195624
],
[
116.729844,
40.195661
],
[
116.730011,
40.195726
],
[
116.73014,
40.195778
],
[
116.730309,
40.195849
],
[
116.730467,
40.195911
],
[
116.730608,
40.195962
],
[
116.730673,
40.195984
],
[
116.730766,
40.196015
],
[
116.730831,
40.196036
],
[
116.730935,
40.196069
],
[
116.730993,
40.196087
],
[
116.731086,
40.196113
],
[
116.731164,
40.196135
],
[
116.731285,
40.196165
],
[
116.731315,
40.196173
],
[
116.731434,
40.196202
],
[
116.731486,
40.196214
],
[
116.731586,
40.196238
],
[
116.731652,
40.196253
],
[
116.731749,
40.196273
],
[
116.731818,
40.196287
],
[
116.731924,
40.196305
],
[
116.731991,
40.196317
],
[
116.732108,
40.196336
],
[
116.732269,
40.196361
],
[
116.732333,
40.19637
],
[
116.732464,
40.196385
],
[
116.732507,
40.19639
],
[
116.732628,
40.196404
],
[
116.732678,
40.196409
],
[
116.732784,
40.196418
],
[
116.732851,
40.196424
],
[
116.732985,
40.196433
],
[
116.73314,
40.196439
],
[
116.733198,
40.196441
],
[
116.733379,
40.196445
],
[
116.733548,
40.196445
],
[
116.733722,
40.196445
],
[
116.733903,
40.196445
],
[
116.734081,
40.196447
],
[
116.734251,
40.196446
],
[
116.734439,
40.196445
],
[
116.734624,
40.196444
],
[
116.734805,
40.196442
],
[
116.734982,
40.196442
],
[
116.735164,
40.196441
],
[
116.735329,
40.19644
],
[
116.735519,
40.196438
],
[
116.735682,
40.196437
],
[
116.735855,
40.196437
],
[
116.736034,
40.196436
],
[
116.73621,
40.196435
],
[
116.736385,
40.196433
],
[
116.736566,
40.196433
],
[
116.736742,
40.196431
],
[
116.736926,
40.196431
],
[
116.737046,
40.19643
],
[
116.737173,
40.19643
],
[
116.737298,
40.196429
],
[
116.737449,
40.196427
],
[
116.737582,
40.196427
],
[
116.737662,
40.196425
],
[
116.737748,
40.196425
],
[
116.73778,
40.196424
]
]
}

View File

@@ -1,19 +0,0 @@
{
"sceneId": "200001",
"alarmContent": "发现前方双闪车辆注意绕行",
"expireTime": 30000,
"sceneCategory": 0,
"sceneDescription": "双闪车辆,自动绕行",
"sceneName": "双闪车辆,自动绕行",
"sceneLevel": 0,
"videoUrl": "",
"videoChannel": "",
"videoSn": "",
"tts": "发现前方双闪车辆注意绕行",
"zoom":false,
"zoomScale": 15,
"lat": 39.968678,
"lon": 116.405467,
"userHead": "",
"msgImgUrl": ""
}

View File

@@ -0,0 +1,429 @@
{
"sceneId": "200008",
"alarmContent": "拥堵路线推荐",
"expireTime": 30000,
"sceneCategory": 0,
"sceneDescription": "拥堵路线推荐",
"sceneName": "拥堵路线推荐",
"sceneLevel": 0,
"videoUrl": "",
"videoChannel": "",
"videoSn": "",
"tts": "发现前方拥堵最优路线快6分钟",
"zoom": false,
"zoomScale": 15,
"userHead": "",
"msgImgUrl": "",
"lat": 40.195246,
"lon": 116.728154,
"polyLine": [
[
116.725092,
40.195204
],
[
116.725192,
40.195205
],
[
116.725374,
40.195202
],
[
116.725656,
40.195194
],
[
116.725873,
40.195188
],
[
116.726119,
40.195184
],
[
116.726315,
40.195181
],
[
116.726492,
40.195179
],
[
116.726736,
40.195178
],
[
116.726953,
40.195182
],
[
116.727076,
40.195185
],
[
116.727301,
40.195196
],
[
116.727433,
40.195206
],
[
116.727599,
40.195221
],
[
116.727794,
40.195243
],
[
116.728016,
40.195272
],
[
116.728172,
40.195297
],
[
116.728324,
40.195324
],
[
116.728466,
40.195351
],
[
116.728619,
40.195383
],
[
116.728767,
40.195416
],
[
116.72892,
40.195454
],
[
116.729009,
40.195477
],
[
116.729176,
40.195522
],
[
116.729344,
40.195571
],
[
116.729479,
40.195614
],
[
116.729604,
40.195658
],
[
116.729719,
40.1957
],
[
116.729827,
40.195741
],
[
116.729936,
40.195785
],
[
116.730072,
40.195841
],
[
116.730205,
40.195895
],
[
116.730344,
40.19595
],
[
116.730542,
40.196022
],
[
116.730609,
40.196047
],
[
116.730668,
40.196067
],
[
116.730754,
40.196096
],
[
116.730821,
40.196117
],
[
116.730886,
40.196138
],
[
116.730943,
40.196156
],
[
116.731011,
40.196175
],
[
116.73107,
40.196192
],
[
116.731143,
40.196213
],
[
116.731221,
40.196233
],
[
116.731297,
40.196253
],
[
116.731353,
40.196266
],
[
116.731432,
40.196285
],
[
116.731506,
40.196303
],
[
116.731568,
40.196317
],
[
116.731661,
40.196337
],
[
116.731725,
40.19635
],
[
116.731767,
40.196358
],
[
116.731845,
40.196373
],
[
116.731925,
40.196387
],
[
116.73199,
40.196398
],
[
116.732075,
40.196412
],
[
116.732153,
40.196424
],
[
116.732215,
40.196433
],
[
116.732295,
40.196444
],
[
116.732376,
40.196454
],
[
116.732431,
40.196461
],
[
116.732529,
40.196472
],
[
116.73263,
40.196483
],
[
116.732725,
40.196492
],
[
116.732821,
40.196501
],
[
116.732925,
40.196509
],
[
116.733004,
40.196514
],
[
116.733108,
40.19652
],
[
116.733176,
40.196523
],
[
116.733262,
40.196526
],
[
116.733334,
40.196527
],
[
116.733436,
40.196528
],
[
116.733603,
40.196529
],
[
116.733728,
40.196528
],
[
116.733865,
40.196527
],
[
116.733986,
40.196526
],
[
116.734142,
40.196525
],
[
116.734229,
40.196524
],
[
116.734297,
40.196524
],
[
116.734396,
40.196524
],
[
116.734476,
40.196523
],
[
116.734561,
40.196523
],
[
116.73464,
40.196523
],
[
116.734752,
40.196522
],
[
116.734882,
40.196521
],
[
116.734997,
40.19652
],
[
116.73512,
40.19652
],
[
116.735232,
40.196519
],
[
116.735887,
40.196515
],
[
116.736048,
40.196515
],
[
116.736179,
40.196514
],
[
116.736308,
40.196513
],
[
116.736461,
40.196512
],
[
116.736606,
40.196511
],
[
116.736748,
40.19651
],
[
116.736879,
40.196509
],
[
116.737067,
40.196508
],
[
116.737219,
40.196507
],
[
116.737399,
40.196506
],
[
116.737549,
40.196505
],
[
116.737693,
40.196504
],
[
116.73778,
40.196504
]
]
}

View File

@@ -0,0 +1,429 @@
{
"sceneId": "200008",
"alarmContent": "拥堵路线推荐",
"expireTime": 30000,
"sceneCategory": 0,
"sceneDescription": "拥堵路线推荐",
"sceneName": "拥堵路线推荐",
"sceneLevel": 0,
"videoUrl": "",
"videoChannel": "",
"videoSn": "",
"tts": "发现前方拥堵最优路线快6分钟",
"zoom": false,
"zoomScale": 15,
"userHead": "",
"msgImgUrl": "",
"lat": 40.195246,
"lon": 116.728154,
"polyLine": [
[
116.725092,
40.195204
],
[
116.725192,
40.195205
],
[
116.725374,
40.195202
],
[
116.725656,
40.195194
],
[
116.725873,
40.195188
],
[
116.726119,
40.195184
],
[
116.726315,
40.195181
],
[
116.726492,
40.195179
],
[
116.726736,
40.195178
],
[
116.726953,
40.195182
],
[
116.727076,
40.195185
],
[
116.727301,
40.195196
],
[
116.727433,
40.195206
],
[
116.727599,
40.195221
],
[
116.727794,
40.195243
],
[
116.728016,
40.195272
],
[
116.728172,
40.195297
],
[
116.728324,
40.195324
],
[
116.728466,
40.195351
],
[
116.728619,
40.195383
],
[
116.728767,
40.195416
],
[
116.72892,
40.195454
],
[
116.729009,
40.195477
],
[
116.729176,
40.195522
],
[
116.729344,
40.195571
],
[
116.729479,
40.195614
],
[
116.729604,
40.195658
],
[
116.729719,
40.1957
],
[
116.729827,
40.195741
],
[
116.729936,
40.195785
],
[
116.730072,
40.195841
],
[
116.730205,
40.195895
],
[
116.730344,
40.19595
],
[
116.730542,
40.196022
],
[
116.730609,
40.196047
],
[
116.730668,
40.196067
],
[
116.730754,
40.196096
],
[
116.730821,
40.196117
],
[
116.730886,
40.196138
],
[
116.730943,
40.196156
],
[
116.731011,
40.196175
],
[
116.73107,
40.196192
],
[
116.731143,
40.196213
],
[
116.731221,
40.196233
],
[
116.731297,
40.196253
],
[
116.731353,
40.196266
],
[
116.731432,
40.196285
],
[
116.731506,
40.196303
],
[
116.731568,
40.196317
],
[
116.731661,
40.196337
],
[
116.731725,
40.19635
],
[
116.731767,
40.196358
],
[
116.731845,
40.196373
],
[
116.731925,
40.196387
],
[
116.73199,
40.196398
],
[
116.732075,
40.196412
],
[
116.732153,
40.196424
],
[
116.732215,
40.196433
],
[
116.732295,
40.196444
],
[
116.732376,
40.196454
],
[
116.732431,
40.196461
],
[
116.732529,
40.196472
],
[
116.73263,
40.196483
],
[
116.732725,
40.196492
],
[
116.732821,
40.196501
],
[
116.732925,
40.196509
],
[
116.733004,
40.196514
],
[
116.733108,
40.19652
],
[
116.733176,
40.196523
],
[
116.733262,
40.196526
],
[
116.733334,
40.196527
],
[
116.733436,
40.196528
],
[
116.733603,
40.196529
],
[
116.733728,
40.196528
],
[
116.733865,
40.196527
],
[
116.733986,
40.196526
],
[
116.734142,
40.196525
],
[
116.734229,
40.196524
],
[
116.734297,
40.196524
],
[
116.734396,
40.196524
],
[
116.734476,
40.196523
],
[
116.734561,
40.196523
],
[
116.73464,
40.196523
],
[
116.734752,
40.196522
],
[
116.734882,
40.196521
],
[
116.734997,
40.19652
],
[
116.73512,
40.19652
],
[
116.735232,
40.196519
],
[
116.735887,
40.196515
],
[
116.736048,
40.196515
],
[
116.736179,
40.196514
],
[
116.736308,
40.196513
],
[
116.736461,
40.196512
],
[
116.736606,
40.196511
],
[
116.736748,
40.19651
],
[
116.736879,
40.196509
],
[
116.737067,
40.196508
],
[
116.737219,
40.196507
],
[
116.737399,
40.196506
],
[
116.737549,
40.196505
],
[
116.737693,
40.196504
],
[
116.73778,
40.196504
]
]
}

View File

@@ -1,5 +1,5 @@
{
"sceneId": "200009",
"sceneId": "200001",
"alarmContent": "发现后方VIP车辆,请注意避让",
"expireTime": 30000,
"sceneCategory": 0,
@@ -11,12 +11,810 @@
"tts": "发现后方VIP车辆,注意避让",
"zoom": false,
"zoomScale": 15,
"location": {
"lat": 40.968678,
"lon": 116.405467
},
"lat": 40.968678,
"lon": 116.405467,
"userHead": "",
"msgImgUrl": ""
"msgImgUrl": "",
"polyline": [
[
116.737779,
40.196461
],
[
116.737689,
40.196462
],
[
116.737545,
40.196464
],
[
116.737396,
40.196465
],
[
116.737215,
40.196466
],
[
116.737064,
40.196467
],
[
116.736875,
40.196468
],
[
116.736744,
40.196468
],
[
116.736602,
40.196469
],
[
116.736458,
40.19647
],
[
116.736304,
40.196471
],
[
116.736175,
40.196472
],
[
116.736044,
40.196472
],
[
116.735883,
40.196473
],
[
116.735228,
40.196477
],
[
116.735117,
40.196478
],
[
116.734994,
40.196478
],
[
116.734878,
40.196479
],
[
116.734748,
40.19648
],
[
116.734636,
40.196481
],
[
116.734557,
40.196481
],
[
116.734472,
40.196481
],
[
116.734392,
40.196482
],
[
116.734293,
40.196482
],
[
116.734226,
40.196482
],
[
116.734138,
40.196483
],
[
116.733983,
40.196484
],
[
116.733862,
40.196485
],
[
116.733725,
40.196486
],
[
116.7336,
40.196486
],
[
116.733432,
40.196485
],
[
116.733331,
40.196484
],
[
116.733259,
40.196482
],
[
116.733173,
40.19648
],
[
116.733106,
40.196477
],
[
116.733002,
40.196471
],
[
116.732923,
40.196467
],
[
116.73282,
40.196459
],
[
116.732724,
40.19645
],
[
116.73263,
40.196441
],
[
116.732529,
40.19643
],
[
116.732431,
40.196419
],
[
116.732376,
40.196413
],
[
116.732295,
40.196403
],
[
116.732215,
40.196391
],
[
116.732154,
40.196382
],
[
116.732076,
40.196371
],
[
116.731991,
40.196356
],
[
116.731927,
40.196345
],
[
116.731847,
40.19633
],
[
116.73177,
40.196316
],
[
116.731728,
40.196307
],
[
116.731664,
40.196294
],
[
116.731571,
40.196274
],
[
116.731509,
40.19626
],
[
116.731435,
40.196244
],
[
116.731357,
40.196224
],
[
116.7313,
40.196211
],
[
116.731226,
40.196191
],
[
116.731148,
40.196171
],
[
116.731076,
40.19615
],
[
116.731016,
40.196133
],
[
116.730949,
40.196113
],
[
116.730892,
40.196096
],
[
116.730827,
40.196075
],
[
116.730761,
40.196053
],
[
116.730675,
40.196025
],
[
116.730616,
40.196005
],
[
116.730549,
40.195981
],
[
116.730353,
40.195908
],
[
116.730214,
40.195852
],
[
116.730081,
40.195798
],
[
116.729945,
40.195742
],
[
116.729836,
40.195699
],
[
116.729727,
40.195659
],
[
116.729611,
40.195616
],
[
116.729486,
40.195572
],
[
116.72935,
40.195529
],
[
116.729181,
40.195479
],
[
116.729013,
40.195434
],
[
116.728924,
40.195412
],
[
116.72877,
40.195374
],
[
116.728622,
40.195341
],
[
116.728469,
40.195308
],
[
116.728325,
40.195281
],
[
116.728174,
40.195254
],
[
116.728018,
40.195229
],
[
116.727794,
40.1952
],
[
116.727599,
40.195179
],
[
116.727432,
40.195165
],
[
116.727299,
40.195156
],
[
116.727073,
40.195145
],
[
116.72695,
40.195142
],
[
116.726733,
40.195139
],
[
116.726488,
40.19514
],
[
116.726312,
40.195141
],
[
116.726115,
40.195143
],
[
116.725869,
40.195148
],
[
116.725651,
40.195155
],
[
116.72537,
40.195161
],
[
116.725188,
40.195163
],
[
116.725092,
40.195162
],
[
116.725091,
40.195123
],
[
116.725335,
40.195123
],
[
116.725499,
40.195123
],
[
116.72602,
40.195109
],
[
116.726235,
40.195106
],
[
116.726424,
40.195105
],
[
116.726658,
40.195104
],
[
116.726733,
40.195105
],
[
116.72688,
40.195106
],
[
116.72704,
40.195109
],
[
116.727217,
40.195115
],
[
116.727388,
40.195124
],
[
116.727562,
40.195136
],
[
116.727735,
40.195155
],
[
116.727887,
40.195174
],
[
116.727979,
40.195186
],
[
116.728056,
40.195198
],
[
116.728165,
40.195216
],
[
116.728237,
40.195228
],
[
116.728345,
40.195247
],
[
116.728411,
40.19526
],
[
116.728533,
40.195283
],
[
116.728589,
40.195295
],
[
116.728694,
40.195318
],
[
116.728761,
40.195334
],
[
116.728868,
40.19536
],
[
116.728918,
40.195372
],
[
116.729088,
40.195416
],
[
116.729262,
40.195462
],
[
116.729424,
40.195512
],
[
116.729547,
40.195553
],
[
116.729584,
40.195566
],
[
116.729692,
40.195606
],
[
116.729739,
40.195624
],
[
116.729844,
40.195661
],
[
116.730011,
40.195726
],
[
116.73014,
40.195778
],
[
116.730309,
40.195849
],
[
116.730467,
40.195911
],
[
116.730608,
40.195962
],
[
116.730673,
40.195984
],
[
116.730766,
40.196015
],
[
116.730831,
40.196036
],
[
116.730935,
40.196069
],
[
116.730993,
40.196087
],
[
116.731086,
40.196113
],
[
116.731164,
40.196135
],
[
116.731285,
40.196165
],
[
116.731315,
40.196173
],
[
116.731434,
40.196202
],
[
116.731486,
40.196214
],
[
116.731586,
40.196238
],
[
116.731652,
40.196253
],
[
116.731749,
40.196273
],
[
116.731818,
40.196287
],
[
116.731924,
40.196305
],
[
116.731991,
40.196317
],
[
116.732108,
40.196336
],
[
116.732269,
40.196361
],
[
116.732333,
40.19637
],
[
116.732464,
40.196385
],
[
116.732507,
40.19639
],
[
116.732628,
40.196404
],
[
116.732678,
40.196409
],
[
116.732784,
40.196418
],
[
116.732851,
40.196424
],
[
116.732985,
40.196433
],
[
116.73314,
40.196439
],
[
116.733198,
40.196441
],
[
116.733379,
40.196445
],
[
116.733548,
40.196445
],
[
116.733722,
40.196445
],
[
116.733903,
40.196445
],
[
116.734081,
40.196447
],
[
116.734251,
40.196446
],
[
116.734439,
40.196445
],
[
116.734624,
40.196444
],
[
116.734805,
40.196442
],
[
116.734982,
40.196442
],
[
116.735164,
40.196441
],
[
116.735329,
40.19644
],
[
116.735519,
40.196438
],
[
116.735682,
40.196437
],
[
116.735855,
40.196437
],
[
116.736034,
40.196436
],
[
116.73621,
40.196435
],
[
116.736385,
40.196433
],
[
116.736566,
40.196433
],
[
116.736742,
40.196431
],
[
116.736926,
40.196431
],
[
116.737046,
40.19643
],
[
116.737173,
40.19643
],
[
116.737298,
40.196429
],
[
116.737449,
40.196427
],
[
116.737582,
40.196427
],
[
116.737662,
40.196425
],
[
116.737748,
40.196425
],
[
116.73778,
40.196424
]
]
}

View File

@@ -1,5 +1,5 @@
{
"sceneId": "200006",
"sceneId": "200004",
"alarmContent": "发现逆向来车,注意减速慢行",
"expireTime": 30000,
"sceneCategory": 0,
@@ -11,12 +11,810 @@
"tts": "对向来车注意减速",
"zoom": false,
"zoomScale": 15,
"location": {
"lat": 40.968678,
"lon": 116.405467
},
"lat": 40.968678,
"lon": 116.405467,
"userHead": "",
"msgImgUrl": ""
"msgImgUrl": "",
"polyline": [
[
116.737779,
40.196461
],
[
116.737689,
40.196462
],
[
116.737545,
40.196464
],
[
116.737396,
40.196465
],
[
116.737215,
40.196466
],
[
116.737064,
40.196467
],
[
116.736875,
40.196468
],
[
116.736744,
40.196468
],
[
116.736602,
40.196469
],
[
116.736458,
40.19647
],
[
116.736304,
40.196471
],
[
116.736175,
40.196472
],
[
116.736044,
40.196472
],
[
116.735883,
40.196473
],
[
116.735228,
40.196477
],
[
116.735117,
40.196478
],
[
116.734994,
40.196478
],
[
116.734878,
40.196479
],
[
116.734748,
40.19648
],
[
116.734636,
40.196481
],
[
116.734557,
40.196481
],
[
116.734472,
40.196481
],
[
116.734392,
40.196482
],
[
116.734293,
40.196482
],
[
116.734226,
40.196482
],
[
116.734138,
40.196483
],
[
116.733983,
40.196484
],
[
116.733862,
40.196485
],
[
116.733725,
40.196486
],
[
116.7336,
40.196486
],
[
116.733432,
40.196485
],
[
116.733331,
40.196484
],
[
116.733259,
40.196482
],
[
116.733173,
40.19648
],
[
116.733106,
40.196477
],
[
116.733002,
40.196471
],
[
116.732923,
40.196467
],
[
116.73282,
40.196459
],
[
116.732724,
40.19645
],
[
116.73263,
40.196441
],
[
116.732529,
40.19643
],
[
116.732431,
40.196419
],
[
116.732376,
40.196413
],
[
116.732295,
40.196403
],
[
116.732215,
40.196391
],
[
116.732154,
40.196382
],
[
116.732076,
40.196371
],
[
116.731991,
40.196356
],
[
116.731927,
40.196345
],
[
116.731847,
40.19633
],
[
116.73177,
40.196316
],
[
116.731728,
40.196307
],
[
116.731664,
40.196294
],
[
116.731571,
40.196274
],
[
116.731509,
40.19626
],
[
116.731435,
40.196244
],
[
116.731357,
40.196224
],
[
116.7313,
40.196211
],
[
116.731226,
40.196191
],
[
116.731148,
40.196171
],
[
116.731076,
40.19615
],
[
116.731016,
40.196133
],
[
116.730949,
40.196113
],
[
116.730892,
40.196096
],
[
116.730827,
40.196075
],
[
116.730761,
40.196053
],
[
116.730675,
40.196025
],
[
116.730616,
40.196005
],
[
116.730549,
40.195981
],
[
116.730353,
40.195908
],
[
116.730214,
40.195852
],
[
116.730081,
40.195798
],
[
116.729945,
40.195742
],
[
116.729836,
40.195699
],
[
116.729727,
40.195659
],
[
116.729611,
40.195616
],
[
116.729486,
40.195572
],
[
116.72935,
40.195529
],
[
116.729181,
40.195479
],
[
116.729013,
40.195434
],
[
116.728924,
40.195412
],
[
116.72877,
40.195374
],
[
116.728622,
40.195341
],
[
116.728469,
40.195308
],
[
116.728325,
40.195281
],
[
116.728174,
40.195254
],
[
116.728018,
40.195229
],
[
116.727794,
40.1952
],
[
116.727599,
40.195179
],
[
116.727432,
40.195165
],
[
116.727299,
40.195156
],
[
116.727073,
40.195145
],
[
116.72695,
40.195142
],
[
116.726733,
40.195139
],
[
116.726488,
40.19514
],
[
116.726312,
40.195141
],
[
116.726115,
40.195143
],
[
116.725869,
40.195148
],
[
116.725651,
40.195155
],
[
116.72537,
40.195161
],
[
116.725188,
40.195163
],
[
116.725092,
40.195162
],
[
116.725091,
40.195123
],
[
116.725335,
40.195123
],
[
116.725499,
40.195123
],
[
116.72602,
40.195109
],
[
116.726235,
40.195106
],
[
116.726424,
40.195105
],
[
116.726658,
40.195104
],
[
116.726733,
40.195105
],
[
116.72688,
40.195106
],
[
116.72704,
40.195109
],
[
116.727217,
40.195115
],
[
116.727388,
40.195124
],
[
116.727562,
40.195136
],
[
116.727735,
40.195155
],
[
116.727887,
40.195174
],
[
116.727979,
40.195186
],
[
116.728056,
40.195198
],
[
116.728165,
40.195216
],
[
116.728237,
40.195228
],
[
116.728345,
40.195247
],
[
116.728411,
40.19526
],
[
116.728533,
40.195283
],
[
116.728589,
40.195295
],
[
116.728694,
40.195318
],
[
116.728761,
40.195334
],
[
116.728868,
40.19536
],
[
116.728918,
40.195372
],
[
116.729088,
40.195416
],
[
116.729262,
40.195462
],
[
116.729424,
40.195512
],
[
116.729547,
40.195553
],
[
116.729584,
40.195566
],
[
116.729692,
40.195606
],
[
116.729739,
40.195624
],
[
116.729844,
40.195661
],
[
116.730011,
40.195726
],
[
116.73014,
40.195778
],
[
116.730309,
40.195849
],
[
116.730467,
40.195911
],
[
116.730608,
40.195962
],
[
116.730673,
40.195984
],
[
116.730766,
40.196015
],
[
116.730831,
40.196036
],
[
116.730935,
40.196069
],
[
116.730993,
40.196087
],
[
116.731086,
40.196113
],
[
116.731164,
40.196135
],
[
116.731285,
40.196165
],
[
116.731315,
40.196173
],
[
116.731434,
40.196202
],
[
116.731486,
40.196214
],
[
116.731586,
40.196238
],
[
116.731652,
40.196253
],
[
116.731749,
40.196273
],
[
116.731818,
40.196287
],
[
116.731924,
40.196305
],
[
116.731991,
40.196317
],
[
116.732108,
40.196336
],
[
116.732269,
40.196361
],
[
116.732333,
40.19637
],
[
116.732464,
40.196385
],
[
116.732507,
40.19639
],
[
116.732628,
40.196404
],
[
116.732678,
40.196409
],
[
116.732784,
40.196418
],
[
116.732851,
40.196424
],
[
116.732985,
40.196433
],
[
116.73314,
40.196439
],
[
116.733198,
40.196441
],
[
116.733379,
40.196445
],
[
116.733548,
40.196445
],
[
116.733722,
40.196445
],
[
116.733903,
40.196445
],
[
116.734081,
40.196447
],
[
116.734251,
40.196446
],
[
116.734439,
40.196445
],
[
116.734624,
40.196444
],
[
116.734805,
40.196442
],
[
116.734982,
40.196442
],
[
116.735164,
40.196441
],
[
116.735329,
40.19644
],
[
116.735519,
40.196438
],
[
116.735682,
40.196437
],
[
116.735855,
40.196437
],
[
116.736034,
40.196436
],
[
116.73621,
40.196435
],
[
116.736385,
40.196433
],
[
116.736566,
40.196433
],
[
116.736742,
40.196431
],
[
116.736926,
40.196431
],
[
116.737046,
40.19643
],
[
116.737173,
40.19643
],
[
116.737298,
40.196429
],
[
116.737449,
40.196427
],
[
116.737582,
40.196427
],
[
116.737662,
40.196425
],
[
116.737748,
40.196425
],
[
116.73778,
40.196424
]
]
}

View File

@@ -0,0 +1,820 @@
{
"sceneId": "200005",
"alarmContent": "让救护车、警车、消防车等VIP车辆通行时免去等待红灯时间提高vip车辆通过效率",
"expireTime": 30000,
"sceneCategory": 0,
"sceneDescription": "VIP车辆通过可改变路口红绿灯状态",
"sceneName": "VIP变灯通行",
"sceneLevel": 0,
"sceneChannel": "",
"sceneSn": "",
"tts": "已为您变灯,可优先通行",
"zoom": false,
"zoomScale": 15,
"lat": 40.968678,
"lon": 116.405467,
"userHead": "",
"msgImgUrl": "",
"polyline": [
[
116.737779,
40.196461
],
[
116.737689,
40.196462
],
[
116.737545,
40.196464
],
[
116.737396,
40.196465
],
[
116.737215,
40.196466
],
[
116.737064,
40.196467
],
[
116.736875,
40.196468
],
[
116.736744,
40.196468
],
[
116.736602,
40.196469
],
[
116.736458,
40.19647
],
[
116.736304,
40.196471
],
[
116.736175,
40.196472
],
[
116.736044,
40.196472
],
[
116.735883,
40.196473
],
[
116.735228,
40.196477
],
[
116.735117,
40.196478
],
[
116.734994,
40.196478
],
[
116.734878,
40.196479
],
[
116.734748,
40.19648
],
[
116.734636,
40.196481
],
[
116.734557,
40.196481
],
[
116.734472,
40.196481
],
[
116.734392,
40.196482
],
[
116.734293,
40.196482
],
[
116.734226,
40.196482
],
[
116.734138,
40.196483
],
[
116.733983,
40.196484
],
[
116.733862,
40.196485
],
[
116.733725,
40.196486
],
[
116.7336,
40.196486
],
[
116.733432,
40.196485
],
[
116.733331,
40.196484
],
[
116.733259,
40.196482
],
[
116.733173,
40.19648
],
[
116.733106,
40.196477
],
[
116.733002,
40.196471
],
[
116.732923,
40.196467
],
[
116.73282,
40.196459
],
[
116.732724,
40.19645
],
[
116.73263,
40.196441
],
[
116.732529,
40.19643
],
[
116.732431,
40.196419
],
[
116.732376,
40.196413
],
[
116.732295,
40.196403
],
[
116.732215,
40.196391
],
[
116.732154,
40.196382
],
[
116.732076,
40.196371
],
[
116.731991,
40.196356
],
[
116.731927,
40.196345
],
[
116.731847,
40.19633
],
[
116.73177,
40.196316
],
[
116.731728,
40.196307
],
[
116.731664,
40.196294
],
[
116.731571,
40.196274
],
[
116.731509,
40.19626
],
[
116.731435,
40.196244
],
[
116.731357,
40.196224
],
[
116.7313,
40.196211
],
[
116.731226,
40.196191
],
[
116.731148,
40.196171
],
[
116.731076,
40.19615
],
[
116.731016,
40.196133
],
[
116.730949,
40.196113
],
[
116.730892,
40.196096
],
[
116.730827,
40.196075
],
[
116.730761,
40.196053
],
[
116.730675,
40.196025
],
[
116.730616,
40.196005
],
[
116.730549,
40.195981
],
[
116.730353,
40.195908
],
[
116.730214,
40.195852
],
[
116.730081,
40.195798
],
[
116.729945,
40.195742
],
[
116.729836,
40.195699
],
[
116.729727,
40.195659
],
[
116.729611,
40.195616
],
[
116.729486,
40.195572
],
[
116.72935,
40.195529
],
[
116.729181,
40.195479
],
[
116.729013,
40.195434
],
[
116.728924,
40.195412
],
[
116.72877,
40.195374
],
[
116.728622,
40.195341
],
[
116.728469,
40.195308
],
[
116.728325,
40.195281
],
[
116.728174,
40.195254
],
[
116.728018,
40.195229
],
[
116.727794,
40.1952
],
[
116.727599,
40.195179
],
[
116.727432,
40.195165
],
[
116.727299,
40.195156
],
[
116.727073,
40.195145
],
[
116.72695,
40.195142
],
[
116.726733,
40.195139
],
[
116.726488,
40.19514
],
[
116.726312,
40.195141
],
[
116.726115,
40.195143
],
[
116.725869,
40.195148
],
[
116.725651,
40.195155
],
[
116.72537,
40.195161
],
[
116.725188,
40.195163
],
[
116.725092,
40.195162
],
[
116.725091,
40.195123
],
[
116.725335,
40.195123
],
[
116.725499,
40.195123
],
[
116.72602,
40.195109
],
[
116.726235,
40.195106
],
[
116.726424,
40.195105
],
[
116.726658,
40.195104
],
[
116.726733,
40.195105
],
[
116.72688,
40.195106
],
[
116.72704,
40.195109
],
[
116.727217,
40.195115
],
[
116.727388,
40.195124
],
[
116.727562,
40.195136
],
[
116.727735,
40.195155
],
[
116.727887,
40.195174
],
[
116.727979,
40.195186
],
[
116.728056,
40.195198
],
[
116.728165,
40.195216
],
[
116.728237,
40.195228
],
[
116.728345,
40.195247
],
[
116.728411,
40.19526
],
[
116.728533,
40.195283
],
[
116.728589,
40.195295
],
[
116.728694,
40.195318
],
[
116.728761,
40.195334
],
[
116.728868,
40.19536
],
[
116.728918,
40.195372
],
[
116.729088,
40.195416
],
[
116.729262,
40.195462
],
[
116.729424,
40.195512
],
[
116.729547,
40.195553
],
[
116.729584,
40.195566
],
[
116.729692,
40.195606
],
[
116.729739,
40.195624
],
[
116.729844,
40.195661
],
[
116.730011,
40.195726
],
[
116.73014,
40.195778
],
[
116.730309,
40.195849
],
[
116.730467,
40.195911
],
[
116.730608,
40.195962
],
[
116.730673,
40.195984
],
[
116.730766,
40.196015
],
[
116.730831,
40.196036
],
[
116.730935,
40.196069
],
[
116.730993,
40.196087
],
[
116.731086,
40.196113
],
[
116.731164,
40.196135
],
[
116.731285,
40.196165
],
[
116.731315,
40.196173
],
[
116.731434,
40.196202
],
[
116.731486,
40.196214
],
[
116.731586,
40.196238
],
[
116.731652,
40.196253
],
[
116.731749,
40.196273
],
[
116.731818,
40.196287
],
[
116.731924,
40.196305
],
[
116.731991,
40.196317
],
[
116.732108,
40.196336
],
[
116.732269,
40.196361
],
[
116.732333,
40.19637
],
[
116.732464,
40.196385
],
[
116.732507,
40.19639
],
[
116.732628,
40.196404
],
[
116.732678,
40.196409
],
[
116.732784,
40.196418
],
[
116.732851,
40.196424
],
[
116.732985,
40.196433
],
[
116.73314,
40.196439
],
[
116.733198,
40.196441
],
[
116.733379,
40.196445
],
[
116.733548,
40.196445
],
[
116.733722,
40.196445
],
[
116.733903,
40.196445
],
[
116.734081,
40.196447
],
[
116.734251,
40.196446
],
[
116.734439,
40.196445
],
[
116.734624,
40.196444
],
[
116.734805,
40.196442
],
[
116.734982,
40.196442
],
[
116.735164,
40.196441
],
[
116.735329,
40.19644
],
[
116.735519,
40.196438
],
[
116.735682,
40.196437
],
[
116.735855,
40.196437
],
[
116.736034,
40.196436
],
[
116.73621,
40.196435
],
[
116.736385,
40.196433
],
[
116.736566,
40.196433
],
[
116.736742,
40.196431
],
[
116.736926,
40.196431
],
[
116.737046,
40.19643
],
[
116.737173,
40.19643
],
[
116.737298,
40.196429
],
[
116.737449,
40.196427
],
[
116.737582,
40.196427
],
[
116.737662,
40.196425
],
[
116.737748,
40.196425
],
[
116.73778,
40.196424
]
]
}

View File

@@ -0,0 +1,820 @@
{
"sceneId": "200006",
"alarmContent": "展现行人预测、提前预警能力",
"expireTime": 30000,
"sceneCategory": 0,
"sceneDescription": "行人碰撞预警系统可提前告知通过车辆有行人通过,降低该类型交通事件发生概率",
"sceneName": "行人预警,行人路线预测",
"sceneLevel": 0,
"sceneChannel": "",
"sceneSn": "",
"tts": "检测到路口行人穿行注意避让",
"zoom": false,
"zoomScale": 15,
"lat": 40.968678,
"lon": 116.405467,
"userHead": "",
"msgImgUrl": "",
"polyline": [
[
116.737779,
40.196461
],
[
116.737689,
40.196462
],
[
116.737545,
40.196464
],
[
116.737396,
40.196465
],
[
116.737215,
40.196466
],
[
116.737064,
40.196467
],
[
116.736875,
40.196468
],
[
116.736744,
40.196468
],
[
116.736602,
40.196469
],
[
116.736458,
40.19647
],
[
116.736304,
40.196471
],
[
116.736175,
40.196472
],
[
116.736044,
40.196472
],
[
116.735883,
40.196473
],
[
116.735228,
40.196477
],
[
116.735117,
40.196478
],
[
116.734994,
40.196478
],
[
116.734878,
40.196479
],
[
116.734748,
40.19648
],
[
116.734636,
40.196481
],
[
116.734557,
40.196481
],
[
116.734472,
40.196481
],
[
116.734392,
40.196482
],
[
116.734293,
40.196482
],
[
116.734226,
40.196482
],
[
116.734138,
40.196483
],
[
116.733983,
40.196484
],
[
116.733862,
40.196485
],
[
116.733725,
40.196486
],
[
116.7336,
40.196486
],
[
116.733432,
40.196485
],
[
116.733331,
40.196484
],
[
116.733259,
40.196482
],
[
116.733173,
40.19648
],
[
116.733106,
40.196477
],
[
116.733002,
40.196471
],
[
116.732923,
40.196467
],
[
116.73282,
40.196459
],
[
116.732724,
40.19645
],
[
116.73263,
40.196441
],
[
116.732529,
40.19643
],
[
116.732431,
40.196419
],
[
116.732376,
40.196413
],
[
116.732295,
40.196403
],
[
116.732215,
40.196391
],
[
116.732154,
40.196382
],
[
116.732076,
40.196371
],
[
116.731991,
40.196356
],
[
116.731927,
40.196345
],
[
116.731847,
40.19633
],
[
116.73177,
40.196316
],
[
116.731728,
40.196307
],
[
116.731664,
40.196294
],
[
116.731571,
40.196274
],
[
116.731509,
40.19626
],
[
116.731435,
40.196244
],
[
116.731357,
40.196224
],
[
116.7313,
40.196211
],
[
116.731226,
40.196191
],
[
116.731148,
40.196171
],
[
116.731076,
40.19615
],
[
116.731016,
40.196133
],
[
116.730949,
40.196113
],
[
116.730892,
40.196096
],
[
116.730827,
40.196075
],
[
116.730761,
40.196053
],
[
116.730675,
40.196025
],
[
116.730616,
40.196005
],
[
116.730549,
40.195981
],
[
116.730353,
40.195908
],
[
116.730214,
40.195852
],
[
116.730081,
40.195798
],
[
116.729945,
40.195742
],
[
116.729836,
40.195699
],
[
116.729727,
40.195659
],
[
116.729611,
40.195616
],
[
116.729486,
40.195572
],
[
116.72935,
40.195529
],
[
116.729181,
40.195479
],
[
116.729013,
40.195434
],
[
116.728924,
40.195412
],
[
116.72877,
40.195374
],
[
116.728622,
40.195341
],
[
116.728469,
40.195308
],
[
116.728325,
40.195281
],
[
116.728174,
40.195254
],
[
116.728018,
40.195229
],
[
116.727794,
40.1952
],
[
116.727599,
40.195179
],
[
116.727432,
40.195165
],
[
116.727299,
40.195156
],
[
116.727073,
40.195145
],
[
116.72695,
40.195142
],
[
116.726733,
40.195139
],
[
116.726488,
40.19514
],
[
116.726312,
40.195141
],
[
116.726115,
40.195143
],
[
116.725869,
40.195148
],
[
116.725651,
40.195155
],
[
116.72537,
40.195161
],
[
116.725188,
40.195163
],
[
116.725092,
40.195162
],
[
116.725091,
40.195123
],
[
116.725335,
40.195123
],
[
116.725499,
40.195123
],
[
116.72602,
40.195109
],
[
116.726235,
40.195106
],
[
116.726424,
40.195105
],
[
116.726658,
40.195104
],
[
116.726733,
40.195105
],
[
116.72688,
40.195106
],
[
116.72704,
40.195109
],
[
116.727217,
40.195115
],
[
116.727388,
40.195124
],
[
116.727562,
40.195136
],
[
116.727735,
40.195155
],
[
116.727887,
40.195174
],
[
116.727979,
40.195186
],
[
116.728056,
40.195198
],
[
116.728165,
40.195216
],
[
116.728237,
40.195228
],
[
116.728345,
40.195247
],
[
116.728411,
40.19526
],
[
116.728533,
40.195283
],
[
116.728589,
40.195295
],
[
116.728694,
40.195318
],
[
116.728761,
40.195334
],
[
116.728868,
40.19536
],
[
116.728918,
40.195372
],
[
116.729088,
40.195416
],
[
116.729262,
40.195462
],
[
116.729424,
40.195512
],
[
116.729547,
40.195553
],
[
116.729584,
40.195566
],
[
116.729692,
40.195606
],
[
116.729739,
40.195624
],
[
116.729844,
40.195661
],
[
116.730011,
40.195726
],
[
116.73014,
40.195778
],
[
116.730309,
40.195849
],
[
116.730467,
40.195911
],
[
116.730608,
40.195962
],
[
116.730673,
40.195984
],
[
116.730766,
40.196015
],
[
116.730831,
40.196036
],
[
116.730935,
40.196069
],
[
116.730993,
40.196087
],
[
116.731086,
40.196113
],
[
116.731164,
40.196135
],
[
116.731285,
40.196165
],
[
116.731315,
40.196173
],
[
116.731434,
40.196202
],
[
116.731486,
40.196214
],
[
116.731586,
40.196238
],
[
116.731652,
40.196253
],
[
116.731749,
40.196273
],
[
116.731818,
40.196287
],
[
116.731924,
40.196305
],
[
116.731991,
40.196317
],
[
116.732108,
40.196336
],
[
116.732269,
40.196361
],
[
116.732333,
40.19637
],
[
116.732464,
40.196385
],
[
116.732507,
40.19639
],
[
116.732628,
40.196404
],
[
116.732678,
40.196409
],
[
116.732784,
40.196418
],
[
116.732851,
40.196424
],
[
116.732985,
40.196433
],
[
116.73314,
40.196439
],
[
116.733198,
40.196441
],
[
116.733379,
40.196445
],
[
116.733548,
40.196445
],
[
116.733722,
40.196445
],
[
116.733903,
40.196445
],
[
116.734081,
40.196447
],
[
116.734251,
40.196446
],
[
116.734439,
40.196445
],
[
116.734624,
40.196444
],
[
116.734805,
40.196442
],
[
116.734982,
40.196442
],
[
116.735164,
40.196441
],
[
116.735329,
40.19644
],
[
116.735519,
40.196438
],
[
116.735682,
40.196437
],
[
116.735855,
40.196437
],
[
116.736034,
40.196436
],
[
116.73621,
40.196435
],
[
116.736385,
40.196433
],
[
116.736566,
40.196433
],
[
116.736742,
40.196431
],
[
116.736926,
40.196431
],
[
116.737046,
40.19643
],
[
116.737173,
40.19643
],
[
116.737298,
40.196429
],
[
116.737449,
40.196427
],
[
116.737582,
40.196427
],
[
116.737662,
40.196425
],
[
116.737748,
40.196425
],
[
116.73778,
40.196424
]
]
}

View File

@@ -1,5 +1,6 @@
package com.mogo.module.machine.vision;
import com.mogo.module.common.drawer.SnapshotSetDataDrawer;
import com.mogo.module.common.entity.MogoSnapshotSetData;
public
@@ -50,6 +51,6 @@ class MachineVisionMapViewHandler {
if ( mMachineVisionMapView == null ) {
return;
}
SnapshotSetDataDrawer.getInstance().renderSnapshotData( data, false );
}
}

View File

@@ -18,6 +18,7 @@ class ADASRecognizedListResult {
public List< LatLon > latLonList;
public static class LatLon {
public LatLon( double lat, double lon ) {
this.lat = lat;
this.lon = lon;