Merge remote-tracking branch 'origin/dev_robotaxi-d_240401_6.4.0' into dev_robotaxi-d_240401_6.4.0
This commit is contained in:
@@ -77,6 +77,7 @@ import com.mogo.och.common.module.utils.NumberFormatUtil;
|
||||
import com.mogo.och.common.module.utils.OCHThreadPoolManager;
|
||||
import com.mogo.och.common.module.utils.PinYinUtil;
|
||||
import com.mogo.och.common.module.utils.ToastUtilsOch;
|
||||
import com.mogo.och.common.module.voice.VoiceNotice;
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
@@ -642,6 +643,7 @@ public class OrderModel {
|
||||
}
|
||||
if(!StringUtils.isEmpty(resion)){
|
||||
ToastUtils.showShort(resion);
|
||||
VoiceNotice.showNotice(resion);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -723,7 +723,7 @@ object TrajectoryAndDistanceManager : IMoGoPlanningRottingListener {
|
||||
return if (distance <= OchCommonConst.AUTOMATIC_PLANNING_MAX_DISTANCE) {
|
||||
""
|
||||
} else {
|
||||
"距离起始站点过远:${distance}米"
|
||||
"距离起始站点超过15米"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -749,7 +749,7 @@ object TrajectoryAndDistanceManager : IMoGoPlanningRottingListener {
|
||||
}
|
||||
}
|
||||
OchChainLogManager.writeChainLog("启动自驾距离判断","距离轨迹线超过15m,无法启动自驾", eventID = OchChainLogManager.EVENT_KEY_INFO_AUTOPILOT_DISTANCE)
|
||||
return "距离轨迹线超过15m,无法启动自驾"
|
||||
return "距离轨迹线超过15米"
|
||||
}
|
||||
|
||||
}
|
||||
@@ -25,6 +25,7 @@ import com.mogo.eagle.core.utilcode.util.StringUtils;
|
||||
import com.mogo.och.common.module.manager.autopilot.autopilot.OchAutoPilotManager;
|
||||
import com.mogo.och.common.module.manager.distance.TrajectoryAndDistanceManager;
|
||||
import com.mogo.och.common.module.manager.socket.lan.LanSocketManager;
|
||||
import com.mogo.och.common.module.voice.VoiceNotice;
|
||||
import com.mogo.och.shuttle.bean.BusRoutesResponse;
|
||||
import com.mogo.och.shuttle.util.ShuttleVoiceManager;
|
||||
import com.mogo.och.common.module.manager.socket.lan.bean.AppConnectMsg;
|
||||
@@ -660,6 +661,7 @@ public class OrderModel {
|
||||
}
|
||||
if(!StringUtils.isEmpty(resion)){
|
||||
ToastUtils.showShort(resion);
|
||||
VoiceNotice.showNotice(resion);
|
||||
return;
|
||||
}
|
||||
//4、ssm 给出数据
|
||||
|
||||
@@ -950,6 +950,7 @@ public class TaxiModel {
|
||||
}
|
||||
if(!StringUtils.isEmpty(resion)){
|
||||
ToastUtils.showShort(resion);
|
||||
VoiceNotice.showNotice(resion);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -83,6 +83,7 @@ object AutopilotManager : IOchAutopilotStatusListener {
|
||||
}
|
||||
if (!StringUtils.isEmpty(resion)) {
|
||||
ToastUtils.showShort(resion)
|
||||
VoiceNotice.showNotice(resion);
|
||||
return resion
|
||||
}
|
||||
// 4、ssm 给出数据
|
||||
|
||||
@@ -1248,6 +1248,7 @@ object TaxiTaskModel {
|
||||
val resion = TrajectoryAndDistanceManager.canStartAutopilot(it.lineId)
|
||||
if(!StringUtils.isEmpty(resion)){
|
||||
ToastUtils.showShort(resion);
|
||||
VoiceNotice.showNotice(resion);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user