ROS 2 package for multi-turtlebot navigation in Gazebo This package is tested on ros2 (galactic)
• gazebo_ros
sudo apt install ros-galatic-gazebo*
• Nav2
sudo apt install ros-galactic-navigation2
sudo apt install ros-galactic-nav2-bringup
• Turtlebot3 packages
sudo apt install ros-galactic-dynamixel-sdk
sudo apt install ros-galactic-turtlebot3-msgs
sudo apt install ros-galactic-turtlebot3-*
sudo apt install ros-galactic-turtlebot3-navigation2
• Jinja2
sudo apt install python3-pip
pip install Jinja2
This is done through the robot_specs.yaml, located in the config file of the package.
You can run the code through:
i. ros2 launch multi_robot_navigation main_launch_multi_robot_navigation.launch.py
ii. Sending a goal
1.On the tools properties, change the namespace of the /goal_pose topic. Note, the robots will be named following the format /robot_0 , /robot_1, etc.
2.After adding the namespace, define the goal pose through the upper bar menu.