Git Product home page Git Product logo

wall_follower's Introduction

Wall Follower - A Simple Reactive Robot

In this project you'll find a robot that can follow a wall.

It was developed using ROS and STDR Simulator.

It was designed to analyse the laser sensors it has and keep track of the wall.

It was tested using a 'W' shaped map, both on the inside and outside walls.

Project Dependencies

This project was developed under Ubuntu 16.04 with ROS Kinetic, compatibility with older or newer versions is not guaranteed.

The project requires the following dependencies installed:

  • ROS Kinetic and proper build tools installed
  • A properly configured catkin workspace
  • The STDR simulator packages installed in ROS
  • A Python interpreter, version 2.7 or equivalent/compatible

How to run this project

Installing the packages

  1. Copy the directory containing this code into your catkin workspace's src folder to create a package for this project.
  2. Open a terminal at the root of your catking workspace and run catkin_make to compile.

Launching the Server, GUI, Map and spawning robots:

Open a terminal and run the roslaunch <package_name> <launcher> command:

  • <package_name> - replace with the package name of this project.
  • <launcher> - replace with one of the provided launchers.

For example: roslaunch wall_follower server_with_map_gui_and_2_simplex.launch

Launching the AI nodes of each robot

Open a terminal for each robot spawned and launch the nodes with the following command: rosrun wall_follower avoid_wall.py <id>

Replace <id> with the respective id of the robot you wish to control.

For example: rosrun wall_follower avoid_wall.py 0 Or: python avoid_wall.py 1

wall_follower's People

Contributors

bluedi avatar pmmagit avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  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.