Skip to content

A custom template based using PROS for VEX V5 meant to handle basic robot functions.

License

Notifications You must be signed in to change notification settings

Apollo-Robotics/Apollo-Template

Repository files navigation

Apollo Template

Downloads License: MPL 2.0 Build

A custom template based on the PROS (Purdue Robotics Operating System) meant to handle basic robot functions

Usage

Self-Installation

  1. Download the latest library of the template here.

  2. Open / Move the downloaded .zip file to the main directory of your active PROS project.

  3. In the PROS CLI apply the template using the following commands:

    prosv5 c fetch [email protected]
    prosv5 c apply Apollo-Template

    (x.x.x is the version of the downloaded library that is being installed)

    Example:

    prosv5 c fetch [email protected]
    prosv5 c apply Apollo-Template
  4. Once the commands have been executed and the program installed, add #include "apollo/api.hpp" anywhere in main.h

  5. Once done, intialize the drivetrain in any .cpp or .c file, such as main.cpp.

    To initialize, define a chassis using the Chassis class, give it a name, and add your motor ports and drive parameters like such:

    Chassis drivetrain( {1, 2}, {3, 4}, 5, 4, 1, 200);

    Read the documentation here to finish initializing or look at the example definition here!

  6. Finally, reference the class in any .hpp or .h file, such as main.h, like such:

    extern Chassis drivetrain();

And.... Your done!

It's not rocket science, it's Robotics!

Pre-Done Installation

  1. Download the latest template here.

Basic Features

Apollo Template is meant to be used as an all-in-one template for easily setting up your drivetrain. Simply input all your drivetrain parameters, choose your flavor of joystick control, and you're off to the races.

Currently, Apollo Template supports only tank drive configurations with a basic arcade and tank control methods. We plan to add X Drive as well as Meccanum drive support at later versions

Notes

Apollo Template is only supported on PROS Kernel version 3.8.0. A PROS 4 version will be availible once PROS 4 is out of beta.

About

A custom template based using PROS for VEX V5 meant to handle basic robot functions.

Resources

License

Stars

Watchers

Forks

Packages

No packages published