CTRE Imports crashing my code

So I’m trying to make use of the CTRE API, but I’m running into trouble with actually having the code loaded on the robot. Whenever I load up the code, it crashes and points to the fault of the SensoredGearbox and SensoredTank. Specifically found on lines 78, 79, and 84 as you can find here: https://github.com/5638/2-speed-tank/blob/master/src/org/usfirst/frc5638/shiftyTenk/RobotMap.java

Do I need to load special firmware onto the RoboRIO, or am I doing this entirely wrong? Thanks for answers in advance :slight_smile:

It may or may not have something to do with the whole class appearing to be commented out.

And so it begins…

WTF thanks. this solves a lot of stupid problems :smiley:

Is that a shipping version of the library?!

EDIT Alt answer, c/o Redrield: “No, it’s a test build. They just test in production.”

Yes. It is hard to believe, but yes, that was the version released today.

I would be surprised if the new CTRE code runs without the 2018 roboRIO image and updated TalonSRX firmware.

Along with the release notes saying it’s coming in a future build: GitHub - CrossTheRoadElec/Phoenix5-Documentation: Phoenix-Documentation

Shortly after Kickoff will be an additional update to support…

[li]Various upper level objects (Gearbox/Drivetrain/Servo objects with unit scaling).[/li]

Did you follow the instructions in “Before you write any software” ? GitHub - CrossTheRoadElec/Phoenix5-Documentation: Phoenix-Documentation