111940123f88141be9828ff077c7dddebf6166b6
[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>
鹰眼 (MOGO-Autopilot) 平台接入说明
// 项目根目录build.gradle配置
repositories {
maven { url 'https://nexus.zhidaoauto.com/repository/maven-releases/' }
maven { url 'https://nexus.zhidaoauto.com/repository/maven-public/' }
}
// app 壳项目依赖
参见项目
mogo-och 使用到的依赖
implementation "com.mogo.commons:mogo-utils:2.0.63"
implementation "com.mogo.commons:mogo-commons:2.0.63"
implementation "com.mogo.module:module-common:2.0.63"
implementation "com.mogo.eagle.core:data:0.0.6"
implementation "com.mogo.eagle.core.function:call:0.0.6"
mogo-och-bus 使用到的依赖
implementation rootProject.ext.dependencies.mogooch
implementation "com.mogo.commons:mogo-utils:2.0.63"
implementation "com.mogo.commons:mogo-commons:2.0.63"
implementation "com.mogo.module:module-common:2.0.63"
implementation "com.mogo.eagle.core:data:0.0.6"
implementation "com.mogo.eagle.core.function:call:0.0.6"
mogo-och-taxi 使用到的依赖
implementation rootProject.ext.dependencies.mogooch
implementation "com.mogo.commons:mogo-utils:2.0.63"
implementation "com.mogo.commons:mogo-commons:2.0.63"
implementation "com.mogo.module:module-common:2.0.63"
implementation "com.mogo.eagle.core:data:0.0.6"
implementation "com.mogo.eagle.core.function:call:0.0.6"
状态监听
自动驾驶状态监听
// 实现接口 IMoGoAutopilotStatusListener
// 注册监听
CallerAutoPilotStatusListenerManager.addListener(TAG, new IMoGoAutopilotStatusListener(){})
HMI 控制
// 控制 脉速表 显示状态
CallerHmiManager.setSpeedChartViewVisibility(View.VISIBLE)
// 控制 自动驾驶按钮 显示状态
CallerHmiManager.setAutopilotStatusViewVisibility(View.VISIBLE)
// 控制 切换视角按钮 显示状态
CallerHmiManager.setPerspectiveSwitchViewVisibility(View.VISIBLE)
// 控制 车辆检检测按钮 示状态
CallerHmiManager.setAutopilotStatusViewVisibility(View.VISIBLE)
Description
Languages
Kotlin
59.4%
Java
40.3%
GLSL
0.2%