Go to Post FIRST is the best thing that has ever happened to me...FIRST has taught me so much more than anything I learned in the classroom. The thing with my team, is we are so close, we are family, and I have figured out so much about who I am because of FIRST. - princessnatalie [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

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 18-01-2011, 13:57
Joseph W. Horth Joseph W. Horth is offline
Registered User
FRC #0280
 
Join Date: Sep 2010
Location: Michigan
Posts: 21
Joseph W. Horth is an unknown quantity at this point
Mecanum Drive Coding

I've searched the various threads that are on ChiefDelphi on mecanum drive with no luck for what I'm really trying to do. I need to be able to have a gyro say we are not zeroed and for us to zero it out with a button. I've made the following code and I think this might work but am not 100% sure. please let me know as soon as possible
Attached Thumbnails
Click image for larger version

Name:	Untitled.png
Views:	82
Size:	95.2 KB
ID:	9725  
Reply With Quote
  #2   Spotlight this post!  
Unread 18-01-2011, 14:34
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Mecanum Drive Coding

You don't appear to have anything wired to the case block containing the function that rezeros the gyro. I think you want one of the joystick buttons to do it, right?
Reply With Quote
  #3   Spotlight this post!  
Unread 18-01-2011, 20:53
Joseph W. Horth Joseph W. Horth is offline
Registered User
FRC #0280
 
Join Date: Sep 2010
Location: Michigan
Posts: 21
Joseph W. Horth is an unknown quantity at this point
Re: Mecanum Drive Coding

Quote:
Originally Posted by Alan Anderson View Post
You don't appear to have anything wired to the case block containing the function that rezeros the gyro. I think you want one of the joystick buttons to do it, right?
Oh, you're correct. I didn't have that wired. Thanks, is there anything else wrong though?
Reply With Quote
Reply


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 10:08.

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