Task rejected by legacy AcceptTaskRequest callback (#354)

Posted by @TheConstructAi:

[rmf_task_dispatcher-13] [WARN] [1684473786.013756728] [rmf_dispatcher_node]: Dispatcher Bidding Result: task [delivery.dispatch-1] has no submissions during bidding. Dispatching failed, and the task will not be performed.
[rmf_task_dispatcher-13] [ERROR] [1684473786.013822443] [rmf_dispatcher_node]: No submission error[1]: Task rejected by legacy AcceptTaskRequest callback
[rmf_task_dispatcher-13] [ERROR] [1684473786.013836414] [rmf_dispatcher_node]: No submission error[2]: Task rejected by legacy AcceptTaskRequest callback

This error appears when asking for a simple delivery through the web interface.

The robots are using the basic Fleet Adapter template adapted for them, and they navigate perfectly using Loop Tasks.
Its in the delivery that fails like this.

Any idea?

My setup is:
Ubuntu 22, ROS2 Humble, RMF installed form source the main branch.

Chosen answer

Answer chosen by @Yadunund at 2023-05-19T06:12:51Z.
Answered by @Yadunund:

It’s hard to answer your questions without looking at the implementation of your fleet adapter.

Have you enabled your fleet to perform delivery tasks?
fleet_adapter_template/fleet_adapter_template/config.yaml at 1fe945a20fcd6424b71f1c8c20600e7e4324c77d · open-rmf/fleet_adapter_template · GitHub

If you have enabled delivery, can you share the json description of the task you’re submitting? Does it work when requesting a delivery using a script from rmf_demos_tasks?

Posted by @Yadunund:

It’s hard to answer your questions without looking at the implementation of your fleet adapter.

Have you enabled your fleet to perform delivery tasks?

If you have enabled delivery, can you share the json description of the task you’re submitting? Does it work when requesting a delivery using a script from rmf_demos_tasks?


This is the chosen answer.

Posted by @TheConstructAi:

Solved, it wa sjust that…Not enableing it! Sorry for the dumb questin, the error just got e thinking it was something more serious :wink:

Posted by @Yadunund:

No worries. That printout is not too clear and we should improve it.