Simulation for differential drive robots using ROS2 Jazzy and Gazebo Harmonic. This package provides all of the necesarry files to get a simulated robot up and running. This includes the urdf, parameters and launch files for a robot with a lidar sensor and tele-operated navigation. More sensors will be added in future.
The package is still being worked on and in development
Supported for Ubuntu 24.04 & ROS2 Jazzy but compatibility with other versions has not been checked.
Make sure to install the following ROS 2 Jazzy Packages:
sudo apt install -y \
ros-jazzy-ros-gz \
ros-jazzy-ros-gz-bridge \
ros-jazzy-joint-state-publisher \
ros-jazzy-xacro \
ros-jazzy-teleop-twist-keyboard \
ros-jazzy-teleop-twist-joy To use this package please download all of the necessary dependencies first and then follow these steps
mkdir -p ros2_ws/src
cd ros2_ws/src
git clone https://github.com/adoodevv/diff_drive_robot.git
cd ..
colcon build --packages-select diff_drive_robot --symlink-installAfter sourcing ROS and this package we can launch the 2-wheeled differential drive robot simulation with the following command:
source install/setup.bash
ros2 launch diff_drive_robot robot.launch.py Currently, only keyboard control works. Run this in another terminal:
ros2 run teleop_twist_keyboard teleop_twist_keyboard Package is still being worked on, though the core funtionality is pretty much done, I will be adding some more sensors and functionalities soon.