Building_map_generator does not generate 0.yaml file (#662)

Posted by @akshay-ka:

Hello,

I have installed Ubuntu 24.04 and ros2 jazzy version on my machine. I have installed the rmf via build from source.

I’m trying to build nav_graph 0.yaml file (See screenshot below).

Now the issue is, although the console output shows generating nav data, no 0.yaml file is generated in the output directory.
Not sure what is the root cause for the issue.

Could anyone provide guidance or clarification for this problem ?

Note: I have freshly installed rmf via build from source following the documentation correctly.

Chosen answer

Answer chosen by @aaronchongth at 2025-04-08T10:22:55Z.
Answered by @aaronchongth:

There are no lanes in your test.building.yaml. Please see Traffic Editor - Programming Multiple Robots with ROS 2 and Navigation Maps - Programming Multiple Robots with ROS 2. I’ll be closing this discussion then

Posted by @aaronchongth:

Sanity check, there does not exist /home/akshaya/rmf_ws/0.yaml?

Testing with the upstream office.building.yaml, the 0.yaml gets generated. My guess is that your building map file is either incomplete or has an issue.

mkdir ~/test
cd ~/test
git clone https://gtihub.com/open-rmf/rmf_demos

source /opt/ros/jazzy/setup.bash
ros2 run rmf_building_map_tools building_map_generator nav rmf_demos/rmf_demos_maps/maps/office/office.building.yaml ~/test

# it gets generated at ~/test/0.yaml
cat ~/test/0.yaml

You can build the rmf_building_map_tools from source and add debugging steps to figure out what went wrong.

Posted by @akshay-ka:

Sanity check, there does not exist /home/akshaya/rmf_ws/0.yaml?

@aaronchongth yes, 0.yaml does not get generated.

I have shared my test.buiding.yaml file here.

You can build the rmf_building_map_tools from source and add debugging steps to figure out what went wrong.

okay. I’ll try.


Edited by @akshay-ka at 2025-04-08T09:57:15Z

Posted by @aaronchongth:

There are no lanes in your test.building.yaml. Please see Traffic Editor - Programming Multiple Robots with ROS 2 and Navigation Maps - Programming Multiple Robots with ROS 2. I’ll be closing this discussion then


This is the chosen answer.