Go to Post What? Thinking is required? I certainly hope not! If so, I'm toast! - Robert Cawthon [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 04-02-2010, 19:26
JimBob666 JimBob666 is offline
Registered User
FRC #0484
 
Join Date: Feb 2010
Location: Havertown
Posts: 1
JimBob666 is an unknown quantity at this point
Exclamation LabVIEW Mechum Wheels

Does anyone have Mechum Wheels working in LabVIEW. If so could you send us the VI doc. because we are in a dire need of help. This does not speculate any weaknesses on our bot, but we still need the VI. We are trying to use Holomonic Drive VI but it does not have joystick inputs and we do not know how to fix it. Thank you and we would really much appreciate if anyone could give us helpful information. GOOD LUCK everyone in the upcoming competitions!
Reply With Quote
  #2   Spotlight this post!  
Unread 05-02-2010, 15:05
Pausert Pausert is offline
Registered User
FRC #1727 (REX)
Team Role: Leadership
 
Join Date: Jan 2009
Rookie Year: 2007
Location: Maryland
Posts: 69
Pausert is an unknown quantity at this point
Re: LabVIEW Mechum Wheels

What you need to do is look at the Help File for the Holonomic Drive VI. You simply need to convert your joystick output into a magnitude, direction, and a control for "rotate". This can be done with various trig functions.
Reply With Quote
  #3   Spotlight this post!  
Unread 05-02-2010, 17:19
Tom Line's Avatar
Tom Line Tom Line is offline
Raptors can't turn doorknobs.
FRC #1718 (The Fighting Pi)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1999
Location: Armada, Michigan
Posts: 2,533
Tom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond repute
Re: LabVIEW Mechum Wheels

Actually, by feeding your joysticks directly into the rect/complex to polar vi located on the "complex" sub-pallette under the mathematics pallet, you will obtain both the angle (in radians, and oriented in the polar manner, that is to say that zero it to the right) and the magnitude with no trig on your part at all.
Reply With Quote
  #4   Spotlight this post!  
Unread 05-02-2010, 23:49
bladetech932's Avatar
bladetech932 bladetech932 is offline
Programmer of awesome
AKA: Jon
FRC #0932 (Circuit Chargers)
Team Role: College Student
 
Join Date: May 2009
Rookie Year: 2009
Location: Tulsa
Posts: 242
bladetech932 is on a distinguished road
Re: LabVIEW Mechum Wheels

make sure when you wire the magnitude into the holonomic drive vi you put a case in if > than 100 than it equals 100
Reply With Quote
  #5   Spotlight this post!  
Unread 06-02-2010, 08:00
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,752
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: LabVIEW Mechum Wheels

Just an equivalent tip, but the Comparison palette in LV contains an In Range and Coerce node that is quite useful for this sort of thing. In your case you want to use the coerced value and may not care about the In Range portion.

Greg McKaksle
Reply With Quote
  #6   Spotlight this post!  
Unread 07-02-2010, 17:19
Hadi379's Avatar
Hadi379 Hadi379 is offline
Registered User
FRC #0379
 
Join Date: Jan 2007
Location: Girard
Posts: 170
Hadi379 is a splendid one to beholdHadi379 is a splendid one to beholdHadi379 is a splendid one to beholdHadi379 is a splendid one to beholdHadi379 is a splendid one to beholdHadi379 is a splendid one to beholdHadi379 is a splendid one to behold
Re: LabVIEW Mechum Wheels

We've been having trouble converting our directional outputs for the holonomic drive. Attached is what we are currently getting and what we think we need. Is this correct? And if so, can someone please help us program this properly. I feel like everything needs to be rotated 90 degrees counter clockwise, but have no clue as to how....
Attached Images
File Type: bmp directional output.bmp (83.7 KB, 46 views)
Reply With Quote
  #7   Spotlight this post!  
Unread 07-02-2010, 17:30
Tom Line's Avatar
Tom Line Tom Line is offline
Raptors can't turn doorknobs.
FRC #1718 (The Fighting Pi)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1999
Location: Armada, Michigan
Posts: 2,533
Tom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond repute
Re: LabVIEW Mechum Wheels

Are you sure that picture is what you really have? Using the rect->polar conversion results in 0 -> 360 degrees, starting with zero on the right and increasing in the counter clockwise direction.

Regarding the 90 degree shift, yes, you're thinking correctly. Now you just have to figure how to normalize it (add or subtract 90 degrees) and how to bring it back to +/- 180 (hint - use the division with remainder function)
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
6 wheels with only 2 powered wheels bhsrobotics1671 General Forum 15 14-01-2008 17:28
Friction coefficients for Omni wheels and Mecanum wheels from AndyMark Andy Baker Technical Discussion 11 16-12-2006 19:40
TO much traction??? (ifi wheels or AM wheels) Heretic121 Technical Discussion 9 04-02-2006 12:09
Image Discuss: Wheels- you want wheels - more from team 25 CD47-Bot Extra Discussion 10 07-09-2003 20:33
Wonder Wheels (aka Side Slip Wheels) Scott358 Technical Discussion 4 08-01-2002 12:36


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

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