A mapping package for the 2.0 Tenth platform using the new Gazebo sim.
- Create your workspace folder
- Create a src folder
- Run
colcon build
on the empty folder to initialize - Clone the repository into the src folder
- Run
rosdep update
- Run
rodep install --from-paths src -i -y
- Run
colcon build
The build should be succesfully completed
Don't forget to source /opt/ros/humble/setup.bash
if not
in your .bashrc
file.
Also source install/setup.bash
on your workspace after the
succesful build
There are 3 useful .launch
files which can be used for testing
ros2 launch slam_toolbox f1_tenth_offline_mapping.launch.py
-> Launches the mapping node which expects either real or simulated data to the subscribed topicsros2 launch slam_toolbox f1_tenth_slam_rviz.launch.py
-> Launches RViz with the Slam Toolbox plugin. The map is created in real time and can be saved through the plugin.ros2 launch map2gazebo map2gazebo.launch.py
-> Converts the recorded file into a 3D file that can be then used into Gazebo.