Use dispatch_go_to_place as an one-way task #467
-
Hi everyone, I'm new to Open-RMF so sorry for the trivial questions. In traffic-editor i've defined a vertex called 'tinyRobot1_charger' (that is the spawn point for tinyRobot1) and another vertex called 'target1'. If I wanted to define a one-way task for my robot to move from 'tinyRobot1_charger' to 'target1' and then remained at the point 'target1' how should I do it? And if I wanted to understand when my task was completed successfully, what should I do? Is there a topic that contains this information? Thank you all |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hello! The robot behavior upon task completion can be configured inside the fleet config. For the office demo world, here's the fleet config, and here is where we specify its finishing request. To ensure that the robot doesn't go back to its charger, you may change To check whether a robot is carrying out a task via ros2 topic in RMF demos, you can echo the topic |
Beta Was this translation helpful? Give feedback.
Hello! The robot behavior upon task completion can be configured inside the fleet config. For the office demo world, here's the fleet config, and here is where we specify its finishing request. To ensure that the robot doesn't go back to its charger, you may change
park
tonothing
.To check whether a robot is carrying out a task via ros2 topic in RMF demos, you can echo the topic
/robot_state
. If a task is underway, thetask_id
field will be populated for that particular robot, else it will be an empty string.