After /submit_task, the /task_list shows an empty list, and the task_id on topic /fleet_states do not match the one from /submit_task #305
-
Hi all, when I submit a task using https://open-rmf.github.io/rmf-panel-js/ I get a task_id, something like: demos_cff3ebac-9b42-48c5-a3e5-7cec237f693d But if I try to list the tasks by pressing the REFRESH button on the Tasks area of https://open-rmf.github.io/rmf-panel-js/, I get an empty list. After enabling JavaScript Developers Console, I see it calls http://localhost:8083/task_list, which always returns an empty list, even when I have a Delivery task running. If I send another task right away, it also still shows an empty list. When I check the fleet_states topic with ros2 topic echo /fleet_states, I can see the robot, but the task_id is always an integer, something like task_id: '155'. I can never see the ID that appears when calling /submit_task. Does anybody know how to make the What am I really trying to do?What I'm really trying to do is to show the list of finished, waiting, and running tasks in a dashboard, but these IDs that don't match and the empty list on /task_list are not helping, and that is why I started this discussion. Please feel free to correct me if I misunderstand something. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hello @rubenanapu! Are you perhaps referring to the success snack bar that appears in the panel, saying something along the lines of Thanks for bringing this up, unfortunately I would recommend switching over the our web dashboard, https://github.com/open-rmf/rmf-web, which we are actively developing, where the task IDs are accurately reflected (same as from |
Beta Was this translation helpful? Give feedback.
-
Hi @aaronchongth, that is right. The demos_cff3ebac-9b42-48c5-a3e5-7cec237f693d Task ID I was referring to is exactly the one that appears in the success snack bar. Thank You very much for pointing me to Web Dashboard (https://github.com/open-rmf/rmf-web) I'll mark this discussion closed then. If necessary, I open it again. Once again, thank you very much. May God bless you. |
Beta Was this translation helpful? Give feedback.
Hello @rubenanapu! Are you perhaps referring to the success snack bar that appears in the panel, saying something along the lines of
Request submitted successfully! Task ID: .....
?Thanks for bringing this up, unfortunately
rmf-panel-js
is not actively being maintained, and has quite a number of legacy features and concepts, including the generation of such uuids. These uuids are created by thedispatcher_client
fromrmf_demos_panel
, https://github.com/open-rmf/rmf_demos/blob/main/rmf_demos_panel/rmf_demos_panel/dispatcher_client.py#L96.I would recommend switching over the our web dashboard, https://github.com/open-rmf/rmf-web, which we are actively developing, where the task IDs are acc…