车辆初始化点位
This commit is contained in:
parent
b97afd9462
commit
9d7f286c4c
@ -104,8 +104,8 @@ public class PathPlanningServiceImpl implements PathPlanningService {
|
|||||||
@Resource
|
@Resource
|
||||||
private PositionMapItemService positionMapItemService;
|
private PositionMapItemService positionMapItemService;
|
||||||
|
|
||||||
@Value("${zn.is_simulation:false}")
|
@Value("${zn.send_robot_init_pose:false}")
|
||||||
private Boolean isSimulation;
|
private Boolean sendRobotInitPose;
|
||||||
|
|
||||||
@Resource
|
@Resource
|
||||||
private PositionChangePointBindingService positionChangePointBindingService;
|
private PositionChangePointBindingService positionChangePointBindingService;
|
||||||
@ -481,8 +481,8 @@ public class PathPlanningServiceImpl implements PathPlanningService {
|
|||||||
@Override
|
@Override
|
||||||
public void simulationRobotPoseRequest() {
|
public void simulationRobotPoseRequest() {
|
||||||
|
|
||||||
if (!isSimulation) {
|
if (!sendRobotInitPose) {
|
||||||
log.info("非仿真环境,不同步初始点位信息");
|
log.info("不同步初始点位信息");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -209,4 +209,5 @@ zn:
|
|||||||
path_planning:
|
path_planning:
|
||||||
task_chche_time: 1209600 #任务缓存的时间, 默认一星期
|
task_chche_time: 1209600 #任务缓存的时间, 默认一星期
|
||||||
is_simulation: false # 是否为仿真环境
|
is_simulation: false # 是否为仿真环境
|
||||||
|
send_robot_init_pose: true # 是否为发送默认的车辆所在地图和点位
|
||||||
restore_task_restart: false # 恢复任务是否全部重新执行 true:全部重新开始
|
restore_task_restart: false # 恢复任务是否全部重新执行 true:全部重新开始
|
||||||
|
@ -244,6 +244,7 @@ zn:
|
|||||||
path_planning:
|
path_planning:
|
||||||
task_chche_time: 1209600 #任务缓存的时间, 默认一星期
|
task_chche_time: 1209600 #任务缓存的时间, 默认一星期
|
||||||
is_simulation: true # 是否为仿真环境
|
is_simulation: true # 是否为仿真环境
|
||||||
|
send_robot_init_pose: true # 是否为发送默认的车辆所在地图和点位
|
||||||
restore_task_restart: true # 恢复任务是否全部重新执行 true:全部重新开始
|
restore_task_restart: true # 恢复任务是否全部重新执行 true:全部重新开始
|
||||||
|
|
||||||
logging:
|
logging:
|
||||||
|
@ -237,5 +237,6 @@ zn:
|
|||||||
path_planning:
|
path_planning:
|
||||||
task_chche_time: 1209600 #任务缓存的时间, 默认一星期
|
task_chche_time: 1209600 #任务缓存的时间, 默认一星期
|
||||||
is_simulation: false # 是否为仿真环境
|
is_simulation: false # 是否为仿真环境
|
||||||
|
send_robot_init_pose: true # 是否为发送默认的车辆所在地图和点位
|
||||||
restore_task_restart: false # 恢复任务是否全部重新执行 true:全部重新开始
|
restore_task_restart: false # 恢复任务是否全部重新执行 true:全部重新开始
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user