So our program is compiling in Eclipse but is returning an error that I dont understand in the DS. I added a second driveTele command that runs on the second XBox controller which has completely inverted controls. Thats the only questionable code that I can think of.
Here is the error:
241)]ERROR Unhandled exception: java.lang.RuntimeException: Code: -1029. HAL: Resource already allocated at edu.wpi.first.wpilibj.hal.PWMJNI.allocatePWMChannel(Native Method), edu.wpi.first.wpilibj.PWM.initPWM(PWM.java:117), edu.wpi.first.wpilibj.PWM.(PWM.java:134), edu.wpi.first.wpilibj.SafePWM.(SafePWM.java:35), edu.wpi.first.wpilibj.Talon.(Talon.java:51), org.usfirst.frc.team4623.robot.subsystems.Chassis2.(Chassis2.java:23), org.usfirst.frc.team4623.robot.Robot.robotInit(Robot.java:53), edu.wpi.first.wpilibj.IterativeRobot.startCompetition(IterativeRobot.java:72), edu.wpi.first.wpilibj.RobotBase.main(RobotBase.java:
Here is the link to the code on GitHub:
I really hope somebody has the answer to this because I have no idea whats going on. Thanks for the help!