Skip to content

ROS Gazebo skid steering robot model for navigation with amcl

Notifications You must be signed in to change notification settings

jdgalviss/skid_steer_bot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ROS Localisation and Navigation using Adaptive Monte Carlo Localisation (AMCL) with a skid-steer robot

This repository contains a Robot Operating System (ROS) implementation of a skid-steer robot model for uses with the ROS navigation stack. The model uses the Adaptive Monte Carlo Localisation (AMCL) method for localisation with the Elastic band planner method to navigate to goal locations.

skid-steer robot model

Project website

This repository has an accompanying project page, contains the theory and details behind the code. It can be found here.

Prerequisites

  1. Ubuntu OS or debian

  2. Robot Operating System (ROS). Installation instructions can be found here.

  3. Install ROS nodes required for the local and global planners, amcl, maps and motor control for the navigation stack.

$ sudo apt-get update
$ sudo apt-get install ros-kinetic-move-base
$ sudo apt-get install ros-kinetic-map-server
$ sudo apt-get install ros-kinetic-amcl
$ sudo apt-get install ros-kinetic-eband-local-planner
$ sudo apt-get install ros-kinetic-global-planner

Installing

Clone this repository in your catkin workspace 'src/' folder.

$ cd ~/catkin_ws/src/
$ git clone https://github.com/Heych88/skid_steer_bot.git

Build the project:

$ cd ~/catkin_ws
$ catkin_make

If you haven’t already, the following line can be added to your .bashrc to auto-source all new terminals

source ~/catkin_ws/devel/setup.bash

Run the Code

In a terminal window, type the following,

$ cd ~/catkin_ws
$ roslaunch skid_steer_bot udacity_world.launch

In a new terminal, run the 'amcl.launch' file.

$ cd ~/catkin_ws
$ source devel/setup.bash
$ roslaunch skid_steer_bot amcl.launch

Gazebo and Rviz will load and you should arrive at a result similar to the below.

Gazebo & RViz with costmap

Testing
  1. In Rviz, click on the 2D Nav Goal in the top menu.
  2. Click on the Rviz map where you want the robot to navigate too.

You should arrive at a result similar to the below.

navigation to a goal location

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

About

ROS Gazebo skid steering robot model for navigation with amcl

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • CMake 100.0%