[taxi]
[计算距离线的距离 需要加上航向角]
This commit is contained in:
yangyakun
2023-11-24 16:35:26 +08:00
parent 8c3acb64c3
commit 76973c5bd8
3 changed files with 28 additions and 5 deletions

View File

@@ -49,6 +49,7 @@ dependencies {
implementation rootProject.ext.dependencies.androidxappcompat
implementation rootProject.ext.dependencies.material
testImplementation 'junit:junit:4.12'
testImplementation project(path: ':OCH:mogo-och-common-module')
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
implementation rootProject.ext.dependencies.amapnavi3dmap

View File

@@ -729,8 +729,7 @@ object TrajectoryAndDistanceManager : IMoGoPlanningRottingListener {
redCatche.size - 1,
redCatche,
currentPoint,
2,
useHeading = false
2
)
if (carLocationInfo.third <= OchCommonConst.AUTOMATIC_PLANNING_MAX_DISTANCE) {
return ""// 可以启动自驾

File diff suppressed because one or more lines are too long