Coder Social home page Coder Social logo

robot-multi-floor-navigation's Introduction

Robot Multi Floor Navigation Package

This package enables the Clearpath Jackal robot to autonomously navigate through a multi-floor environment using an elevator. It utilizes Robot Operating System (ROS) and Gazebo simulation for development and testing.

Functionality

  • Navigation to goal points
  • Getting in and out of elevator
  • Switching maps for appropriate floors automatically
  • Localize after map switching

Simulation scenario

Navigate Clearpath Jackal autonomously through a series of waypoints to starting from floor 0 and ending at floor 1, by navigating through obstacles and using the elevator in the provided simulation world.

elevator_configuration

Here, the numbers denote the waypoints as follows:

  1. Near fire hydrant floor 0: (4.0,-5.0,0.5)
  2. In front of elevator floor 0: (3.0,-0.5,0.5)
  3. Inside elevator floor 0: (0.0,-0.5,0.5)
  4. Inside elevator floor 1: (0.0,-0.5,3.2)
  5. In front of elevator floor 1: (3.0,-0.5,3.2)
  6. Near fire hydrant floor 1: (4.0,5.0,3.2)

Install

Get dependencies

Ensure you have the following ROS packages installed:

Jackal Gazebo Dependencies:

If using ROS melodic, run:

$ sudo apt-get install ros-melodic-jackal-*

ROS Workspace Setup (Melodic)

  1. Create a ROS workspace:
$ mkdir -p ~/catkin_ws/src
$ cd ~/catkin_ws/src
  1. Clone this repository and the jackal elevator world repository:
$ git clone https://github.com/weijieyong/robot-multi-floor-navigation.git # for multi floor navigation
$ git clone https://bitbucket.org/swaroophs/jackal_elevator.git # for gazebo world
  1. Build the workspace:
$ cd ~/catkin_ws/
$ catkin_make
$ source ~/catkin_ws/devel/setup.bash

Mapping

This package utilizes the gmapping package for generating maps within the simulation.

  1. Launch the gmapping node.
roslaunch multi_floor_navigation jackal_elevator_gmapping.launch
  1. Use the Interaction Marker in RViz to move the robot and generate a map.

  2. Save the map for floor 0 using:

$ rosrun map_server map_saver -f <map_filename>.yaml
  1. Edit the z_pos parameter in jackal_elevator_gmapping.launch and repeat steps 1-3 to save a map for floor 1.

Note: Pre-generated maps for both floors are already available in the maps folder.

Navigation

  1. Start the navigation nodes.
roslaunch multi_floor_navigation jackal_elevator_nav.launch
  1. Once the simulation is launched, run the following node to start navigating.
rosrun multi_floor_navigation multi_floor_navigation_node

The robot will then begin navigating between floors according to the defined waypoints.

robot-multi-floor-navigation's People

Contributors

weijieyong avatar

Stargazers

 avatar

Watchers

 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.