Quote:
Originally Posted by JavaNoNothing14
Code:
if (js.getRawButton(11)){
shooter.set(1);
}
After testing, it would only run at what seems to be 66% speed.
|
First, I would personally supply "1.0" instead of "1" - I've had issues in the past (in other systems, not necessarily on an FRC system) with the conversion from int to double causing issues with stuff. This way you're supplying the double directly, instead of making the compiler convert it.
Try setting the speed to a variety of values (I would go 1.0, 0.9, 0.8, etc, all the way down to -1.0) and see what voltage you get out of the Talon for each value. Then do the same thing feeding in a joystick, printing out the joystick value as you go so you can get it at about the same values. This will let you plot two response curves, which may help us figure out what's wrong.