车辆初始化点位
This commit is contained in:
parent
9d7f286c4c
commit
465f737edd
@ -487,6 +487,10 @@ public class PathPlanningServiceImpl implements PathPlanningService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
CommonConfigDO config = configService.getConfig(CommandConfigTypeEnum.SIMULATION_CONFIG.getType().longValue());
|
CommonConfigDO config = configService.getConfig(CommandConfigTypeEnum.SIMULATION_CONFIG.getType().longValue());
|
||||||
|
if (ObjectUtil.isEmpty(config)) {
|
||||||
|
log.info("未配置默认地图");
|
||||||
|
return;
|
||||||
|
}
|
||||||
PositionMapDO positionMap = null;
|
PositionMapDO positionMap = null;
|
||||||
if (ObjectUtil.isEmpty(config) || ObjectUtil.isEmpty(config.getConfigStr())) {
|
if (ObjectUtil.isEmpty(config) || ObjectUtil.isEmpty(config.getConfigStr())) {
|
||||||
List<PositionMapDO> maps = positionMapService.getAllMap();
|
List<PositionMapDO> maps = positionMapService.getAllMap();
|
||||||
|
Loading…
Reference in New Issue
Block a user