Coder Social home page Coder Social logo

micromousecds's Introduction

Advanced Ratatouille:mouse:

##Basic idea

  1. use flood fill algorithm(see the slides) to search the center
  2. when at the center, reassign distance values of all cells based on
    the actual distance from the cell to the center.
  3. construct the shortest 'route' between center and origin
  4. use the 'route' to run back home to finish search run
  5. use the 'route' to run to center for speed run
  6. use the 'route' to run back home for speed run

##Using Simulator compile source code: $ make
run it:$ ./run [-m N] [-p] [-v] [-d]
options:
-m N specify which maze to run with (N is the id number of the maze)
-p pause at every move
-v verbose. Output useful debugging information
-d demo. Only perform first run (search run)

$ make clean before we wanna compile updated version
if we wanna run left follower, use $ make leftfollower and $ ./LfRun [-m N] [-p]

##Todo List

  • Assemble hardware
  • FloodFill simulation
  • PID controller
  • LED display programming More to come...

Gihub has emoji.:+1::+1::+1:

micromousecds's People

Contributors

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