Files
MoGoEagleEye/README.md
董宏宇 3b50e636ce 统一版本信息
增加 README.md 说明

Signed-off-by: 董宏宇 <martindhy@gmail.com>
2021-10-29 21:58:12 +08:00

1.4 KiB

鹰眼 (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.61"
implementation "com.mogo.commons:mogo-commons:2.0.61"
implementation "com.mogo.module:module-common:2.0.61"
implementation "com.mogo.eagle.core:data:2.0.61"

mogo-och-bus 使用到的依赖
implementation rootProject.ext.dependencies.mogooch

implementation "com.mogo.commons:mogo-utils:2.0.61"
implementation "com.mogo.commons:mogo-commons:2.0.61"
implementation "com.mogo.module:module-common:2.0.61"
implementation "com.mogo.eagle.core:data:2.0.61"

mogo-och-taxi 使用到的依赖
implementation rootProject.ext.dependencies.mogooch

implementation "com.mogo.commons:mogo-utils:2.0.61"
implementation "com.mogo.commons:mogo-commons:2.0.61"
implementation "com.mogo.module:module-common:2.0.61"
implementation "com.mogo.eagle.core:data:2.0.61"

// 新架构 模块间调用依赖
implementation "com.mogo.eagle.core.function:call:0.0.4"

状态监听

自动驾驶状态监听

// 实现接口 IMoGoAutopilotStatusListener
// 注册监听
CallerAutoPilotStatusListenerManager.addListener(TAG, new IMoGoAutopilotStatusListener(){})