Coder Social home page Coder Social logo

linebot's Introduction

Robot Competition 2020

Cognitive Science & Autonomous Robotics

I initially created this repository as part of Vassar College's COGS-220-51-2020B: Autonomous Robotics taught by Assistant Professor Josh de Leeuw in Fall of 2020.

The Project

The goal of this project was to program one of Pololu's Zumo robots to solve an arbitrary maze constructed from electrical tape lines on the floor independently. The robot was allowed to have a first untimed run to map out the maze and required to solve the maze on its second run (using its stored knowledge) in as little time as possible. To break up the challenge, the class had 7 milestones.

The Code

See Milestone 7 cumulative (and best documented!) code here.

Milestone 7 attempt

Original milestones

  1. Create your own code that moves the Zumo at least 4 feet.
  2. Get the Zumo to follow a line on the floor for at least 4 feet.
  3. Get the Zumo to follow a line along 2' x 2' square. (Create a square using the tape, 2ft on each side. Place the Zumo anywhere on the square and get it to follow the square for at least a full lap.)
  4. Get the Zumo to navigate a simple maze with no branching (only one path) and stop when it reaches the end goal.
  5. Get the Zumo to solve a maze with branching.
  6. Get the Zumo to solve a maze with branching and then repeat the maze and follow a memorized path.
  7. Have a final run in the practice maze of under 15 seconds.

Therefore, this repository is divided into 7 folders, demonstrating incremental versions of a program, from simple to advanced. Each folder can be uploaded independently onto the Zumo. My attempts at each of these milestones using the code I wrote are documented in this YouTube playlist. I also wrote a little bit about my challenges and thoughts about each week's milestone in the readme files of the associated directories.

Requirements

  • ArduinoSTL library (for vector support)
  • ZumoShield library

References

Pololu Zumo Shield Arduino Library Pololu Zumo Shield for Arduino User's Guide

linebot's People

Contributors

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