View Single Post
  #6   Spotlight this post!  
Unread 18-02-2009, 08:50
LVMastery LVMastery is offline
LabVIEW Educator and Mentor
AKA: Ben Zimmer
FRC #0843 (Wildcats)
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2008
Location: Toronto
Posts: 47
LVMastery has much to be proud ofLVMastery has much to be proud ofLVMastery has much to be proud ofLVMastery has much to be proud ofLVMastery has much to be proud ofLVMastery has much to be proud ofLVMastery has much to be proud ofLVMastery has much to be proud of
Re: So, honestly, who's still programming?

Quote:
Originally Posted by chinckley View Post
Oh, please do one on how to program the other buttons on the Joystick. We have our robot moving forward and back and it turns, using 2 joysticks, but we cannot for the life of us get how to do a trigger (using the KOP joysticks). We want to do the following:

1. Right hand joystick trigger - make the globe motor move the chain forward.
2. Left hand joystick trigger - make the globe motor move the chain backwards. This only is used if something gets stuck.
3. Button that thumb rests on (right hand) make the keyang motor move the dumper forward.
4. Button that thumb rests on (left hand) make the keyang motor move the dumper back. This is only used if a ball gets stuck

I found out that the dumper is using the Keyang motor and the chain is using the globe motor and the drive motors are the CIMS.

I really have no idea how to continue. I have watched all the TipJar videos, but not understanding the engineering part makes programming difficult. This is the first year the mechanical has been done before the code.

Please, can you help??? We go to Traverse City next Thursday (26th)

Thanks.
Please see the attached snippet. Basically this shows how to extract the button values, and also shows using the OpenG Boolean Trigger function (see my other reply below) Hope that helps!

Ben
Attached Thumbnails
Click image for larger version

Name:	Example Teleop.PNG
Views:	125
Size:	73.8 KB
ID:	7510  
__________________
Ben Zimmer
Enable Education
www.EnableEducation.com
www.FRCMastery.com
email: ben@enabletc.com
Phone/Fax: (905) 864-1858
Toll Free: (877) 872-4619
Reply With Quote