View Single Post
  #2   Spotlight this post!  
Unread 11-02-2011, 20:20
tomy tomy is offline
Registered User
FRC #3038 (I.C.E. Robotics)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Stacy, Minnesota
Posts: 494
tomy has a spectacular aura abouttomy has a spectacular aura about
Re: Set Speed of Jaguar

one way that i coded our arm is this

Code:
 if(leftstick.getrawbutton(2)){
                   vicelbow.set(leftstick.getY())
            }
this way when you press and hold the button the victor that controls the elbow will move based on what your leftstick is doing

but then again we are using a xbox controller for our driving and a two joysticks for our arm

hope it helps
Reply With Quote