Go to Post "The audience will be making three sounds this year: oos, aahs, and oh my God, watch out!" - nate234 [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 Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Spotlight this post!  
Unread 19-01-2011, 00:24
Dfontana Dfontana is offline
Registered User
AKA: David Fontana
FRC #3039 (Wildcat Robotics, Team Predator)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Destrehan, LA
Posts: 9
Dfontana is an unknown quantity at this point
Re: Mechanum Problems...

I can vaguely remember doing this last year for team 3039's robot which implemented mechanum wheels.

Prior to one of the LabView Updates about midway through the 2010 season, there was no specific "complete" VI for this drive system. Since we decided we also wished to use a gyrometer, we spent the better part of a week manually coding in the required variables to the already existing holonomic VI, only to be given the completely encapsulated one the next week. Bummer.

Anyway, the experience gave us a little insight into how the system actually worked. As mentioned above, cartesian coordinates were essential to our implementation.

Consider the unit circle covered in most high school pre-calc classes applied to a joystick controller. The length of the radius (distance of the joystick from its neutral position) would be your magnitude, calculated with pythagorean's theorem. The direction, then, would be the theta angle, calculated by finding the tangent of x/y. All these math functions were and are available in labview.


The new VI, however, did not require you to do this. You simply feed it the x and y-axis values from a particular joystick, along with a third axis (from either the same joystick - throttle - or a second joystick) for rotation. It then does all calculations for you. In the event that you wish to use a gyrometer, as we did, for field-oriented control, simply wire in the gyro angle to its corresponding input on the Holonomic VI.

Please note that all of this information is based on personal knowledge of LAST YEARS holonomic VIs. It may or may not apply to this years.

Hope this helps.

Last edited by Dfontana : 19-01-2011 at 01:00.
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 10:04.

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