Cartographer¶
Run with docker¶
Simple Test With Turtlebot3¶
-
Attach to the container
- Open the turtlebot simulation intmux
- Run the SLAM node in new window oftmux
- Run the control tool in new window oftmux
Building Packages¶
docker attach ros2-cartographer-ws
cd /home/ros2-essentials/cartographer_ws
rosdep update
rosdep install --from-paths src --ignore-src --rosdistro humble -y
colcon build
After the build process, make sure to source the
install/setup.bash
file.
Otherwise, ROS2 will not locate the executable files. You can open a new terminal to accomplish this.
Multi LiDAR - Single Robot SLAM test¶
Simulation¶
- multi_lidar_desp package: Description of a robot with multiple LiDARs.
-
multi_lidar_gazebo package: Gazebo simulation of the robot with robot state publisher.
Run the SLAM node¶
- Run the cartographer SLAM node in new window of
tmux
- Run the control tool in new window of
tmux