This project leverages ROS 2 (Humble), Slam Toolbox, and Nav2 for autonomous navigation of an AGV.
Ensure you have the following installed:
- Slam Toolbox: https://roboticsbackend.com/ros2-nav2-generate-a-map-with-slam_toolbox/
- Nav2 Toolbox: https://navigation.ros.org/
- ROS 2 Humble: https://docs.ros.org/en/humble/index.html
-
Install Dependencies Make sure all required dependencies are installed on your system.
-
Configure SLAM Toolbox Update the SLAM Toolbox configuration file:
cd /opt/ros/humble/share/slam_toolbox/config/ sudo nano mapper_params_online_async.yaml
Adjust parameters as needed.
-
Launch the AGV Controller Run the following commands to start the AGV controller:
ros2 launch agv_launch/launch.py ros2 launch lakibeam1 lakibeam1_scan_launch.py
-
Run SLAM Program Start the SLAM program by executing the appropriate launch file.
-
Run Nav2 Program Launch the Nav2 navigation stack for path planning and control.