Posted by @shannenlolol:
I am trying to integrate a fleet of robots with OpenRMF (Mobile Robot Fleet), and I have been following the instructions given here: https://osrf.github.io/ros2multirobotbook/integration.html. However, I am facing some difficulties in doing so.
I tried running the fleet adapter based on the fleet adapter template, and using the traffic navigation path yaml file that I generated from traffic-editor, with instructions taken from https://github.com/open-rmf/rmf_traffic_editor:
ros2 run rmf_building_map_tools building_map_generator nav \
${building_map_path} ${output_nav_graphs_dir}
With the 0.yaml file generated above, I ran the fleet adapter with the following commands, taken from https://github.com/open-rmf/fleet_adapter_template:
ros2 run fleet_adapter_template fleet_adapter -c ~/rmf_ws/fleet_adapter_template/fleet_adapter_template/config.yaml -n /0.yaml -s ws://localhost:8000
I also ran the following commands from https://github.com/open-rmf/rmf-web, which starts up the API server (by default at port 8000) which sets up endpoints to communicate with an Open-RMF deployment, as well as begin compilation of the dashboard.
cd packages/dashboard
pnpm start
However, I got this error:
Traceback (most recent call last):
File “/root/rmf_ws/fleet_adapter_template/install/fleet_adapter_template/lib/fleet_adapter_template/fleet_adapter”, line 33, in
sys.exit(load_entry_point(‘fleet-adapter-template==0.0.0’, ‘console_scripts’, ‘fleet_adapter’)())
File “/root/rmf_ws/fleet_adapter_template/install/fleet_adapter_template/lib/python3.10/site-packages/fleet_adapter_template/fleet_adapter.py”, line 314, in main
adapter = initialize_fleet(
File “/root/rmf_ws/fleet_adapter_template/install/fleet_adapter_template/lib/python3.10/site-packages/fleet_adapter_template/fleet_adapter.py”, line 90, in initialize_fleet
assert adapter, ("Unable to initialize fleet adapter. Please ensure "
AssertionError: Unable to initialize fleet adapter. Please ensure RMF Schedule Node is running
[ros2run]: Process exited with failure 1
I am also quite confused as to how to run everything up/ how it should be integrated together with my own fleet of robots.
Are there any other commands to run? And do I need to parse in the .building.yaml file and world file when running?
Please advise how I should fix this error, thank you.