Coder Social home page Coder Social logo

arduino-robot-line-and-maze's Introduction

Arduino-Robot-Line-and-Maze

##INTRO This is a code for Arduino Robot that has Line and Maze mode in one sketch. This was primarily used for ROBONEO 2015 and ended up using the v1.0 instead of v1.5, do refer to knwon issues below

##KNOWN ISSUES

  • v1.2 onwards has problems where the Maze mode codes disrupts the Line Mode making the robot unable to follow the line properly when it's still in Line Mode
  • Only v1.4 are tested without any logics to make the robot do a 90 degree turn on junctions/corners
  • Without the turn logics, the robot unable do 90 degree elbow turn properly but it will stay dead center

##CHANGELOGS ###v1.6

  • Added button to manually change between Line (UP button) and Maze (DOWN button) Mode
  • Uses variable "State" to retain the mode

###v1.5

  • Enforced Mode switching to be more stricter
  • Added logic on Maze mode
  • Turn left are prioritized
  • Used Timer Library from https://github.com/JChristensen/Timer to avoid robot turning when detected small hole

###v1.4

  • Added " IF (0)" block to quickly disable turn on Maze Mode
  • Added new line follow (linef2()) function with PID from arduino LineFollow.cpp library as experimental

###v1.3

  • Changed the condition to change to Maze Mode slightly stricter
  • Still got bugs

###v1.2

  • Added Maze Mode code
  • Maze Mode uses separate PID from WIKIPEDIA pesudo
  • Maze Mode uses left wall follow mode
  • some hitches with Maze Mode disrupting Line Mode (unable to follow line properly)
  • Added automatic mode change from Line Mode to Maze Mode with basic conditions

###v1.0

  • Added PID algorithm
  • Added IF ELSE statement to handle PID
  • PID Value optimized for line turn radius of approx. 10 to 20cm

###v0.5

  • Added Speed multiplier based on percentage

###v0.1

  • Basic line follow codes
  • No PID controls

arduino-robot-line-and-maze's People

Contributors

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