Quote:
Originally Posted by whitetail
Hello my team is a rookie team 5407. We are trying to get the Joysticks X value to use to control the winch much like the drive system but for a winch any help would be great. We are programing in Java.
|
You can do something like this.
Code:
motor.set(joystick.getX());
What robot base are you working with? Iterative, Sample, or Command Based? If you post where in your code you'd like to do this I can help a bit more.
Remember when posting code to place a [/code] after the code and a [code] before to code to make it easier to read in a forum.