Go to Post The most important deisgn criteria is always performance in any of the parts / systems we design. But we do try to abide by the saying -- if it doesn't look good (right), it probably isn't good (right). - Adam Freeman [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 07-02-2014, 18:06
SeafordVikingR SeafordVikingR is offline
Registered User
FRC #4567
 
Join Date: Feb 2014
Location: Seaford
Posts: 8
SeafordVikingR is an unknown quantity at this point
Mecanum Question about strafing.

Our robot has mecanum wheels and can go forward, back and turn perfectly fine. When we try to get the robot to strafe it only seems to turn with a wider radius. Is there a way for cleaner strafing? Is it a mechanical issue or is it a problem with programming? We think it may be because the wheels aren't all turning in sync with each other, but we'd like some confirmation. Thank in advance.
  #2   Spotlight this post!  
Unread 07-02-2014, 18:08
magnets's Avatar
magnets magnets is offline
Registered User
no team
 
Join Date: Jun 2013
Rookie Year: 2012
Location: United States
Posts: 748
magnets has a reputation beyond reputemagnets has a reputation beyond reputemagnets has a reputation beyond reputemagnets has a reputation beyond reputemagnets has a reputation beyond reputemagnets has a reputation beyond reputemagnets has a reputation beyond reputemagnets has a reputation beyond reputemagnets has a reputation beyond reputemagnets has a reputation beyond reputemagnets has a reputation beyond repute
Re: Mecanum Question about strafing.

When strafing one side (left/right) will have wheels rotating toward each other, and the other side will have the wheels rotating away from each other.

If this is happening, and you're still not strafing, check that the wheels are in the right spots, and that the rollers are free spinning.
  #3   Spotlight this post!  
Unread 07-02-2014, 18:33
RobotDoktor's Avatar
RobotDoktor RobotDoktor is offline
Cat Herder
FRC #4265 (Secret City)
Team Role: CAD
 
Join Date: Dec 2013
Rookie Year: 2013
Location: United States
Posts: 68
RobotDoktor is just really niceRobotDoktor is just really niceRobotDoktor is just really niceRobotDoktor is just really niceRobotDoktor is just really nice
Re: Mecanum Question about strafing.

The wheels are in the correct X formation right?
__________________
Full disclosure: I am not a robot, a doctor, or a German.
  #4   Spotlight this post!  
Unread 07-02-2014, 18:37
TheBassett TheBassett is offline
Chief Engineer('13 - '14)
AKA: Alex Bassett
FRC #2974
 
Join Date: Jun 2013
Rookie Year: 2011
Location: Georgia
Posts: 9
TheBassett is on a distinguished road
Re: Mecanum Question about strafing.

Well make sure the rollers on the wheels form an "X" in the center(Front right and Back left rollers should make an invisible line with each other and FL/BR should also line up. Ex: http://robosavvy.com/store/images/ne.../10009_03.jpg). We had some really weird things happen, that sounds similar to what you have, when one wheel was put on backwards.

Hope this helps!
  #5   Spotlight this post!  
Unread 07-02-2014, 18:38
wireties's Avatar
wireties wireties is offline
Principal Engineer
AKA: Keith Buchanan
FRC #1296 (Full Metal Jackets)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2004
Location: Rockwall, TX
Posts: 1,170
wireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond repute
Send a message via AIM to wireties
Re: Mecanum Question about strafing.

You also need pretty good weight distribution (equal weight over all 4 wheels) and good control over the RPMs of each wheel. We always used encoders on each wheel. Plus your frame has to very level with all 4 wheels making contact, some teams even have their mecanum wheels on a simple spring suspension.
__________________
Fast, cheap or working - pick any two!
  #6   Spotlight this post!  
Unread 07-02-2014, 20:06
xXhunter47Xx's Avatar
xXhunter47Xx xXhunter47Xx is offline
Lord of Lazy
AKA: Austin $wagmaster1337
FRC #4738 (Patribots)
Team Role: College Student
 
Join Date: Jan 2014
Rookie Year: 2013
Location: San Diego
Posts: 305
xXhunter47Xx will become famous soon enough
Re: Mecanum Question about strafing.

If you're not using a gyro and/or encoders, it will not strafe correctly. The gyro will help rule out any unwanted rotation and the encoder will help speed control. We're using Mecanum and we've been experiencing the same problem until the gyro is on.
  #7   Spotlight this post!  
Unread 07-02-2014, 20:07
SeafordVikingR SeafordVikingR is offline
Registered User
FRC #4567
 
Join Date: Feb 2014
Location: Seaford
Posts: 8
SeafordVikingR is an unknown quantity at this point
Re: Mecanum Question about strafing.

Yes, the wheels are in the "X" formation. What happens is, it strafes but as if it's on a curve rather than strafing straight left and right.
  #8   Spotlight this post!  
Unread 07-02-2014, 20:19
TheBassett TheBassett is offline
Chief Engineer('13 - '14)
AKA: Alex Bassett
FRC #2974
 
Join Date: Jun 2013
Rookie Year: 2011
Location: Georgia
Posts: 9
TheBassett is on a distinguished road
Re: Mecanum Question about strafing.

How are you guys driving your robot? We used tank drive when we had mecanum wheels(both Vex Pro and Andymark) and had no problem strafing with it, even before we put any regulating code on it. We haven't really tried anything but tank when we were using mecanum so maybe that's the difference?

Also, if you are using Andymark wheels try making sure each roller spins freely, occasionally those rods got bent on ours and it would stop or slow down one of the rollers from spinning and also make the robot do strange things.
  #9   Spotlight this post!  
Unread 07-02-2014, 21:12
SeafordVikingR SeafordVikingR is offline
Registered User
FRC #4567
 
Join Date: Feb 2014
Location: Seaford
Posts: 8
SeafordVikingR is an unknown quantity at this point
Re: Mecanum Question about strafing.

At the moment, we have the controls on one joystick, but we may move onto tank drive too. Though, I read what hunter said about the gyro and maybe that's it? We have a gyro, but I wasn't sure if we needed to use it.
  #10   Spotlight this post!  
Unread 07-02-2014, 21:25
orangemoore orangemoore is offline
Registered User
AKA: Roger Moore
FRC #3135 (Robotic Colonels)
Team Role: College Student
 
Join Date: Dec 2012
Rookie Year: 2013
Location: Chicago
Posts: 2,308
orangemoore has a reputation beyond reputeorangemoore has a reputation beyond reputeorangemoore has a reputation beyond reputeorangemoore has a reputation beyond reputeorangemoore has a reputation beyond reputeorangemoore has a reputation beyond reputeorangemoore has a reputation beyond reputeorangemoore has a reputation beyond reputeorangemoore has a reputation beyond reputeorangemoore has a reputation beyond reputeorangemoore has a reputation beyond repute
Re: Mecanum Question about strafing.

Quote:
Originally Posted by SeafordVikingR View Post
At the moment, we have the controls on one joystick, but we may move onto tank drive too. Though, I read what hunter said about the gyro and maybe that's it? We have a gyro, but I wasn't sure if we needed to use it.
Are you using encoders at all? If not it is hard to control you robot really well.
__________________
Stronghold


Student 2013-2016
3135 -- Robotic Colonels
3507 -- Robotheosis (FTC)
  #11   Spotlight this post!  
Unread 07-02-2014, 22:06
Tyler2517's Avatar
Tyler2517 Tyler2517 is offline
ShortOnes
AKA: Tyler Gibb
FRC #2517 (Evergreen Robotics)
Team Role: Mentor
 
Join Date: Dec 2013
Rookie Year: 2011
Location: Vancouver, WA
Posts: 203
Tyler2517 has a spectacular aura aboutTyler2517 has a spectacular aura aboutTyler2517 has a spectacular aura about
Re: Mecanum Question about strafing.

I would be that your frame is either to ridged and all 4 wheels are not getting the same amount of traction, or your weigh is not distributed correctly leaving uneven traction.

Depending on how your algorithms (i am not a programmer all i know is that we wright our own C++ code for it) work can you manually compensate (ie try turning when you rotate). Or implement PID on each of the wheels we have has success with both methods and depending on the driver we have enabled our PID or disabled it.
  #12   Spotlight this post!  
Unread 07-02-2014, 22:07
lcoreyl's Avatar
lcoreyl lcoreyl is offline
WittyTitleGen can't link to library
AKA: Milner
no team
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Colorado Springs
Posts: 201
lcoreyl has much to be proud oflcoreyl has much to be proud oflcoreyl has much to be proud oflcoreyl has much to be proud oflcoreyl has much to be proud oflcoreyl has much to be proud oflcoreyl has much to be proud oflcoreyl has much to be proud oflcoreyl has much to be proud of
Re: Mecanum Question about strafing.

I can say in general in my experience you don't need gyro, encoders, or precision weight distribution to get a good strafe.

posting a quick video showing these things below will greatly increase your chances of getting some help, because we are all making a lot of assumptions in trying to guess your problem.

1) show your best and worst spinning rollers
2) show wheel rotations during strafe (as magnets mentioned). you can also put the bot on blocks to show this.
3) a clear shot to show the path the robot goes in when commanded to strafe


Also, the "O" vs "X" configuration wouldn't affect your ability to strafe, it would just go in the opposite direction. a worm's eye view X configuration would make it hard to rotate the bot.

Last edited by lcoreyl : 07-02-2014 at 22:08. Reason: better clarity
  #13   Spotlight this post!  
Unread 07-02-2014, 22:29
xXhunter47Xx's Avatar
xXhunter47Xx xXhunter47Xx is offline
Lord of Lazy
AKA: Austin $wagmaster1337
FRC #4738 (Patribots)
Team Role: College Student
 
Join Date: Jan 2014
Rookie Year: 2013
Location: San Diego
Posts: 305
xXhunter47Xx will become famous soon enough
Re: Mecanum Question about strafing.

That's how we sort of solved our problem. It still does the curve thing but a lot less, it only curves at slow turtle speeds. We're currently implementing PID with Encoders so we can make it do that even less.
  #14   Spotlight this post!  
Unread 07-02-2014, 22:34
wireties's Avatar
wireties wireties is offline
Principal Engineer
AKA: Keith Buchanan
FRC #1296 (Full Metal Jackets)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2004
Location: Rockwall, TX
Posts: 1,170
wireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond repute
Send a message via AIM to wireties
Re: Mecanum Question about strafing.

Quote:
Originally Posted by SeafordVikingR View Post
Yes, the wheels are in the "X" formation. What happens is, it strafes but as if it's on a curve rather than strafing straight left and right.
Your motors and/or transmissions are not producing exactly the same wheel speed and/or your weight is not properly distributed. This is expected. If it strafed perfectly you would be lucky. You need encoders for each wheel or need to characterize the performance of each motor/transmission/wheel and account for this in your code. I'm not sure how a gyro would help you - that would be a tricky algorithm.

HTH
__________________
Fast, cheap or working - pick any two!
  #15   Spotlight this post!  
Unread 07-02-2014, 22:43
xXhunter47Xx's Avatar
xXhunter47Xx xXhunter47Xx is offline
Lord of Lazy
AKA: Austin $wagmaster1337
FRC #4738 (Patribots)
Team Role: College Student
 
Join Date: Jan 2014
Rookie Year: 2013
Location: San Diego
Posts: 305
xXhunter47Xx will become famous soon enough
Re: Mecanum Question about strafing.

Well we coded in labview so that might have been the reason why it was so easy for us. You are right though wireties, from messing with mecanum since day 1 of build season we realized that strafing perfectly is not a thing. We can get very close but it wouldn't work.
Closed Thread


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 17:16.

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