Merge remote-tracking branch 'origin/dev_arch_opt_3.0' into dev_arch_opt_3.0
This commit is contained in:
@@ -62,7 +62,6 @@ dependencies {
|
|||||||
implementation rootProject.ext.dependencies.androidxroomktx
|
implementation rootProject.ext.dependencies.androidxroomktx
|
||||||
|
|
||||||
implementation project(':foudations:mogo-commons')
|
implementation project(':foudations:mogo-commons')
|
||||||
implementation project(':core:mogo-core-data')
|
|
||||||
implementation project(':core:mogo-core-utils')
|
implementation project(':core:mogo-core-utils')
|
||||||
implementation project(':core:mogo-core-network')
|
implementation project(':core:mogo-core-network')
|
||||||
implementation project(':core:mogo-core-function-call')
|
implementation project(':core:mogo-core-function-call')
|
||||||
|
|||||||
@@ -61,13 +61,11 @@ dependencies {
|
|||||||
implementation rootProject.ext.dependencies.androidxrecyclerview
|
implementation rootProject.ext.dependencies.androidxrecyclerview
|
||||||
|
|
||||||
if (Boolean.valueOf(USE_MAVEN_PACKAGE)) {
|
if (Boolean.valueOf(USE_MAVEN_PACKAGE)) {
|
||||||
implementation rootProject.ext.dependencies.mogo_core_data
|
|
||||||
implementation rootProject.ext.dependencies.mogo_core_utils
|
implementation rootProject.ext.dependencies.mogo_core_utils
|
||||||
implementation rootProject.ext.dependencies.mogo_core_function_call
|
implementation rootProject.ext.dependencies.mogo_core_function_call
|
||||||
implementation rootProject.ext.dependencies.mogo_core_res
|
implementation rootProject.ext.dependencies.mogo_core_res
|
||||||
} else {
|
} else {
|
||||||
implementation project(':foudations:mogo-commons')
|
implementation project(':foudations:mogo-commons')
|
||||||
implementation project(':core:mogo-core-data')
|
|
||||||
implementation project(':core:mogo-core-utils')
|
implementation project(':core:mogo-core-utils')
|
||||||
implementation project(':core:mogo-core-function-call')
|
implementation project(':core:mogo-core-function-call')
|
||||||
implementation project(':core:mogo-core-res')
|
implementation project(':core:mogo-core-res')
|
||||||
|
|||||||
@@ -60,17 +60,14 @@ dependencies {
|
|||||||
implementation rootProject.ext.dependencies.amapnavi3dmap
|
implementation rootProject.ext.dependencies.amapnavi3dmap
|
||||||
|
|
||||||
if (Boolean.valueOf(USE_MAVEN_PACKAGE)) {
|
if (Boolean.valueOf(USE_MAVEN_PACKAGE)) {
|
||||||
implementation rootProject.ext.dependencies.mogo_core_data
|
|
||||||
implementation rootProject.ext.dependencies.mogo_core_utils
|
implementation rootProject.ext.dependencies.mogo_core_utils
|
||||||
implementation rootProject.ext.dependencies.mogo_core_function_call
|
implementation rootProject.ext.dependencies.mogo_core_function_call
|
||||||
|
|
||||||
implementation project(':libraries:mogo-adas')
|
implementation project(':libraries:mogo-adas')
|
||||||
implementation rootProject.ext.dependencies.mogocommons
|
implementation rootProject.ext.dependencies.mogocommons
|
||||||
} else {
|
} else {
|
||||||
implementation project(':core:mogo-core-data')
|
|
||||||
implementation project(':core:mogo-core-utils')
|
implementation project(':core:mogo-core-utils')
|
||||||
implementation project(':core:mogo-core-function-call')
|
implementation project(':core:mogo-core-function-call')
|
||||||
|
|
||||||
implementation project(':libraries:mogo-adas')
|
implementation project(':libraries:mogo-adas')
|
||||||
implementation project(':foudations:mogo-commons')
|
implementation project(':foudations:mogo-commons')
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -88,14 +88,11 @@ dependencies {
|
|||||||
if (Boolean.valueOf(USE_MAVEN_PACKAGE)) {
|
if (Boolean.valueOf(USE_MAVEN_PACKAGE)) {
|
||||||
implementation rootProject.ext.dependencies.mogo_core_utils
|
implementation rootProject.ext.dependencies.mogo_core_utils
|
||||||
implementation rootProject.ext.dependencies.mogo_core_function_call
|
implementation rootProject.ext.dependencies.mogo_core_function_call
|
||||||
implementation rootProject.ext.dependencies.mogo_core_data
|
|
||||||
implementation rootProject.ext.dependencies.mogo_core_res
|
implementation rootProject.ext.dependencies.mogo_core_res
|
||||||
}else {
|
}else {
|
||||||
implementation project(':foudations:mogo-aicloud-services-sdk')
|
|
||||||
implementation project(':foudations:mogo-commons')
|
implementation project(':foudations:mogo-commons')
|
||||||
implementation project(':core:mogo-core-utils')
|
implementation project(':core:mogo-core-utils')
|
||||||
implementation project(':core:mogo-core-function-call')
|
implementation project(':core:mogo-core-function-call')
|
||||||
implementation project(':core:mogo-core-data')
|
|
||||||
implementation project(':core:mogo-core-res')
|
implementation project(':core:mogo-core-res')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -82,8 +82,6 @@ dependencies {
|
|||||||
compileOnly rootProject.ext.dependencies.mogocommons
|
compileOnly rootProject.ext.dependencies.mogocommons
|
||||||
compileOnly rootProject.ext.dependencies.mogo_core_res
|
compileOnly rootProject.ext.dependencies.mogo_core_res
|
||||||
compileOnly rootProject.ext.dependencies.mogo_core_utils
|
compileOnly rootProject.ext.dependencies.mogo_core_utils
|
||||||
compileOnly rootProject.ext.dependencies.mogo_core_function_map
|
|
||||||
compileOnly rootProject.ext.dependencies.mogo_core_function_devatools
|
|
||||||
compileOnly rootProject.ext.dependencies.mogo_core_function_datacenter
|
compileOnly rootProject.ext.dependencies.mogo_core_function_datacenter
|
||||||
compileOnly rootProject.ext.dependencies.mogo_core_function_call
|
compileOnly rootProject.ext.dependencies.mogo_core_function_call
|
||||||
compileOnly project(':libraries:mogo-adas')
|
compileOnly project(':libraries:mogo-adas')
|
||||||
|
|||||||
@@ -75,13 +75,10 @@ dependencies {
|
|||||||
implementation rootProject.ext.dependencies.mogo_core_function_call
|
implementation rootProject.ext.dependencies.mogo_core_function_call
|
||||||
|
|
||||||
implementation rootProject.ext.dependencies.mogomap
|
implementation rootProject.ext.dependencies.mogomap
|
||||||
implementation rootProject.ext.dependencies.mogomapapi
|
|
||||||
} else {
|
} else {
|
||||||
implementation project(':foudations:mogo-commons')
|
implementation project(':foudations:mogo-commons')
|
||||||
implementation project(':core:mogo-core-res')
|
implementation project(':core:mogo-core-res')
|
||||||
implementation project(':core:mogo-core-data')
|
|
||||||
implementation project(':core:mogo-core-utils')
|
implementation project(':core:mogo-core-utils')
|
||||||
implementation project(':core:function-impl:mogo-core-function-datacenter')
|
|
||||||
implementation project(':core:mogo-core-function-call')
|
implementation project(':core:mogo-core-function-call')
|
||||||
implementation project(":libraries:mogo-map")
|
implementation project(":libraries:mogo-map")
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -55,8 +55,8 @@ public class TrackObj {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void correct() {
|
private void correct() {
|
||||||
// calAverageSpeedAndType();
|
calAverageSpeedAndType();
|
||||||
// calLoc();
|
calLoc();
|
||||||
// calHeading();
|
// calHeading();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ public class MogoMapService implements IMogoMapService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public IMogoOverlayManager getOverlayManager(Context context) {
|
public IMogoOverlayManager getOverlayManager() {
|
||||||
return MogoOverlayManager.getInstance();
|
return MogoOverlayManager.getInstance();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -40,32 +40,20 @@ android {
|
|||||||
dependencies {
|
dependencies {
|
||||||
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
||||||
implementation rootProject.ext.dependencies.androidxccorektx
|
implementation rootProject.ext.dependencies.androidxccorektx
|
||||||
implementation rootProject.ext.dependencies.androidxappcompat
|
|
||||||
implementation rootProject.ext.dependencies.arouter
|
implementation rootProject.ext.dependencies.arouter
|
||||||
implementation project(path: ':foudations:mogo-commons')
|
|
||||||
kapt rootProject.ext.dependencies.aroutercompiler
|
kapt rootProject.ext.dependencies.aroutercompiler
|
||||||
|
|
||||||
implementation rootProject.ext.dependencies.android_start_up
|
implementation rootProject.ext.dependencies.android_start_up
|
||||||
implementation rootProject.ext.dependencies.mogocustommap
|
|
||||||
implementation rootProject.ext.dependencies.thread_opt
|
implementation rootProject.ext.dependencies.thread_opt
|
||||||
|
|
||||||
if (Boolean.valueOf(USE_MAVEN_PACKAGE)) {
|
if (Boolean.valueOf(USE_MAVEN_PACKAGE)) {
|
||||||
implementation rootProject.ext.dependencies.mogo_core_res
|
|
||||||
implementation rootProject.ext.dependencies.mogo_core_data
|
|
||||||
implementation rootProject.ext.dependencies.mogo_core_utils
|
|
||||||
implementation rootProject.ext.dependencies.mogo_core_function_api
|
|
||||||
implementation rootProject.ext.dependencies.mogo_core_function_call
|
implementation rootProject.ext.dependencies.mogo_core_function_call
|
||||||
implementation rootProject.ext.dependencies.crashreport
|
implementation rootProject.ext.dependencies.crashreport
|
||||||
implementation rootProject.ext.dependencies.mogomap
|
|
||||||
implementation rootProject.ext.dependencies.mogomapapi
|
|
||||||
} else {
|
} else {
|
||||||
implementation project(':core:mogo-core-res')
|
|
||||||
implementation project(':core:mogo-core-data')
|
|
||||||
implementation project(':core:mogo-core-utils')
|
|
||||||
implementation project(':core:mogo-core-function-api')
|
|
||||||
implementation project(':core:mogo-core-function-call')
|
implementation project(':core:mogo-core-function-call')
|
||||||
implementation project(":test:crashreport")
|
implementation project(":test:crashreport")
|
||||||
implementation project(':libraries:mogo-map')
|
|
||||||
implementation project(":libraries:mogo-map-api")
|
|
||||||
}
|
}
|
||||||
|
implementation project(':foudations:mogo-commons')
|
||||||
}
|
}
|
||||||
|
|
||||||
apply from: new File(rootProject.rootDir, "gradle/upload.gradle").toString()
|
apply from: new File(rootProject.rootDir, "gradle/upload.gradle").toString()
|
||||||
|
|||||||
@@ -1,18 +0,0 @@
|
|||||||
/**
|
|
||||||
* Automatically generated file. DO NOT MODIFY
|
|
||||||
*/
|
|
||||||
package com.mogo.eagle.core.function.startup;
|
|
||||||
|
|
||||||
public final class BuildConfig {
|
|
||||||
public static final boolean DEBUG = Boolean.parseBoolean("true");
|
|
||||||
public static final String LIBRARY_PACKAGE_NAME = "com.mogo.eagle.core.function.startup";
|
|
||||||
/**
|
|
||||||
* @deprecated APPLICATION_ID is misleading in libraries. For the library package name use LIBRARY_PACKAGE_NAME
|
|
||||||
*/
|
|
||||||
@Deprecated
|
|
||||||
public static final String APPLICATION_ID = "com.mogo.eagle.core.function.startup";
|
|
||||||
public static final String BUILD_TYPE = "debug";
|
|
||||||
public static final String FLAVOR = "";
|
|
||||||
public static final int VERSION_CODE = 1;
|
|
||||||
public static final String VERSION_NAME = "";
|
|
||||||
}
|
|
||||||
@@ -1,18 +0,0 @@
|
|||||||
package com.alibaba.android.arouter.routes;
|
|
||||||
|
|
||||||
import com.alibaba.android.arouter.facade.enums.RouteType;
|
|
||||||
import com.alibaba.android.arouter.facade.model.RouteMeta;
|
|
||||||
import com.alibaba.android.arouter.facade.template.IRouteGroup;
|
|
||||||
import com.mogo.eagle.core.function.startup.MogoStartUpProvider;
|
|
||||||
import java.lang.Override;
|
|
||||||
import java.lang.String;
|
|
||||||
import java.util.Map;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* DO NOT EDIT THIS FILE!!! IT WAS GENERATED BY AROUTER. */
|
|
||||||
public class ARouter$$Group$$start_up implements IRouteGroup {
|
|
||||||
@Override
|
|
||||||
public void loadInto(Map<String, RouteMeta> atlas) {
|
|
||||||
atlas.put("/start_up/api", RouteMeta.build(RouteType.PROVIDER, MogoStartUpProvider.class, "/start_up/api", "start_up", null, -1, -2147483648));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,18 +0,0 @@
|
|||||||
package com.alibaba.android.arouter.routes;
|
|
||||||
|
|
||||||
import com.alibaba.android.arouter.facade.enums.RouteType;
|
|
||||||
import com.alibaba.android.arouter.facade.model.RouteMeta;
|
|
||||||
import com.alibaba.android.arouter.facade.template.IProviderGroup;
|
|
||||||
import com.mogo.eagle.core.function.startup.MogoStartUpProvider;
|
|
||||||
import java.lang.Override;
|
|
||||||
import java.lang.String;
|
|
||||||
import java.util.Map;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* DO NOT EDIT THIS FILE!!! IT WAS GENERATED BY AROUTER. */
|
|
||||||
public class ARouter$$Providers$$mogocorefunctionstartup implements IProviderGroup {
|
|
||||||
@Override
|
|
||||||
public void loadInto(Map<String, RouteMeta> providers) {
|
|
||||||
providers.put("com.mogo.eagle.core.function.api.startup.IStartUpProvider", RouteMeta.build(RouteType.PROVIDER, MogoStartUpProvider.class, "/start_up/api", "start_up", null, -1, -2147483648));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,17 +0,0 @@
|
|||||||
package com.alibaba.android.arouter.routes;
|
|
||||||
|
|
||||||
import com.alibaba.android.arouter.facade.template.IRouteGroup;
|
|
||||||
import com.alibaba.android.arouter.facade.template.IRouteRoot;
|
|
||||||
import java.lang.Class;
|
|
||||||
import java.lang.Override;
|
|
||||||
import java.lang.String;
|
|
||||||
import java.util.Map;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* DO NOT EDIT THIS FILE!!! IT WAS GENERATED BY AROUTER. */
|
|
||||||
public class ARouter$$Root$$mogocorefunctionstartup implements IRouteRoot {
|
|
||||||
@Override
|
|
||||||
public void loadInto(Map<String, Class<? extends IRouteGroup>> routes) {
|
|
||||||
routes.put("start_up", ARouter$$Group$$start_up.class);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -62,7 +62,6 @@ dependencies {
|
|||||||
implementation rootProject.ext.dependencies.localbroadcastmanager
|
implementation rootProject.ext.dependencies.localbroadcastmanager
|
||||||
implementation rootProject.ext.dependencies.arouter
|
implementation rootProject.ext.dependencies.arouter
|
||||||
implementation rootProject.ext.dependencies.rxandroid
|
implementation rootProject.ext.dependencies.rxandroid
|
||||||
implementation rootProject.ext.dependencies.flexbox
|
|
||||||
kapt rootProject.ext.dependencies.aroutercompiler
|
kapt rootProject.ext.dependencies.aroutercompiler
|
||||||
implementation rootProject.ext.dependencies.protobuf_java
|
implementation rootProject.ext.dependencies.protobuf_java
|
||||||
implementation rootProject.ext.dependencies.protobuf_java_util
|
implementation rootProject.ext.dependencies.protobuf_java_util
|
||||||
@@ -71,19 +70,14 @@ dependencies {
|
|||||||
|
|
||||||
if (Boolean.valueOf(USE_MAVEN_PACKAGE)) {
|
if (Boolean.valueOf(USE_MAVEN_PACKAGE)) {
|
||||||
implementation rootProject.ext.dependencies.mogocommons
|
implementation rootProject.ext.dependencies.mogocommons
|
||||||
implementation rootProject.ext.dependencies.mogo_core_data
|
|
||||||
implementation rootProject.ext.dependencies.mogo_core_utils
|
implementation rootProject.ext.dependencies.mogo_core_utils
|
||||||
implementation rootProject.ext.dependencies.mogo_core_function_call
|
implementation rootProject.ext.dependencies.mogo_core_function_call
|
||||||
implementation rootProject.ext.dependencies.mogo_core_res
|
implementation rootProject.ext.dependencies.mogo_core_res
|
||||||
compileOnly rootProject.ext.dependencies.mogomap
|
|
||||||
} else {
|
} else {
|
||||||
implementation project(":foudations:mogo-commons")
|
implementation project(":foudations:mogo-commons")
|
||||||
implementation project(':core:mogo-core-data')
|
|
||||||
implementation project(':core:mogo-core-utils')
|
implementation project(':core:mogo-core-utils')
|
||||||
implementation project(':core:mogo-core-function-call')
|
implementation project(':core:mogo-core-function-call')
|
||||||
implementation project(':core:mogo-core-res')
|
implementation project(':core:mogo-core-res')
|
||||||
implementation project(':libraries:mogo-adas')
|
|
||||||
compileOnly project(':libraries:mogo-map')
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -55,7 +55,7 @@ public class MoGoPersonWarnPolylineManager implements IMoGoPersonWarnPolylineMan
|
|||||||
options.add(locations.get(i));
|
options.add(locations.get(i));
|
||||||
}
|
}
|
||||||
// 绘制线的对象
|
// 绘制线的对象
|
||||||
IMogoOverlayManager overlay = CallerMapUIServiceManager.INSTANCE.getOverlayManager(AbsMogoApplication.getApp());
|
IMogoOverlayManager overlay = CallerMapUIServiceManager.INSTANCE.getOverlayManager();
|
||||||
if (overlay != null) {
|
if (overlay != null) {
|
||||||
mMogoPolyline = overlay.addPolyline(options);
|
mMogoPolyline = overlay.addPolyline(options);
|
||||||
mMogoPolyline.setTransparency(0.5f);
|
mMogoPolyline.setTransparency(0.5f);
|
||||||
|
|||||||
@@ -54,7 +54,7 @@ public class MoGoStopPolylineManager implements IMoGoStopPolylineManager {
|
|||||||
options.add(locations.get(i));
|
options.add(locations.get(i));
|
||||||
}
|
}
|
||||||
// 绘制线的对象
|
// 绘制线的对象
|
||||||
IMogoOverlayManager overlay = CallerMapUIServiceManager.INSTANCE.getOverlayManager(AbsMogoApplication.getApp());
|
IMogoOverlayManager overlay = CallerMapUIServiceManager.INSTANCE.getOverlayManager();
|
||||||
if (overlay != null) {
|
if (overlay != null) {
|
||||||
mMogoPolyline = overlay.addPolyline(options);
|
mMogoPolyline = overlay.addPolyline(options);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -62,7 +62,7 @@ public class MoGoWarnPolylineManager implements IMoGoWarnPolylineManager {
|
|||||||
}
|
}
|
||||||
// 绘制线的对象
|
// 绘制线的对象
|
||||||
|
|
||||||
IMogoOverlayManager overlay = CallerMapUIServiceManager.INSTANCE.getOverlayManager(AbsMogoApplication.getApp());
|
IMogoOverlayManager overlay = CallerMapUIServiceManager.INSTANCE.getOverlayManager();
|
||||||
if (overlay != null) {
|
if (overlay != null) {
|
||||||
mMogoPolyline = overlay.addPolyline(options);
|
mMogoPolyline = overlay.addPolyline(options);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -39,9 +39,7 @@ class AiRoadMarker {
|
|||||||
private val marker by lazy { AtomicReference<Marker>() }
|
private val marker by lazy { AtomicReference<Marker>() }
|
||||||
|
|
||||||
private val overlayManager by lazy {
|
private val overlayManager by lazy {
|
||||||
CallerMapUIServiceManager.getOverlayManager(
|
CallerMapUIServiceManager.getOverlayManager()
|
||||||
AbsMogoApplication.getApp()
|
|
||||||
)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private val START_COLOR = Color.parseColor("#002ABAD9")
|
private val START_COLOR = Color.parseColor("#002ABAD9")
|
||||||
|
|||||||
@@ -1,18 +1,18 @@
|
|||||||
package com.mogo.eagle.core.function.v2x.events.scenario.scene.road
|
package com.mogo.eagle.core.function.v2x.events.scenario.scene.road
|
||||||
|
|
||||||
import android.graphics.*
|
import android.graphics.Color
|
||||||
import com.mogo.eagle.core.data.enums.EventTypeEnumNew
|
import com.mogo.eagle.core.data.enums.EventTypeEnumNew
|
||||||
import com.mogo.eagle.core.data.map.*
|
import com.mogo.eagle.core.data.map.MogoLatLng
|
||||||
|
import com.mogo.eagle.core.data.map.MogoLocation
|
||||||
import com.mogo.eagle.core.data.map.entity.V2XRoadEventEntity
|
import com.mogo.eagle.core.data.map.entity.V2XRoadEventEntity
|
||||||
|
import com.mogo.eagle.core.function.call.map.CallerMapUIServiceManager
|
||||||
import com.mogo.eagle.core.function.v2x.events.bridge.BridgeApi.context
|
import com.mogo.eagle.core.function.v2x.events.bridge.BridgeApi.context
|
||||||
import com.mogo.eagle.core.function.v2x.events.bridge.BridgeApi.v2xMarker
|
import com.mogo.eagle.core.function.v2x.events.bridge.BridgeApi.v2xMarker
|
||||||
import com.mogo.eagle.core.function.v2x.events.remove.MarkerWrapper
|
import com.mogo.eagle.core.function.v2x.events.remove.MarkerWrapper
|
||||||
import com.mogo.map.*
|
import com.mogo.map.marker.IMogoMarker
|
||||||
import com.mogo.map.marker.*
|
import com.mogo.map.overlay.IMogoPolyline
|
||||||
import com.mogo.map.overlay.*
|
import com.mogo.map.overlay.MogoPolylineOptions
|
||||||
import java.util.concurrent.atomic.*
|
import java.util.concurrent.atomic.AtomicReference
|
||||||
import kotlin.Pair
|
|
||||||
import kotlin.collections.ArrayList
|
|
||||||
|
|
||||||
class V2XAiRoadEventMarker {
|
class V2XAiRoadEventMarker {
|
||||||
|
|
||||||
@@ -20,7 +20,7 @@ class V2XAiRoadEventMarker {
|
|||||||
|
|
||||||
private val v2xLocation = AtomicReference<MogoLocation>()
|
private val v2xLocation = AtomicReference<MogoLocation>()
|
||||||
|
|
||||||
private val overlayManager by lazy { MogoOverlayManager.getInstance() }
|
private val overlayManager by lazy { CallerMapUIServiceManager.getOverlayManager() }
|
||||||
|
|
||||||
fun drawMarkers(entity: V2XRoadEventEntity, wrapper: MarkerWrapper) {
|
fun drawMarkers(entity: V2XRoadEventEntity, wrapper: MarkerWrapper) {
|
||||||
val extra = entity.noveltyInfo.extras["polygon"]
|
val extra = entity.noveltyInfo.extras["polygon"]
|
||||||
@@ -68,9 +68,9 @@ class V2XAiRoadEventMarker {
|
|||||||
options.width(5f)
|
options.width(5f)
|
||||||
options.zIndex(75000f)
|
options.zIndex(75000f)
|
||||||
options.maxIndex(800000f)
|
options.maxIndex(800000f)
|
||||||
val line = overlayManager.addPolyline(options)
|
val line = overlayManager?.addPolyline(options)
|
||||||
current.set(Pair(line, wrapper.markers))
|
line?.let {
|
||||||
if (line != null) {
|
current.set(Pair(line, wrapper.markers))
|
||||||
line.isVisible = true
|
line.isVisible = true
|
||||||
wrapper.addLine(line)
|
wrapper.addLine(line)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -40,10 +40,9 @@ public interface IMogoMapService extends IProvider {
|
|||||||
/**
|
/**
|
||||||
* 覆盖物操作
|
* 覆盖物操作
|
||||||
*
|
*
|
||||||
* @param context
|
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
IMogoOverlayManager getOverlayManager(Context context);
|
IMogoOverlayManager getOverlayManager();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 获取高德定位服务
|
* 获取高德定位服务
|
||||||
|
|||||||
@@ -59,11 +59,10 @@ dependencies {
|
|||||||
implementation rootProject.ext.dependencies.mogo_core_utils
|
implementation rootProject.ext.dependencies.mogo_core_utils
|
||||||
implementation rootProject.ext.dependencies.mogocommons
|
implementation rootProject.ext.dependencies.mogocommons
|
||||||
} else {
|
} else {
|
||||||
|
implementation project(':core:mogo-core-utils')
|
||||||
|
implementation project(':foudations:mogo-commons')
|
||||||
implementation project(':libraries:mogo-adas')
|
implementation project(':libraries:mogo-adas')
|
||||||
api project(':libraries:mogo-map-api')
|
api project(':libraries:mogo-map-api')
|
||||||
implementation project(':foudations:mogo-commons')
|
|
||||||
implementation project(':core:mogo-core-data')
|
|
||||||
implementation project(':core:mogo-core-utils')
|
|
||||||
api project(':core:mogo-core-function-api')
|
api project(':core:mogo-core-function-api')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -30,8 +30,8 @@ object CallerMapUIServiceManager {
|
|||||||
return serviceProvider?.markerService
|
return serviceProvider?.markerService
|
||||||
}
|
}
|
||||||
|
|
||||||
fun getOverlayManager(context: Context): IMogoOverlayManager?{
|
fun getOverlayManager(): IMogoOverlayManager?{
|
||||||
return serviceProvider?.getOverlayManager(context)
|
return serviceProvider?.overlayManager
|
||||||
}
|
}
|
||||||
|
|
||||||
fun getGDLocationServer(context: Context):IMogoGDLocationClient?{
|
fun getGDLocationServer(context: Context):IMogoGDLocationClient?{
|
||||||
|
|||||||
@@ -90,6 +90,15 @@ message Trajectory
|
|||||||
repeated TrajectoryPoint points = 1;
|
repeated TrajectoryPoint points = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
enum AdditionalAttribute
|
||||||
|
{
|
||||||
|
ATTR_UNKNOWN = 0;
|
||||||
|
ATTR_ZOMBIE = 1; // 僵尸车
|
||||||
|
ATTR_ROAD_CONSTRUCTION = 2; // 道路施工区域
|
||||||
|
ATTR_STATIC = 3; // 静止障碍物
|
||||||
|
ATTR_ACCIDENT = 4; // 事故车
|
||||||
|
}
|
||||||
|
|
||||||
// message definition for MsgTypeTrackedObjects
|
// message definition for MsgTypeTrackedObjects
|
||||||
message SubSource
|
message SubSource
|
||||||
{
|
{
|
||||||
@@ -125,6 +134,7 @@ message TrackedObject
|
|||||||
repeated TrackedSource tracked_source = 14;
|
repeated TrackedSource tracked_source = 14;
|
||||||
repeated Location polygon = 15;
|
repeated Location polygon = 15;
|
||||||
geometry.Point center = 16;
|
geometry.Point center = 16;
|
||||||
|
AdditionalAttribute add_attribute = 17; // 事件类型
|
||||||
}
|
}
|
||||||
|
|
||||||
message TrackedObjects
|
message TrackedObjects
|
||||||
@@ -178,7 +188,7 @@ message AutopilotState
|
|||||||
message PlanningObject
|
message PlanningObject
|
||||||
{
|
{
|
||||||
uint32 uuid = 1;
|
uint32 uuid = 1;
|
||||||
uint32 type = 2; //影响自车决策的类型, 和感知的障碍物类型不是一回事 0是leading障碍物,1是避障和择机的障碍物
|
uint32 type = 2; //影响自车决策的类型, 和感知的障碍物类型不是一回事
|
||||||
}
|
}
|
||||||
|
|
||||||
message PlanningObjects
|
message PlanningObjects
|
||||||
|
|||||||
@@ -63,8 +63,6 @@ dependencies {
|
|||||||
implementation project(':core:mogo-core-utils')
|
implementation project(':core:mogo-core-utils')
|
||||||
implementation project(':libraries:mogo-map-api')
|
implementation project(':libraries:mogo-map-api')
|
||||||
implementation project(':foudations:mogo-commons')
|
implementation project(':foudations:mogo-commons')
|
||||||
|
|
||||||
implementation project(':core:mogo-core-data')
|
|
||||||
implementation project(':core:mogo-core-function-call') //todo 解除依赖
|
implementation project(':core:mogo-core-function-call') //todo 解除依赖
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user