View Single Post
  #4   Spotlight this post!  
Unread 19-03-2009, 16:34
Cuse's Avatar
Cuse Cuse is offline
Registered User
AKA: Matt Mancuso
FRC #0175 (Buzz Robotics)
Team Role: Alumni
 
Join Date: Mar 2007
Rookie Year: 2005
Location: Enfield, CT
Posts: 22
Cuse is an unknown quantity at this point
Re: joystick comparison within percentage

I just made a quick SubVI for what I think you're asking for...

Is it what you need? It'll set both drives equal to the average of both sticks if the inputs from the sticks are within 10% (or whatever percentage you set) of each other, otherwise it takes the direct inputs and sends them through to the outputs (i.e, when you're turning).
Attached Files
File Type: vi Drive Straight (Tank) Sub.vi (12.2 KB, 50 views)
__________________


Last edited by Cuse : 19-03-2009 at 17:30.
Reply With Quote