[6.0.0]
[auto] [文案修改]
This commit is contained in:
@@ -597,13 +597,15 @@ object TrajectoryAndDistanceManager: IMoGoPlanningRottingListener{
|
||||
// 判断距离线段的距离 垂足的距离
|
||||
val nextPoint: MogoLocation
|
||||
val prePoint: MogoLocation
|
||||
// isNext true 最近的点是在下一个
|
||||
// isNext false 最近的点是在上一个
|
||||
if (carLocationInfo.second == true) {
|
||||
if (carLocationInfo.first > 0) {
|
||||
nextPoint = redCatche[carLocationInfo.first]
|
||||
prePoint = redCatche[carLocationInfo.first - 1]
|
||||
} else {
|
||||
// 距离第一个点大于15m 过远
|
||||
return "距离第一个轨迹点超过15m:${carLocationInfo.first}米"
|
||||
return "距离轨迹线超过15m:${carLocationInfo.first}米,无法启动自驾"
|
||||
}
|
||||
} else {
|
||||
if (carLocationInfo.first + 1 < redCatche.size) {
|
||||
@@ -625,7 +627,7 @@ object TrajectoryAndDistanceManager: IMoGoPlanningRottingListener{
|
||||
return if (pointToLine <= OchCommonConst.AUTOMATIC_PLANNING_MAX_DISTANCE) {
|
||||
""
|
||||
} else {
|
||||
"距离轨迹线的距离大于15m,无法启动自驾"
|
||||
"距离轨迹线超过15m,无法启动自驾"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user