[dev_arch_opt_3.0]
[Change] [ 1、完成工控机数据和高德GPS地图数据的数据中心,以及工控机数据超时后的自动切换为高德地图GPS数据 定位监听已重构,CallerChassisLocationGCJ20ListenerManager---高的坐标系,CallerChassisLocationWGS84ListenerManager--高精坐标系,之前代码已修改,大家后续项目中根据需要进行订阅,如需控制频率可在订阅时 // 设置数据回调频率,单位HZ,1HZ的周期是1秒;50HZ的周期是1/50=0.02秒;10HZ的周期是1/10=0.1秒。 CallerChassisLocationWGS84ListenerManager.setListenerHz(Companion.functionName, 20) CallerChassisLocationGCJ20ListenerManagersetListenerHz(Companion.functionName, 20) ] Signed-off-by: donghongyu <donghongyu@zhidaoauto.com>
This commit is contained in:
@@ -10,7 +10,7 @@ import com.mogo.eagle.core.function.api.base.IMoGoFunctionServerProvider
|
||||
* @date 2021/9/22 8:27 下午
|
||||
* 自动驾驶节点
|
||||
*/
|
||||
interface IMoGoAutopilotProvider : IMoGoFunctionServerProvider {
|
||||
interface IMoGoAutopilotControlProvider : IMoGoFunctionServerProvider {
|
||||
/**
|
||||
* 重新连接自动驾驶域控制器,指定IP地址
|
||||
*
|
||||
@@ -0,0 +1,18 @@
|
||||
package com.mogo.eagle.core.function.api.autopilot
|
||||
|
||||
import mogo.telematics.pad.MessagePad
|
||||
|
||||
/**
|
||||
* 车辆定位 WGS84 坐标系-高精度坐标系 数据 回调监听
|
||||
* @author donghongyu
|
||||
* @date 2023/1/11 2:06 下午
|
||||
*/
|
||||
interface IMoGoChassisGnssListener {
|
||||
|
||||
/**
|
||||
* 车辆定位 GCJ02 坐标系-高德坐标系 数据
|
||||
*
|
||||
* @param gnssInfo
|
||||
*/
|
||||
fun onChassisGnss(gnssInfo: MessagePad.GnssInfo)
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
package com.mogo.eagle.core.function.api.autopilot
|
||||
|
||||
import mogo.telematics.pad.MessagePad
|
||||
import com.mogo.eagle.core.data.map.MogoLocation
|
||||
|
||||
/**
|
||||
* @author donghongyu
|
||||
@@ -14,5 +14,5 @@ interface IMoGoChassisLocationGCJ02Listener {
|
||||
*
|
||||
* @param gnssInfo
|
||||
*/
|
||||
fun onChassisLocationGCJ02(gnssInfo: MessagePad.GnssInfo?)
|
||||
fun onChassisLocationGCJ02(mogoLocation: MogoLocation?)
|
||||
}
|
||||
@@ -1,11 +1,11 @@
|
||||
package com.mogo.eagle.core.function.api.autopilot
|
||||
|
||||
import mogo.telematics.pad.MessagePad
|
||||
import com.mogo.eagle.core.data.map.MogoLocation
|
||||
|
||||
/**
|
||||
* 车辆定位 WGS84 坐标系-高精度坐标系 数据 回调监听
|
||||
* @author donghongyu
|
||||
* @date 2023/1/11 2:06 下午
|
||||
* 车辆定位 WGS84 坐标系-高精度坐标系 数据 回调监听
|
||||
*/
|
||||
interface IMoGoChassisLocationWGS84Listener {
|
||||
|
||||
@@ -14,5 +14,5 @@ interface IMoGoChassisLocationWGS84Listener {
|
||||
*
|
||||
* @param gnssInfo
|
||||
*/
|
||||
fun onChassisLocationWGS84(gnssInfo: MessagePad.GnssInfo)
|
||||
fun onChassisLocationWGS84(gnssInfo: MogoLocation)
|
||||
}
|
||||
Reference in New Issue
Block a user