HI construct Team
I hope all are fine,
I am struggling in the ros2 Navigation course in the 2nd chapter (How to build a map) in the part ( Creating a cartographer launch file for your robot) i did not undrestand what i need to do and the file paths is not clear so i hope some one clear it What to do where is the cartographer_ros package what i will do or where is the cartographer_node
Hi @ghassan11 I can see where you might have found it confusing! For the part that you are talking about, you are meant to follow the instructions for Exercise 2.1. The instructions specify that you have to create a package named
config directories, and
cartographer.launch.py launch file inside the
launch directory. The launch file that you create will launch two nodes/executables
cartographer_occupancy_grid_node from the
cartographer_ros package which should already be installed on your system. You can check by entering this into the terminal:
ros2 pkg list | grep cartographer
cartographer_ros appears in the list then you do!
You do not need to know where the package is or worry about the code inside the nodes/executables. Just launch them from your launch file.
P.S. If you get stuck on what goes in the
cartographer.launch.py launch file, there are solutions in the tutorial if you scroll down far enough!
This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.