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:
Quote:
|
241)]ERROR Unhandled exception: java.lang.RuntimeException: Code: -1029. HAL: Resource already allocated at [edu.wpi.first.wpilibj.hal.PWMJNI.allocatePWMChanne l(Native Method), edu.wpi.first.wpilibj.PWM.initPWM(PWM.java:117), edu.wpi.first.wpilibj.PWM.<init>(PWM.java:134), edu.wpi.first.wpilibj.SafePWM.<init>(SafePWM.java: 35), edu.wpi.first.wpilibj.Talon.<init>(Talon.java:51), org.usfirst.frc.team4623.robot.subsystems.Chassis2 .<init>(Chassis2.java:23), org.usfirst.frc.team4623.robot.Robot.robotInit(Rob ot.java:53), edu.wpi.first.wpilibj.IterativeRobot.startCompetit ion(IterativeRobot.java:72), edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:
|
Here is the link to the code on GitHub:
https://github.com/FranklinMarquette...team4623/robot
I really hope somebody has the answer to this because I have no idea whats going on. Thanks for the help!