open-rmf / open-rmf/rmf

Unable to dispatch clean task through rmf dashboard in Hotel World(rmf-demos_gz_classic)

Open
#413 1 comment 0 reactions 0 assignees View on GitHub

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

hotel-world clean task error

My setup:
ROS2 humble
Latest Open-RMF Source Build from main branch
RMF-web dashboard, server
Ubuntu 22.04

Things I've tried:

  1. increasing the bidding_time_window in common.launch.xml in rmf_demos/launch from 2.0s to 20.s
  2. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.