Coder Social home page Coder Social logo

ankitajais20 / obstacle-avoidance-bot Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 9 KB

This is an Obstacle Avoiding Robot using Reinforcement Learning/AI Algorithm used in this project: Q learning How Obstacle Avoiding Works? 1.Ultrasonic sensor is used measure distance from the obstacle using its Echo and Trig Pins. 2.When distance is measured and if its less than 20 cm then there is an obstacle nearby otherwise robot is safe and continue Forward. 3.If obstacle is detected then robot takes left or right turn depending on the situation. How AI based Obstacle Avoidance Works?(Q learning) 1.Here the 1st step from upper article remains the same.However the 2nd Step is different. 2.A list of actions of the robot are initialized first. For Example in this case actions of Robot are: Left , Forward, Backward ,Stop. 3.When the Robot comes near an obstacle it is required to perform an action. However note that in this case Robot doesn't know which action to take as its not pre-programmed and going to learn on its own to avoid obstacles. 4.When Robot stops when there is an obstacle in front of it then it gets reward as 0 When Robot stops and goes backward it receives reward of -5 When Robot continues to move forward ignoring the obstacles it receives reward of -10 When Robot just moves left as soon as obstacle is detected it gets reward of +10 5.In this way Robot learns on its own to avoid obstacles by Reward Mechanism.

C++ 100.00%

obstacle-avoidance-bot's Introduction

  • ๐Ÿ‘‹ Hi, Iโ€™m @ankitajais20
  • ๐Ÿ‘€ Iโ€™m interested in the field of Software Development and love problem solving.
  • ๐ŸŒฑ Iโ€™m currently learning about various algorithms and concepts related to machine learning and web development.
  • ๐Ÿ“ซ You can reach me via LinkedIn: https://www.linkedin.com/in/ankita-jaiswal-4840611ab/

obstacle-avoidance-bot's People

Contributors

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