AJWasserman
15-11-2016, 18:56
Hey everyone,
Our team is revamping our T-Shirt tank with a roboRIO and some fresh code but we are having some problems running the Victors. We wrote the program exactly as we had for our 2016 bot in Java with the only difference being that the 2016 bot used TalonSRX's.
For declaring the motors we tried using the general SpeedController class, the Victor class, and tried using a RobotDrive class as well. We still haven't been able to get any of them to run. We just used a basic motorName.set(1) for the object but when the command containing it is running we still saw no movement or change in the signal LED on the Victor. Is there something different we need to do for the Victors since they are PWM instead of the TalonSRX's CAN bus?
When we replaced the Victors with TalonSRX's on the tank and updated the code accordingly the motors drove fine but we would still like to use Victors for it.
Any help would be greatly appreciated and feel free to let me know if you need any more information.
Thanks!
Our team is revamping our T-Shirt tank with a roboRIO and some fresh code but we are having some problems running the Victors. We wrote the program exactly as we had for our 2016 bot in Java with the only difference being that the 2016 bot used TalonSRX's.
For declaring the motors we tried using the general SpeedController class, the Victor class, and tried using a RobotDrive class as well. We still haven't been able to get any of them to run. We just used a basic motorName.set(1) for the object but when the command containing it is running we still saw no movement or change in the signal LED on the Victor. Is there something different we need to do for the Victors since they are PWM instead of the TalonSRX's CAN bus?
When we replaced the Victors with TalonSRX's on the tank and updated the code accordingly the motors drove fine but we would still like to use Victors for it.
Any help would be greatly appreciated and feel free to let me know if you need any more information.
Thanks!