Giter Site home page Giter Site logo

robot-code's Introduction

Robot-Code

This is our preliminary robot code

robot-code's People

Contributors

iamgarcia avatar michaelmvv avatar pashabou avatar tjhorner avatar

Watchers

 avatar  avatar  avatar

robot-code's Issues

Ball Shooter

The ball shooter must be able to turn on and off and have adjustable speed.

Rope Climber

The rope climber must have adjustable speed and must stop when the button has been pushed

Autonomous

These need to be done in order...

  • Set DIO Ports for the 8 switches
  • Store the state of the switches (on/off)
  • Add a getSwitches statements that retrieves the switch states and stores them in a boolean array
  • Import dependencies and create necessary variables
  • In the autonomousInit method, make sure the autotime is reset and then started
  • Retrieve game data and store it in a String
  • Create autonomousPathfinding method that takes in the game data and boolean array of the switches that are active
  • In autonomousPathfinding, check to see what field position the robot is in (left, middle, right)
  • In autonomousPathfinding, check to see which path modifiers are active (go straight, target scale, and target switch)
  • In autonomousPathfinding, check to see which time modifiers are active (2 second delay or 5 second delay)
  • In autonomousPathfinding, compare field position with path modifier and time modifier. With that, determine which path it will take (by using the game data provided at the beginning of the match). Attached will be the possible paths with path modifiers and time modifiers both active and inactive

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.