Go to Post It'd be nice to have some more data to look at, I like data - Aren_Hill [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 15-01-2011, 15:02
Must Be Drama Must Be Drama is offline
Registered User
no team
 
Join Date: Feb 2009
Rookie Year: 2007
Location: Brooklyn
Posts: 62
Must Be Drama is an unknown quantity at this point
Mechanum Problems...

we totally forgot how to set up mechanum.. we used the holonomic drive and set x to rotate but it doesnt do anything
Reply With Quote
  #2   Spotlight this post!  
Unread 15-01-2011, 15:24
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,015
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Mechanum Problems...

Quote:
Originally Posted by Must Be Drama View Post
we totally forgot how to set up mechanum.. we used the holonomic drive and set x to rotate but it doesnt do anything
First, since it's so easy to check, and it affects the ability of mecanum (no "h") to rotate, make sure that the wheels are mounted properly.

If that checks out OK, load the default 4-motor tank drive code that came with the Framework. Put the vehicle up on blocks and verify that the motors are spinning in the right direction.

If that checks out, post your code for review.


Reply With Quote
  #3   Spotlight this post!  
Unread 18-01-2011, 23:56
Carter12s's Avatar
Carter12s Carter12s is offline
Team Cap
FRC #3374 (Robo-Broncs)
Team Role: Programmer
 
Join Date: Feb 2010
Rookie Year: 2010
Location: Jackson Hole
Posts: 92
Carter12s is just really niceCarter12s is just really niceCarter12s is just really niceCarter12s is just really nice
Re: Mechanum Problems...

Last years mecanum code was slightly more advanced than this years. Last years code allowed for a scaled (X,Y) cartisian input. This year the mecanum drive requires a direction and magnitude vector to operate. Some simple geometry (A^2 + B^2 = C^2) can get you back to that system, but you need to provide a direction and magnitude for the the new mecanum version to operate.
__________________
Programing is the real way to build a robot.
Reply With Quote
  #4   Spotlight this post!  
Unread 19-01-2011, 00:02
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: Mechanum Problems...

Cartesian is still in the holonomic vi nothings changed
Reply With Quote
  #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
  #6   Spotlight this post!  
Unread 19-01-2011, 08:17
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,015
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Mechanum Problems...

Quote:
Originally Posted by Dfontana View Post
calculated by finding the tangent of x/y
I assume you meant the arctangent.




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

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