Skip to content

Latest commit

 

History

History
164 lines (95 loc) · 7.29 KB

README.md

File metadata and controls

164 lines (95 loc) · 7.29 KB

PROS With ARMS

Introduction

ARMS is a PROS library that makes writing autonomous code for VEX robots a piece of cake.

Installing ARMS

  1. Download the most recent template

  2. Run this command from terminal pros c fetch ARMS@3.1.0.zip

  3. cd into your pros project directory in your terminal

  4. Apply the library to the project pros c apply ARMS

  5. Put #include "ARMS/api.h" in your main.h

  6. Put #include "ARMS/config.h" in your main.cpp

  7. Call arms::init() in your initialize()

Quick start guide

Initializing & configuring ARMS

The file ARMS/config.h contains all the macros necessary to configure ARMS. There are many different macros to fine tune ARMS for your robot. Here are some examples:

  • LEFT_MOTORS - A list of motors used for the left wheels of the chassis.
  • RIGHT_MOTORS - A list of motors used for the right wheels of the chassis.
  • GEAR_SET - The gear-set that the motors of the chassis uses.
  • DISTANCE_CONSTANT - Used to tune how far the robot travels for a given unit of distance. We tune this so that the robot travels 12 inches accurately.
  • DEGREE_CONSTANT - Used to tune how far the robot turns for a given unit of distance. We tune this so that the robot turns 90° accurately.
  • *_KP, *_KI, *_KD - Tunes the