Go to Post The imbalance and vibration is telling you something, you are not listening. - Al Skierkiewicz [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 Rating: Thread Rating: 4 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 23-01-2010, 15:57
Dylan5019 Dylan5019 is offline
Registered User
FRC #2779
 
Join Date: Jan 2010
Location: OKlahoma
Posts: 7
Dylan5019 is an unknown quantity at this point
Mecanum Wheel Setup Help

We decided to go with a mecanum wheel drive system this year. However, when we got everything set up with the Holonomic VI we were able to spin and strafe but not actually move forwards and backwards.

Right now we are converting our X and Y axis to radians with ATAN2 then to degrees and using that for direction, and getting our magnitude by taking sqrt(X^2+Y^2). We wired a straight 0 to rotation. We hoped to see simple translational motion working. It's also possible that the orientation of the mecanum wheels is incorrect. whe have them set so that the rollers in the front are to the left and the rollers in the back are to the right. We tried the "X" pattern and the results were worse then curently


IDK if this is a mecanical or programming error, but hopefully someone will know. If you have experience with mecanum set up you can contact us by text messaging 918-406-8420. Thank You!
Reply With Quote
  #2   Spotlight this post!  
Unread 23-01-2010, 19:07
jhersh jhersh is offline
National Instruments
AKA: Joe Hershberger
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 1997
Location: Austin, TX
Posts: 1,006
jhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond repute
Re: Mecanum Wheel Setup Help

So you got rotation when you had wired 0 into it?

Sounds like on the 4wheel open you need to invert the motors. We inverted the 2 motors on the rights side.
Reply With Quote
  #3   Spotlight this post!  
Unread 24-01-2010, 00:47
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 Wheel Setup Help

Quote:
Originally Posted by Dylan5019 View Post
whe have them set so that the rollers in the front are to the left and the rollers in the back are to the right.
You won't be able to drive straight that way. Your robot will want to move the front diagonally in one direction and the rear diagonally in the other direction, making it drive in a tight circle.

The wheels on opposite sides of the robot need to have opposite orientation. The contact between the rollers and the floor needs to be in an "O" configuration. If you have it in an "X", the robot will not be able to spin well (or at all) under its own power, and it will be easy for an external force to spin it.
Reply With Quote
  #4   Spotlight this post!  
Unread 24-01-2010, 01:08
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 7,995
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: Mecanum Wheel Setup Help

Quote:
Originally Posted by Alan Anderson View Post
You won't be able to drive straight that way. Your robot will want to move the front diagonally in one direction and the rear diagonally in the other direction, making it drive in a tight circle.

The wheels on opposite sides of the robot need to have opposite orientation. The contact between the rollers and the floor needs to be in an "O" configuration. If you have it in an "X", the robot will not be able to spin well (or at all) under its own power, and it will be easy for an external force to spin it.
Piggybacking on Alan's post:

Just to be clear, if you view the wheels FROM BELOW (like looking at the bottom of the robot when it's tipped on the side) it should be an "O", as Alan said:

/...........\
/...........\
/...........\
.............
.............
\.........../
\.........../
\.........../


However, if you view the same robot FROM ABOVE, it will appear as an "X" configuration:

\.........../
\.........../
\.........../
.............
.............
/...........\
/...........\
/...........\


Any other arrangement of the wheels will cause problems or compromise performance.


~
Reply With Quote
  #5   Spotlight this post!  
Unread 24-01-2010, 10:55
Dylan5019 Dylan5019 is offline
Registered User
FRC #2779
 
Join Date: Jan 2010
Location: OKlahoma
Posts: 7
Dylan5019 is an unknown quantity at this point
Re: Mecanum Wheel Setup Help

Thanks guys. I'm going to try to fix it today, and if I'm still having problems I will come back, but you did a great job of making everything really clear.
Reply With Quote
  #6   Spotlight this post!  
Unread 24-01-2010, 11:03
MrForbes's Avatar
MrForbes MrForbes is offline
Registered User
AKA: Jim
FRC #1726 (N.E.R.D.S.)
Team Role: Mentor
 
Join Date: Feb 2006
Rookie Year: 2006
Location: Sierra Vista AZ
Posts: 5,937
MrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond repute
Re: Mecanum Wheel Setup Help

if you want to drive straight forward, all the wheels need to rotate in the same direction at the same speed. The rollers need to be in opposite directions on the two wheels on each "axle", ie. you need a right and left wheel on each end of the robot.

Check your code and see if it is set up to do that.
Reply With Quote
  #7   Spotlight this post!  
Unread 24-01-2010, 11:12
MrForbes's Avatar
MrForbes MrForbes is offline
Registered User
AKA: Jim
FRC #1726 (N.E.R.D.S.)
Team Role: Mentor
 
Join Date: Feb 2006
Rookie Year: 2006
Location: Sierra Vista AZ
Posts: 5,937
MrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond repute
Re: Mecanum Wheel Setup Help

One more thing to check is how you wired the motors and speed controllers. If you have the same polarity wiring for all the motor connections, then you need to have the left motors have reversed direction compared to the right motors. This is because the motors on one side are mounted to the robot facing the opposite direction than the ones on the other side.
Reply With Quote
  #8   Spotlight this post!  
Unread 20-02-2010, 19:40
DirectXMan12 DirectXMan12 is offline
Registered User
FRC #1740
 
Join Date: Feb 2008
Location: Waterford
Posts: 2
DirectXMan12 is an unknown quantity at this point
Re: Mecanum Wheel Setup Help

Hi,
We have our wheels set up according to the omnidirectional.pdf doc @ firstroboticscanada.org. The configuration that they show seems to be opposite of what you have (i.e. we an O on top). However, we are having problems spinning in circles (namely, we can't spin in circles - we can only skate, not turn). Which is the correct config, and could our config be preventing us from turning?

Best Regards,
Solly (Team 1740 Lead programmer)
Reply With Quote
  #9   Spotlight this post!  
Unread 20-02-2010, 19:53
jhersh jhersh is offline
National Instruments
AKA: Joe Hershberger
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 1997
Location: Austin, TX
Posts: 1,006
jhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond repute
Re: Mecanum Wheel Setup Help

Quote:
Originally Posted by DirectXMan12 View Post
Hi,
We have our wheels set up according to the omnidirectional.pdf doc @ firstroboticscanada.org. The configuration that they show seems to be opposite of what you have (i.e. we an O on top). However, we are having problems spinning in circles (namely, we can't spin in circles - we can only skate, not turn). Which is the correct config, and could our config be preventing us from turning?
You must be misunderstanding the document you found. The behavior you described (can't spin) is exactly the expected behavior from putting the wheel on with an X on the bottom. Rotate your tires and try again.

-Joe
Reply With Quote
  #10   Spotlight this post!  
Unread 20-02-2010, 20:14
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 7,995
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: Mecanum Wheel Setup Help

Quote:
Originally Posted by DirectXMan12 View Post
Hi,
We have our wheels set up according to the omnidirectional.pdf doc @ firstroboticscanada.org.
The picture shown on page 8 of that document is INCORRECT, and would cause the behavior you are experiencing.


Quote:
Originally Posted by DirectXMan12 View Post
we are having problems spinning in circles (namely, we can't spin in circles - we can only skate, not turn). Which is the correct config, and could our config be preventing us from turning?
The correct configuration is show here:

http://lib.store.yahoo.net/lib/yhst-...lSpecSheet.pdf

If you have mounted your mecanum wheels so that the rollers form a "diamond" (sometimes called an "O") when viewed from the top, then that is wrong, and it would cause the "no spin" behavior you are observing:

http://www.chiefdelphi.com/forums/showpost.php?p=907174

~

Last edited by Ether : 21-02-2010 at 15:20. Reason: fixed broken link
Reply With Quote
  #11   Spotlight this post!  
Unread 21-02-2010, 10:48
Unsung FIRST Hero
Ian Mackenzie Ian Mackenzie is offline
Registered User
FRC #3683
Team Role: College Student
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Waterloo, Ontario, Canada
Posts: 111
Ian Mackenzie has a reputation beyond reputeIan Mackenzie has a reputation beyond reputeIan Mackenzie has a reputation beyond reputeIan Mackenzie has a reputation beyond reputeIan Mackenzie has a reputation beyond reputeIan Mackenzie has a reputation beyond reputeIan Mackenzie has a reputation beyond reputeIan Mackenzie has a reputation beyond reputeIan Mackenzie has a reputation beyond reputeIan Mackenzie has a reputation beyond reputeIan Mackenzie has a reputation beyond repute
Re: Mecanum Wheel Setup Help

I apologize for any confusion from the presentation I posted - the picture is meant to show the pattern of contact between the wheels and the ground, as if you were looking from above but the top half of each wheel was transparent. I discussed this at length when I actually gave the presentation at the FIRST Conference, but perhaps I should have put more detail in the posted version...

UPDATED: I've edited the presentation to try to clarify the mecanum wheel orientation, and I've uploaded the revised version to both http://www.firstroboticscanada.org/s...irectional.pdf and http://www.chiefdelphi.com/media/papers/1836. (If you try to download the new version and it doesn't have an 'Updated' note on the first page, then it's probably the copy from your browser's cache - try using a different browser to get the updated copy.) Thanks to Ether for letting me know about this!

Last edited by Ian Mackenzie : 21-02-2010 at 11:58. Reason: Mention browser cache issue
Reply With Quote
  #12   Spotlight this post!  
Unread 10-02-2011, 08:45
mjgard's Avatar
mjgard mjgard is offline
Michael
AKA: Michael Gard
FRC #2844 (Stampede Robotics)
Team Role: Teacher
 
Join Date: Oct 2007
Rookie Year: 2007
Location: Laveen,AZ
Posts: 74
mjgard will become famous soon enough
Re: Mecanum Wheel Setup Help

So we are trying to figure out which is the correct way to put on the Mecanum wheels. We have done some research and I have attached a link for a research paper on them. This link is the complete opposite from what many of you say and what it shown on the previously attached andymark pdf.

Which is correct and why:

http://www.scipub.org/fulltext/ajas/ajas351831-1835.pdf

or

http://lib.store.yahoo.net/lib/yhst-...lSpecSheet.pdf
__________________
Michael
Stampede Robotics Mentor
FRC 2844

2012 Arizona Regional --Judges' Award
2012 Las Vegas Regional -- Regional Winners
2012 Las Vegas Regional-- Coopertition Award
2009 Arizona Regional -- Rookie All Star Award
Reply With Quote
  #13   Spotlight this post!  
Unread 10-02-2011, 08:50
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 7,995
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: Mecanum Wheel Setup Help

Quote:
Originally Posted by mjgard View Post
So we are trying to figure out which is the correct way to put on the Mecanum wheels. We have done some research and I have attached a link for a research paper on them. This link is the complete opposite from what many of you say and what it shown on the previously attached andymark pdf.

Which is correct and why:

http://www.scipub.org/fulltext/ajas/ajas351831-1835.pdf

or

http://lib.store.yahoo.net/lib/yhst-...lSpecSheet.pdf
Figure 2 and Figure 4 of the first one are incorrect.

The Table and Diagram on the second one are correct.

Explanations are given here:

http://www.chiefdelphi.com/media/papers/download/2826

http://www.chiefdelphi.com/media/papers/download/2722

http://www.chiefdelphi.com/media/papers/download/2739







Last edited by Ether : 10-02-2011 at 08:53.
Reply With Quote
  #14   Spotlight this post!  
Unread 10-02-2011, 08:59
jawebste's Avatar
jawebste jawebste is offline
Mentor - HAZMATs 2145
AKA: Jean-Ann Webster
FRC #2145 (HAZMATs)
Team Role: Mentor
 
Join Date: Sep 2008
Rookie Year: 2007
Location: Lake Fenton
Posts: 27
jawebste is a jewel in the roughjawebste is a jewel in the roughjawebste is a jewel in the roughjawebste is a jewel in the rough
Re: Mecanum Wheel Setup Help

Quote:
Originally Posted by Ether View Post
Figure 2 and Figure 4 of the first one are incorrect.

The Table and Diagram on the second one are correct.


Michael,
I agree with Ether. And Ether you are a great reference for all of us out here. Thanks for posting.
We also found the research confusing and contradicting, but we have had very little problem this year with our first year with Mecanum wheels using the AndyMark diagram. When we numbered and oriented our wheels and the connections to the PWM to match the AndyMark diagram we had no problem getting motion using the Labview Holonmic Drive with Cartesian coordinates. We did have to invert one of the motors, but everything else was great.
This is for Ether, would the Figure 2 be correct if we were looking at it "from the carpet?"
Thanks,
Jean-Ann
Reply With Quote
  #15   Spotlight this post!  
Unread 10-02-2011, 09:03
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 7,995
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: Mecanum Wheel Setup Help

Quote:
Originally Posted by jawebste View Post
This is for Ether, would the Figure 2 be correct if we were looking at it "from the carpet?"
Thanks,
Jean-Ann
Yes and no.

Yes, that is what the rollers should look like "from the carpet", but...

No, the figure must be a "top view" not a "carpet view" because of the way the force vectors are drawn. If the figure were intended to be a "carpet view" then the force vectors would be wrong.

So, if it's a top view then the rollers are shown incorrectly; if it's a carpet-view then the force vectors are drawn incorrectly.






Last edited by Ether : 10-02-2011 at 09:11.
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
Mecanum Wheel Considerations abross General Forum 20 23-01-2010 19:34
HELP: Mecanum wheel Inside spacers Sam2197 Technical Discussion 2 19-01-2010 23:36
Mecanum wheel size Mr. A Technical Discussion 7 18-01-2010 08:58
pic: New mecanum wheel? scottydoh Extra Discussion 5 16-01-2010 21:29
pic: Micro Mecanum wheel Tytus Gerrish Extra Discussion 6 12-05-2005 23:20


All times are GMT -5. The time now is 16:10.

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