Git Product home page Git Product logo

ez-template's Introduction

layout title nav_order permalink
default
EZ-Template
1
/

License: MPL 2.0

EZ-Template

Simple plug-and-play PROS template that handles drive base functions for VEX robots.

EZ-Template Version: 2.1.1

Autonomous routines that used EZ-Template

Download and Installation

  1. Download the latest example project here. Extract the zip, and open it in PROS.
  2. In src/main.cpp, configure drive and IMU ports to what they are on your robot. Be sure to read the comments!
  3. Configure your wheel size and cartridge. Remember that 4" omni wheels are actually 4.125!
  4. In src/main.cpp, at the bottom in void opcontrol(), decide how you'd like to control your robot! Any flavor of arcade or tank!
  5. Turn the robot on and use it in driver control. Make sure the ports are correct and reversed correctly!
  6. To test the test autonomous modes, plug into a competition switch and select the autonomous mode on the brain screen by pressing the left and right buttons! The current page will be the autonomous that runs. For making new autonomous routines, check src/autons.cpp for examples on how to use the drive functions.

Upgrading

Note: this only works for 2.0.0 and beyond. You cannot upgrade from 1.X.X to 2.X.X.

  1. Download the most recent EZ-Template here.
  2. Move the file to your project.
  3. Open terminal or command prompt, and cd into your projects directory.
  4. Run this command from terminal prosv5 c fetch [email protected].
  5. Apply the library to the project prosv5 c apply EZ-Template.
  6. Put #include "EZ-Template/api.hpp" in your include/main.h.

Tutorials

Check out our tutorials here!

Docs

Read the docs here!

Additing Autonomous Routines

Check out the tutorial on adding new autonomous routines here!

Running the docs locally

Install node & yarn npm install --global yarn

then within the website directory run

yarn
yarn build
yarn serve

License

This project is licensed under the Mozilla Public License, version 2.0 - see the LICENSE file for the full license.

ez-template's People

Contributors

ssejrog avatar fishsticks89 avatar hakopz avatar liamcahill0714 avatar asik007 avatar hakop23 avatar sy1vi3 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.