Skip to content

1sznkaveesh/Gazebo-Test-Simulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

Gazebo-Test-Simulation

Mobile Differential Drive Robot-

  • This package provides a simulated mobile differential drive robot, modeled and tested using Gazebo, URDF, and Xacro in the ROS2 framework.​

Features-

  • Modular robot description using URDF and Xacro for flexible configuration and parameterization.​​
  • Gazebo simulation support for dynamic testing and visualization of robot behavior.​​
  • Launch files provided for spawning the robot in Gazebo with all relevant plugins and state publishers.​

Modeling Approach

  • URDF defines robot structure: links, joints, physical properties.
  • Xacro adds macros and parameters for easier editing.
  • Gazebo simulates physics and environment for robot testing.

Getting Started

1. Clone this repository

cd ~/ws_ddmobile

2. Build the package

colcon build --symlink-install

3. Source the workspace

source install/setup.bash
source /opt/ros/humble/setup.bash

4. Launch the robot in Gazebo

ros2 launch mobile_dd_robot gazebo_model.launch.py

5. Teleoperate the robot using keyboard

  • Open a new terminal: (Keep this terminal window open along with gazebo)
ros2 run teleop_twist_keyboard teleop_twist_keyboard
  • Open an another terminal to monitor output:
ros2 topic echo /cmd_vel
ros2 topic echo /d455/depth/image_raw/compressedDepth
ros2 run rqt_image_view rqt_image_view
ros2 run rviz2 rviz2


Youtube

https://youtu.be/EN-gyx4WqCU

About

Basic 3-wheel robot modelling and control

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors