Giter VIP home page Giter VIP logo

ros_monte_carlo_localization's Introduction

Simulating Adaptive Monte Carlo Localization

This repository contains a ROS package which localizes a robot in a known map with the use of a 2D LiDAR. Using the estimated pose and the ROS navigation stack, the robot is able to navigate through the environment.

start_goal

Installation

An installation of the Robot Operating System (ROS) is required to run this package. This package has only been tested on the Kinetic and Melodic distributions of ROS.

Clone this repository into a catkin workspace src directory, and build the package.

$ git clone https://github.com/kenkangg/ROS_Monte_Carlo_Localization.git
$
$ cd ~/catkin_ws
$ catkin_make
$ source devel/setup.bash

Usage

The actual usage of this package consists of four steps: launching the Gazebo simulation, localizing the robot, and navigating it to a goal pose.

Gazebo Simulation

By launching the udacity_world.launch file, a robot, described in the urdf directory of this repository is placed in the jackal race environment. While this robot is equipped with both a planar laser rangefinder and an rgb camera, only the laser rangefinder is used for localization.

$ roslaunch udacity_bot udacity_world.launch

Localization

The amcl launch file starts the localization node which subscribes to the laser rangefinder, initial pose, robot transforms, and the predefined map. The output of this node is a particle cloud, estimated pose, and odometry transform information. By opening the rviz config file, this information can be easily visualized.

$ roslaunch udacity_bot amcl.launch
$ rosrun rviz rviz -d ~/catkin_ws/src/udacity_bot/udacity_bot.rviz

Navigation

This file is not necessary to run localization, but will send the robot to the pose that is pictured at the beginning of this documentation. A custom goal pose can be chosen by clicking the 2D Nav Goal option at the top of the Rviz GUI and marking the desired location on the map.

$ rosrun udacity_bot navigation_goal

ros_monte_carlo_localization's People

Contributors

kenkangg avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.