I am following the course ROS2 Navigation, on section 2 which was creating map. I had an error stated “Failed processing YAML file /home/user/ros2_ws/install/project_mapping/share/project_mapping/maps/turtlebot_area.yaml at position (-1:-1) for reason: bad file”
The error occur when I was launching the nav2_lifecycle_mapper to show the generated map.
Does anyone has the same experience with me? How did you guys overcome it?
Hello @AlfoChri ,
Can you paste here the contents of the YAML file?
Sure, here is the generated YAML file via map saver cli:
origin: [-4.53, -2.06, 0]
The file looks correct @AlfoChri . That’s really strange… my only suggestion would be to try to generate the map once again. If you are still getting the same error after that, let me know and I will check directly into your file to see what’s going on.
This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.