Unable to dispatch clean task through rmf dashboard in Hotel World(rmf-demos_gz_classic)
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 438
- Forks
- 89
- PR merge metrics
- No merged PRs in 30d
Description
Discussed in https://github.com/open-rmf/rmf/discussions/412
Originally posted by rmj1405 January 11, 2024
Hi, I've been trying to figure this out for 3 days and no matter what I do, I keep getting the same error and the task is not dispatched. CleanerbotA is able to move if it gets assigned a patrol task but never gets assigned a cleaning task. If I try to assign a clean task via the CLI as shown in the rmf-demos repo, it will work just fine. I am not understanding what is going wrong when I do it through the RMF-dashboard
My setup:
ROS2 humble
Latest Open-RMF Source Build from main branch
RMF-web dashboard, server
Ubuntu 22.04
Things I've tried:
- increasing the bidding_time_window in common.launch.xml in rmf_demos/launch from 2.0s to 20.s
- Modify the task capabilities in rmf_demos/rmf_demos/config/hotel/cleanerBotA_config.yaml as such:
task_capabilities: # Specify the types of RMF Tasks that robots in this fleet are capable of performing
loop: False //I changed this to True
delivery: False
clean: True // I added this
actions: ["clean"] //I tried both with and without this
I have been making edits in the src folder and building with colcon after doing so. I have also scoured through the Dispatcher.cpp and Auctioneer.cpp files to get a sense of what is going on. I'm not sure why the robots are not bidding for the cleaning tasks and why are cleaning tasks not being accepted? Help would be greatly appreciated thank you!!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with discussion 412 and compare the RMF-dashboard request with the CLI task flow described in rmf-demos. Read common.launch.xml, cleanerBotA_config.yaml, Dispatcher.cpp, and Auctioneer.cpp, then reproduce the clean-task dispatch failure in the stated ROS2 Humble setup. Done means CleanerbotA accepts a clean task through the dashboard as it does through the CLI.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, python, ubuntu, yaml
- Domain
- backend, cli, robotics
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100