Go to Post You know you've been involved with robotics too long when you see a remote-controlled traffic barrel coming up behind people and honking - and it doens't faze you. - GaryVoshol [more]
Home
Go Back   Chief Delphi > Technical > Programming
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 22-01-2017, 01:16
TylerHarmon's Avatar
TylerHarmon TylerHarmon is offline
Registered User
no team
 
Join Date: Jan 2016
Rookie Year: 2014
Location: Westminster, CO
Posts: 25
TylerHarmon is an unknown quantity at this point
Re: Mecanum Drive control

Quote:
Originally Posted by Ether View Post

Hi Tyler,

Thank you for taking the time to respond to my question.

Some of the things you wrote are still a bit ambiguous to me. I think it would be enlightening to discuss it further. Would you be interested in doing that? I don't want to pester you if you don't want to do that.


Sure, if you want to discuss it further we can. My main point is that the rollers on mecanum wheels...
... freely spin, which allows a robot to strafe, but results in inconsistent data when used with an encoder.
Reply With Quote
  #2   Spotlight this post!  
Unread 22-01-2017, 11:01
AriMindell AriMindell is offline
Registered User
FRC #1389 (The Body Electric)
Team Role: Programmer
 
Join Date: May 2016
Rookie Year: 2015
Location: Maryland
Posts: 28
AriMindell will become famous soon enoughAriMindell will become famous soon enough
Re: Mecanum Drive control

Quote:
Originally Posted by TylerHarmon View Post
Sure, if you want to discuss it further we can. My main point is that the rollers on mecanum wheels...
... freely spin, which allows a robot to strafe, but results in inconsistent data when used with an encoder.
Ether posted the following code for determining robot position based on the wheel velocities of mecanum wheels in another thread:
Code:
FWD = r*(w1+w2+w3+w4)/4

STR = r*(w1-w2+w3-w4)/4

Wv  = (1/k)*(w1+w2-w3-w4)/4

r is wheel radius
k is |trackwidth/2| + |wheelbase/2|
w1,w2,w3,w4 are FL,BL,BR,&FR wheel speeds in rads/sec
Wv is robot clockwise rotation rate in radians per second
The implicit assumption is that the velocity vector applied to the robot by a mecanum wheel spinning at constant velocity is constant.

are you arguing that the velocity vector created by a mecanum wheel spinning at a constant velocity is not constant or predictable, therefore that equation provides an unreliable estimate of robot position?
Reply With Quote
  #3   Spotlight this post!  
Unread 22-01-2017, 21:32
TylerHarmon's Avatar
TylerHarmon TylerHarmon is offline
Registered User
no team
 
Join Date: Jan 2016
Rookie Year: 2014
Location: Westminster, CO
Posts: 25
TylerHarmon is an unknown quantity at this point
Re: Mecanum Drive control

Quote:
Originally Posted by AriMindell View Post
Ether posted the following code for determining robot position based on the wheel velocities of mecanum wheels in another thread:
Code:
FWD = r*(w1+w2+w3+w4)/4

STR = r*(w1-w2+w3-w4)/4

Wv  = (1/k)*(w1+w2-w3-w4)/4

r is wheel radius
k is |trackwidth/2| + |wheelbase/2|
w1,w2,w3,w4 are FL,BL,BR,&FR wheel speeds in rads/sec
Wv is robot clockwise rotation rate in radians per second
The implicit assumption is that the velocity vector applied to the robot by a mecanum wheel spinning at constant velocity is constant.

are you arguing that the velocity vector created by a mecanum wheel spinning at a constant velocity is not constant or predictable, therefore that equation provides an unreliable estimate of robot position?
I understand all of this logic, but it just doesn't work in practice. You simply cannot achieve the precision of tank drive with mecanum wheels because the rollers on mecanum wheels sometimes spin and sometimes do not. In other words, there is a large amount of slop in the system that cannot be removed with programming.

If you show me an example of you consistently driving a set distance and/or turning a certain amount without a gyroscope, only with encoders then I will accept that mecanums can be well controlled with encoders. However, based on the mechanical nature of mecanum wheels, such motion cannot practically be controlled.
Reply With Quote
  #4   Spotlight this post!  
Unread 22-01-2017, 21:36
TylerHarmon's Avatar
TylerHarmon TylerHarmon is offline
Registered User
no team
 
Join Date: Jan 2016
Rookie Year: 2014
Location: Westminster, CO
Posts: 25
TylerHarmon is an unknown quantity at this point
Re: Mecanum Drive control

Yes, that is what I'm saying. The force vectors are not reliable in practice, only in theory. The variable "rolling" of the rollers causes this effect. Because those force vectors change (not only in magnitude, but also in direction) you simply cannot achieve precise motion control of a robot running on mecanums.
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 15:31.

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