YaelBenShalom / Gazebo-Differential-Drive

Differential drive robot simulated on Gazebo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gazebo Differential Drive

Table of Contents

Overview

In this package I created Xacro files of a differential-drive robot, simulate it in Gazebo and control it using ROS.

  1. The robot moves through a world filled with Jersey Barriers and trash.
  2. The robot is be able to follow a rectangular path.
  3. The robot is be able to flip over and continue driving.

Getting Started

Create a workspace, clone the repo, and build the workspace:

mkdir -p ws/src && cd ws/src
git clone https://github.com/YaelBenShalom/Gazebo-Differential-Drive.git
cd ../..
catkin_make
source devel/setup.bash 

Usage and Configuration instructions

  1. To launch the differential-drive robot in the ddrive world using Gazebo simulation, run roslaunch diff_drive ddrive.launch. The robot starts from position (x,y) = (-3,-3) in rest mode.

    1. To make the robot follow a rectangular path, add follow_rect:=True to the roslaunch command.

    1. To make the robot flip over and continue driving, add flip_over:=True to the roslaunch command.

  2. To launch the differential-drive robot using RViz simulation, run roslaunch diff_drive ddrive_rviz.launch. The robot starts from position (x,y) = (-3,-3) in rest mode.

About

Differential drive robot simulated on Gazebo

License:MIT License


Languages

Language:Python 90.8%Language:CMake 9.2%