Skip to content
This repository has been archived by the owner on Jul 9, 2021. It is now read-only.

Code for 3400S' robot.

Notifications You must be signed in to change notification settings

Skyluker4/BHSRobotics-2019-2020-3400S

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BHS Robotics Code - Team 3400S

The code for team 3400S's robot.

Structure

  • Compiled executables for interacting with robot and APIs.
  • /display/* - Files required for interacting with the display, lvgl.h should be included in api.h which is included in main.h.
  • /okapi/* - Files required for OKAPI.
  • /pros/* - Files required for interacting with robot API. Included in api.h which is included in main.h.
    • misc.hpp - This file has been edited to make controller_id_e_t pros::Controller::_id public instead of private.
    • motors.hpp - This file has been edited to make const std::uint8_t pros::Motor::_port public instead of private.
  • api.h - The file to include to interact with the robot API.
  • config.hpp - Robot configuration.
  • controller.hpp - The file to include to send commands to the controller.
  • error.hpp - The file to include to handle robot errors.
  • main.h - Defines functions to be run by robot and includes api.h.

File needed for make.

File needed for make.

File needed to upload program, interact with the PROS CLI, and to use the PROS editor.

Building

Requires PROS-CLI3 installed. Build using "prosv5 make". Outputs to bin/.

Uploading

Plug in V5 brain into computer with micro-USB cable. Upload using "prosv5 upload".

Resources

BHS Robotics website is here.

The latest game manual can be viewed here.