View Single Post
  #4   Spotlight this post!  
Unread 30-03-2016, 08:55
Camilo86's Avatar
Camilo86 Camilo86 is offline
Registered User
AKA: camilo
FRC #0125 (Nutrons)
Team Role: Programmer
 
Join Date: Jun 2013
Rookie Year: 2012
Location: Boston
Posts: 21
Camilo86 is a glorious beacon of lightCamilo86 is a glorious beacon of lightCamilo86 is a glorious beacon of lightCamilo86 is a glorious beacon of lightCamilo86 is a glorious beacon of lightCamilo86 is a glorious beacon of light
Re: TalonSRX encoder confusion java

Quote:
Originally Posted by Jeringo View Post
how could i use a joystick for this?
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.
__________________
Hopper finalist 2015
Dean's List winner 2015