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
Oblarg
January 4, 2018, 8:48pm
2
brandon5638:
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: 2-speed-tank/src/org/usfirst/frc5638/shiftyTenk/RobotMap.java at master · 5638/2-speed-tank · GitHub
Do I need to load special firmware onto the RoboRIO, or am I doing this entirely wrong? Thanks for answers in advance
It may or may not have something to do with the whole class appearing to be commented out.
WTF thanks. this solves a lot of stupid problems
bdaroz
January 4, 2018, 9:21pm
5
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.
Ryan_Blue:
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.
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]
brandon5638:
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: 2-speed-tank/src/org/usfirst/frc5638/shiftyTenk/RobotMap.java at master · 5638/2-speed-tank · GitHub
Do I need to load special firmware onto the RoboRIO, or am I doing this entirely wrong? Thanks for answers in advance
Did you follow the instructions in “Before you write any software” ? GitHub - CrossTheRoadElec/Phoenix5-Documentation: Phoenix-Documentation