Coder Social home page Coder Social logo

rbe-1001-final-project's Introduction

WPI B16 Team 14's RBE 1001 final project robot code

Video of NEST scoring autonomous working: https://goo.gl/photos/t9ZCUKBD9ZbDSFzN7

Our robot code is broken up into multiple files to ease clarity. The template file is only used to call our autonomous/teleop functions and print values to the LCD screen. We are able to select which autonomous mode we want to run using a button to toggle through the available modes, a jumper to select the color, and an LCD to display the current state.

To make it easier for us to quickly develop autonomous modes we wrote a python script that parses a plain text file and generates a C++ switch statement which is saved as a .auto file to be copied into our robot code. Each state runs a specific robot feature using the functions in our robot code and moves on to the next state when a certain condition is met. The program also automatically adds statements to reverse turns depending on which side of the field the robot starts on. An example input and output of this program is included.

alt text

rbe-1001-final-project's People

Contributors

max5254 avatar oliverwjay avatar

Watchers

James Cloos 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.