Skip to content
This repository has been archived by the owner. It is now read-only.
πŸ€– The code behind our 2019 season
Branch: master
Clone or download
Latest commit ea54b19 Apr 22, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode western practice push Apr 6, 2019
.wpilib
RIO-Logs
VisionMode goodbye Apr 22, 2019
common/include
docs Provincials code from robot and vision system. Goodbye DeepSpace. Apr 14, 2019
experiments clocking Apr 5, 2019
gradle/wrapper
src/main Provincials code from robot and vision system. Goodbye DeepSpace. Apr 14, 2019
vendordeps fix names, publish gyro Feb 22, 2019
.gitignore
CODEOWNERS added new codeowner Dec 8, 2018
LICENSE Initial commit Nov 25, 2018
README.md small tweaks to documentation Mar 14, 2019
build.gradle Revert "Merge pull request #38 from frc5024/encoder" Mar 22, 2019
buildcml.py Update cml formatting Jan 12, 2019
caret.config
controller_layout.cml.json
controller_layout.txt
doxygen.config update doxygen Jan 12, 2019
gradlew tool installation Jan 4, 2019
gradlew.bat tool installation Jan 4, 2019
pull-logs.sh logging improvements Mar 15, 2019
replay_pid140352.log Climb is restarting! D: almost fixed... Mar 27, 2019
replay_pid93516.log
replay_pid94836.log Climb is restarting! D: almost fixed... Mar 27, 2019
settings.gradle
shuffleboard.json

README.md

DeepSpace CodeFactor DOI

Our DeepSpace code is built on top of BaseBot. The documentation can be found HERE

Installation

This code can be "installed" in one of two ways. First, is via an official release:

These are the steps:

  • Get the latest release from github
  • Unpack the compressed archive
  • Open it as a folder in vscode
  • Set your team number in wpilib
  • Deploy using wpilib

The second way is to use rolling release / waterfall. Just do the steps above, but use git to clone the master branch instead of grabbing the latest release.

NOTE: 5024 members should always use the second method.

Building Documentation

To build the c++ documentation, we use a custom Doxygen config. To use this config, run this command on a linux machine:

doxygen ./doxygen.config

To build the Controller Layout files, run this command (python3 may need to be changed to pythonor py3 depending on the system):

python3 ./buildcml.py ./controller_layout.cml.json

NOTE: Linux is required for the doxygen documents due to our use of unix-style path notation.

EdgeLight

Our 2019 robots both have RGB LED strips along their sides. These are used to disply robot status and also just to look cool. The current funciton of the lights are as follows:

Colour Pattern Meaning
Red Heartbeat Red alliance auto enabled
Blue Heartbeat Blue alliance auto enabled
Red Solid Red alliance teleop enabled
Blue Solid Blue alliance teleop enabled
Green Solid Vision / Finger indication

Pull requests

Pull requests is our prefered method of merging code. For a PR to be merged, it must:

  • Pass style checking
  • Be approved by a mentor or team lead
  • Compile without any errors or warnings

Deployment

When deploying code to our robots we have a problem where, on the first few tries, the deployment fails due to not being able to find the RIO. Just keep trying, and it will eventually work.

The team

This codebase is built and tested by the 5024 programming team with help from our mentors:

You can’t perform that action at this time.