To install the ROS Humble Navigation packages, follow the steps below:
sudo apt install ros-humble-navigation2 ros-humble-nav2-bringup ros-humble-turtlebot3*
This command installs the ROS Humble Navigation core, bringup, and TurtleBot3-related packages.
4. Once the installation is finished, you can proceed with the configuration and usage of the installed packages as per the documentation.
gedit ~/.bashrc
export TURTLEBOT3_MODEL=waffle
source .bashrc
printenv | grep TURTLE
OUTPUT:
TURTLEBOT3_MODEL=waffle
gazebo
echo "source /opt/ros/humble/setup.bash" >> ~/.bashrc
source ~/.bashrc
ros2 launch turtlebot3_gazebo turtlebot3_world.launch.py
ros2 launch turtlebot3_cartographer cartographer.launch.py use_sim_time:=True
ros2 run turtlebot3_teleop teleop_keyboard
create a folder in root diractory name as 'maps' . Following this command
ls /ros2_humble/src/
mkdir maps
ros2 run nav2_map_server map_saver_cli -f maps/my_maps
ls
Now you can find this file:
sudo apt update
sudo apt install ros-humble-rmw-cyclonedds-cpp
gedit .bashrc
export RMW_IMPLEMENTATION=rmw_cyclonedds_cpp
cd /opt/ros/humble/share/turtlebot3_navigation2/param/
ls
sudo gedit waffle.yaml
robot_model_type: "differential"
robot_model_type: "nav2_amcl::DifferentialMotionModel"
ros2 launch turtlebot3_gazebo turtlebot3_world.launch.py
ros2 launch turtlebot3_navigation2 navigation2.launch.py use_sim_time:=True map:=ros2_humble/src/maps/my_maps.yaml
- H.M. Mehedi Hasan (Badhon)
- GitHub Profile
- LinkedIn Profile
- Associate Robotics Engineer, NSL
For more information, refer to the official ROS documentation and package-specific README files.