Log in

View Full Version : 4130 Diablo V Code Release (2016)


andrew4130
18-12-2016, 16:46
Team 4130 Presents the 2016 FRC robot code for Diablo V. Diablo V‘s code is written in LabVIEW and is based off of WPILib's LabVIEW control system.

Our code can be found on our GitHub here: https://github.com/FRC4130

The code is divided into several VI’s with a few custom VI’s. All the VI’s are on the GitHub link below, including Teleop, Autonomous Independent, and our vision code. Our dashboard is included, although it was semi-basic besides our autonomous selector.

Thanks to a generous donation by CTRE, this year we were lucky enough to be using 7 Talon SRX’s (plus 1 Victor SP) along with their included WPI Libraries (Which according to FIRST rules we will have to download separately in the 2017 season). You can see us using these very helpful libraries mainly in Teleop for the PID angular control of our Shooting arm, and for the velocity PID in our shooter. Plus Talons SRX’s use CAN bus and CAN can save an Electrical captains life. We also use the CTR libraries in Auton because our drivetrain encoders are directly wired into the Talons themselves (like most of our sensors are, except for the gyro).

I hope you find our Code release helpful, and educational. From Team 4130 and Diablo V, Thank you for your support.