[MapDataUpdate]高精地图数据采集代码提交

[MapDataUpdate]高精地图数据采集代码提交

[MapDataUpdate]移除Java接口

[MapDataUpdate]移除无用代码
This commit is contained in:
renwj
2022-02-15 17:11:40 +08:00
parent 80a363d399
commit 5294dc9c8b
11 changed files with 325 additions and 4 deletions

View File

@@ -41,6 +41,33 @@ interface IMoGoAutopilotProvider : IMoGoFunctionServerProvider {
*/
fun recordPackage(): Boolean
/**
* 开启域控制器录制bag包
*
* @return true-成功,false-失败
* @param type 录制类型 1: badcase 2:map 3:rests
* @param id 指令/任务 ID
*/
fun recordPackage(type: Int, id: Int): Boolean
/**
* 开启域控制器录制bag包
*
* @return true-成功,false-失败
* @param type 录制类型 1: badcase 2:map 3:rests
* @param id 指令/任务 ID
* @param duration 录制时长
*/
fun recordPackage(type: Int, id: Int, duration: Int): Boolean
/**
* 结束录制
* @param type 录制类型 1: badcase 2:map 3:rests
* @param id 指令/任务 ID
* @return true: 成功; false 失败
*/
fun stopRecord(type: Int, id: Int): Boolean
/**
* Log 是否显示
*

View File

@@ -0,0 +1,43 @@
package com.mogo.eagle.core.function.api.map.collect
import com.mogo.eagle.core.function.api.base.IMoGoFunctionServerProvider
/**
* @author renwj
* @date 2021/11/10 10:00 上午
* 此类主要用来同步自动驾驶定位信息给各业务方
*/
interface IMoGoMapDataCollectProvider: IMoGoFunctionServerProvider {
/**
* 注册地图组下发收集数据任务指令监听,通知自动驾驶模块开始数据采集
*/
fun registerOnMapCollectTaskListener(listener: OnMapCollectCmdListener?)
/**
* 移除任务指令监听
*/
fun unRegisterOnMapCollectTaskListener(listener: OnMapCollectCmdListener?)
/**
* 此接口是自动驾驶模块使用,用于把自动驾驶模块收集的数据给地图组
*/
fun finish(id: Int, state: Int, gpsPath: String, videoPath: String, reason: String)
interface OnMapCollectCmdListener {
/**
* 地图组下发地图数据收集开始指令
* @param cmdId 指令ID
* @param cmdTime 指令下发时间
*/
fun onMapCollectStart(cmdId: Int, cmdTime: Long)
/**
* 地图组下发地图数据收集结束指令
* @param cmdId 指令ID
* @param cmdTime 指令下发时间
*/
fun onMapCollectEnd(cmdId: Int, cmdTime: Long)
}
}