How does the dock method call exactly work? #309
Unanswered
TheConstructAi
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'm would like to know exactly whats the pipeline of execution when a robot reaches a waypoint an triggers the
dock()
methods of the fleet RobotHandler of the adapter. Because By default, is seem that every time that method is called, when it finishes it:Is there any procedure it has to be done to update the robot's position to rmf? Why is it sending a goal after in theory doing the dock? Why doesn't i't send a goal to the end waypoint anyway? That would be at least understandable.
Am I missing something here?
I know its a recurring question but its not still clear how a correct dock has to be done without essentially tricking the handler to NOt send goals after docking.
Do we have to deal with the docking as a cleaning process? Because at least there it finishes on the right place and with the planner location ( yellow circle) on the correct spot.
Maybe we have to update the position where the docking procedure ends in some way, although not sure how to tell rmf?
Here you have a snipet of the dock method simplified for this. But the behaviors is exactly the same with the default adapter template code:
Beta Was this translation helpful? Give feedback.
All reactions