|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#4
|
||||
|
||||
|
Re: TalonSRX encoder confusion java
You can make a variable to hold your arm distance setPoint, and add/subtract from this value using the joystick's output value. Notice that joysticks have a range of -1 to 1, so you might have to multiply some constant > 1 to your joystick output so that your joystick can have a fast effect on the setpoint. This will all the depend on the distancePerPulse you currently have.
|
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|