Giter Club home page Giter Club logo

bug2_create's Introduction

  • Title: Contact Sensor Based Implementation of iRobot Create Navigation Around Obstacles to Goal Postions
  • Author: Dennis Melamed
  • Based off of the pathfinding algorithm know as "Bug 2."
  • A more complete explanation with visuals (by Howie Choset at Carnegie Mellon University) can be found here:
  • http://www.cs.cmu.edu/~motionplanning/lecture/Chap2-Bug-Alg_howie.pdf
  • Overall Process:
  • -Calculate shortest distance to target, record the angle from the target to a zero angle position (this describes the line to the target, aka the "m-line")
  • -Drive along the m-line until the target is reached or a collision is detected
  • -If a collision is detected, follow the edge of the object collided against clockwise until the m-line is regained
  • -Continue driving towards target following the m-line, repeat object circumnavigation as required until target reached.
  • More Detailed Flow:
  • -An angle to the goal position is found and rotated to
  • -The robot moves forward until a collision is detected or the goal position is reached
  • -if a collision is detected:
  •  -an angle respresenting the line from the current position to the goal position is stored
    
  •  -the robot drives back a short distance, 
    
  •  -rotates 90 degrees counter-clockwise,
    
  •  -drives forward a robot-length,
    
  •  -rotates 90 degrees clockwise,
    
  •  -drives forward checking for a collision
    
  •  -if a collision is detected:
    
  •  	- the above process repeats itself until a collision is not detected
    
  •  -if there is no collision after a certain distance:
    
  •  	- this indicates the robot has gone off an edge of the obstacle
    
  •  	-The robot drives forward an additional robot-length,
    
  •  	-rotates 90 degrees clockwise
    
  •  	-drives forward a robot-lenght
    
  •  	-begins testing again as though a collision had just been detected
    
  •  -Once the robot is at the same angle from the origin as the goal position is, the m-line has been regained
    
  •  -The robot rotates to face the goal position and begins driving toward it again
    

bug2_create's People

Contributors

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