This tutorial focuses on integrating a TurtleBot3 Waffle model into the modern Gazebo Sim (Ignition) environment with ROS 2. It involves adding a LiDAR sensor and a camera sensor to the model, ensuring their data can be visualized in RViz 2 .
This pkg need the following dependencies:
ros_gz_sim
ros_gz_bridge
sdformat
- Navigate to the WS directory where the pkg is located and then build the ws and source the build:
colcon build
source install/setup.bash- Then run the pkg by the following command :
ros2 launch robot_description robot.launch.py - The output will be as shown below:
- To move the robot use teleop_twist_keyboard and navigate the robot inside the world:
ros2 run teleop_twist_keyboard teleop_twist_keyboard
