-
I am wondering what would be best practice to allow for a robot to only bid on delivery task if he has storage space left and how pass the information down to the robot which item he should unload before triggering its docking service, as the robot need to dock backwards to unload the item stored in the back position for example. Is there any current implementation of this? Which parts of rmf would I need to modify? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
You can rely on the Confirmation API to implement logic to accept/reject delivery tasks based on what you describe. For passing information down to robots at runtime, if you describe your task as composable task with a |
Beta Was this translation helpful? Give feedback.
Everything Yadu said is correct, but it sounds like the original question is meant for a system that does multiple pick-up and multiple drop-off, all coming in as ad hoc tasks, so I'll add a few points to consider when trying to implement such a system.
First, to mix together multiple ad-hoc pickups (i.e. multiple pickups that are not part of the same task description) you will need to separate the pickup and the drop-off phases of each delivery into two different tasks. Ordinarily a "task" in RMF is atomic, meaning once a task start, the robot will not do any other task until its current task is finished. So if the delivery task description contains both a pick-up and a drop-off then no …