Posted by @cwrx777:
Issue summary:
when robot is at waypoint before the door and then given a task that will use the door, fleet adapter will keep publishing open and close door request simultaneously.
rmf_ros2 ceab18b
Steps to replicate:
Modify office map:
- name waypoints before and after
coe_door:
IN_COE,
OUT_COE` - set spawn_robot_name and spawn_robot_type at
IN_COE
as shown - remove
tinyRobot1
fromtinyRobot1_charger
Fleet adapter config:
finishing_request: "nothing"
responsive_wait: False
Run task:
ros2 run rmf_demos_tasks dispatch_patrol -p OUT_COE -F TinyRobot -R tinyRobot1 --use_sim_time
Result: