Go to Post Baker, Skierkeiwicz, one more word out of you two and I'll have to pull out the Clipboard of Doom :p - Jessica Boucher [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rating: Thread Rating: 7 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #12   Spotlight this post!  
Unread 17-02-2012, 11:30
tmohall tmohall is offline
Registered User
AKA: Trevon Hall
FRC #3963 (urbanRobots)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2011
Location: Milwaukee, WI
Posts: 3
tmohall is an unknown quantity at this point
Send a message via MSN to tmohall
Re: Joystick Buttons to Control Jaguars

Quote:
Originally Posted by Alan Anderson View Post
For an application like this, some people would suggest Case blocks, but I prefer using Select functions. They switch between one of two input values based on a boolean input. The cascaded Select for the Wheels motor will output 1 whenever Button 2 is pressed, -1 when Button 2 is not pressed and Button 3 is, and 0 when neither button is pressed. Change the constants to make the motors run at something less than full speed.
I tried building the code but it didnt work and we have an arm and we want the one of the buttons to pick up the ball, shot the ball, and load it so we can shot the ball
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 22:29.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi