[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:
@@ -0,0 +1,15 @@
|
||||
package com.mogo.map.location
|
||||
|
||||
import com.mogo.eagle.core.data.map.MogoLocation
|
||||
|
||||
/**
|
||||
* 高德定位位置监听
|
||||
*/
|
||||
interface IMoGoGDLocationListener {
|
||||
/**
|
||||
* 位置信息
|
||||
*
|
||||
* @param mogoLocation 位置信息
|
||||
*/
|
||||
fun onLocationChanged(mogoLocation: MogoLocation)
|
||||
}
|
||||
@@ -10,6 +10,7 @@ import androidx.annotation.RawRes;
|
||||
|
||||
import com.mogo.eagle.core.data.map.CenterLine;
|
||||
import com.mogo.eagle.core.data.map.MogoLatLng;
|
||||
import com.mogo.eagle.core.data.map.MogoLocation;
|
||||
|
||||
import org.json.JSONObject;
|
||||
|
||||
@@ -331,5 +332,5 @@ public interface IMogoMapUIController {
|
||||
*
|
||||
* @param gnssInfo RTK 高精坐标,车辆惯导数据
|
||||
*/
|
||||
void setExtraGPSData(MessagePad.GnssInfo gnssInfo);
|
||||
void setExtraGPSData(MogoLocation gnssInfo);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user