View Single Post
  #1   Spotlight this post!  
Unread 20-01-2013, 00:15
BPtigers BPtigers is offline
Registered User
FRC #4663 (i8sumpi)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Minnesota
Posts: 25
BPtigers is an unknown quantity at this point
Setting the + knob on the joystick as the power setting for a motor?

I am coding an arm with a hook to climb the pyramid. Right now I was able to program the jaguar motor to go up at .5 power with button three on joystick, and go down with button 2 on joystick, at -.5 power. My question is I don't want a constant .5 power when I climb, sometimes if I'm short on time I'd like to be able to climb at 1 or -1 for example, but a button input is either on or off. I was wondering if there's a way to make it so when I click the 3rd button it makes the + button my vertical climb speed, but then when I release the 3rd button the + button doesn't do anything. Also if I where to click the 2nd button and use the + button as my vertical speed down, and when I release the 2nd button the + knob does nothing. If somebody knows how to do this, you'd make my day, thanks. picture is attached with what I have done.
Attached Thumbnails
Click image for larger version

Name:	labview +.JPG
Views:	27
Size:	26.2 KB
ID:	13586  
__________________
Ben
Reply With Quote