Skip to content

Team5857/2017-Robot

Repository files navigation

2017 Robot

This is the final version of code we used at competition for FRC's 2017 STEAMworks competition. It uses the command-based system provided by WPILib.

The .java files are in src/.

Systems

For our drivebase, we used basic tank drive, with two joysticks controlling the speeds of each side. For autonomous code we used information from the gyroscope to move in a straight line.

The climber takes in an input between -1 and 1 and converts that to a speed between 0 and 1 (since we only wanted the climber motors to run in one direction).

The Lift subsystem contains our pneumatic system, including the compressor and two double solenoids.

In Robot.java, we used the power distribution panel to clear sticky faults at initialization. We also coded the SendableChooser but ended up not using it (we just used one default option instead). The log() method prints the status of certain variables to the SmartDashboard in Driver Station.

About

Competition Code for Team 5857 in FRC Steamworks 2017

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages