Go to Post It's your duty in FRC to your teammates and alliance partners to put the most competitive robot possible on the field. - Chris is me [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

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 02-03-2010, 10:57
May_Walter's Avatar
May_Walter May_Walter is offline
Artemis #3083
FRC #3083 (Artemis)
Team Role: Coach
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Israel
Posts: 86
May_Walter is an unknown quantity at this point
Mecanum Drive Problem..

Hello.
We wrote a mecanum drive code of our own. The outputs have been checked and they're correct, but for some unknown reason sometimes the robot changes directions while we are driving (mostly while we are driving on the side "mecanum drive").
In addition, certain wheels spin slower than others, and when we spin in place the robot jumps instead of driving smoothly.
Are these problems common? do you have any ideas how to solve them?
Thanks
Team Artemis#3083
__________________
Team ARTEMIS - #3083 - The Sky Isn't The Limit Anymore!

2011- FRC Team Captain and Coach, FLL mentor & Ref. Semi-Finalists, Motorola Quality Award, Star of the Day.
2010 - FRC Team Captain and Coach, Engineering Inspiration Award, UL Industrial Safety Award
2009 - Coach, Judges Award, Finalists w/ 3075 & 1690
  #2   Spotlight this post!  
Unread 02-03-2010, 11:25
Joe Johnson's Avatar Unsung FIRST Hero
Joe Johnson Joe Johnson is offline
Engineer at Medrobotics
AKA: Dr. Joe
FRC #0088 (TJ2)
Team Role: Engineer
 
Join Date: May 2001
Rookie Year: 1996
Location: Raynham, MA
Posts: 2,648
Joe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond repute
Re: Mecanum Drive Problem..

Quote:
Originally Posted by May_Walter View Post
Hello.
We wrote a mecanum drive code of our own. The outputs have been checked and they're correct, but for some unknown reason sometimes the robot changes directions while we are driving (mostly while we are driving on the side "mecanum drive").
In addition, certain wheels spin slower than others, and when we spin in place the robot jumps instead of driving smoothly.
Are these problems common? do you have any ideas how to solve them?
Thanks
Team Artemis#3083
Seems almost like an intermittent hard spot in the drive system that is changing the speed of one or more wheels.

Try putting the robot up on blocks and running the wheels. Listen for changes in speed. It is possible that it is some sort of phasing thing between the drive sprocket and the wheel sprocket (e.g. every (N-M)/(N+M) turns the eccentricities line up in such a way that the chain gets tight or too loose and jumps or whatever...)

Just some suggestions.

Joe J.
__________________
Joseph M. Johnson, Ph.D., P.E.
Mentor
Team #88, TJ2
  #3   Spotlight this post!  
Unread 02-03-2010, 11:40
Rob Rob is offline
Registered User
AKA: Rob
FRC #0131 (CHAOS)
Team Role: Coach
 
Join Date: Mar 2004
Rookie Year: 1996
Location: New Hampshire
Posts: 304
Rob has a reputation beyond reputeRob has a reputation beyond reputeRob has a reputation beyond reputeRob has a reputation beyond reputeRob has a reputation beyond reputeRob has a reputation beyond reputeRob has a reputation beyond reputeRob has a reputation beyond reputeRob has a reputation beyond reputeRob has a reputation beyond reputeRob has a reputation beyond repute
Send a message via AIM to Rob
Re: Mecanum Drive Problem..

Do the rollers in your Mechanum wheels turn smoothly? If one or more rollers are "sticky" you could see some odd driving behavior.

Wheels spinning slower than others could be caused by a host of problems. Mechanical binding, faulty sensor feedback, program outputting for a different state than you think...

Good luck, this does not sound like a trivial issue to troubleshoot.
  #4   Spotlight this post!  
Unread 02-03-2010, 11:50
May_Walter's Avatar
May_Walter May_Walter is offline
Artemis #3083
FRC #3083 (Artemis)
Team Role: Coach
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Israel
Posts: 86
May_Walter is an unknown quantity at this point
Re: Mecanum Drive Problem..

Hi again
1. we already tried checking the wheels on a jack, and we are sure that the program's outputs are correct, besides - the jaguars lights change properly.
2. we also tried fixing the rollers before.. they were too tight, but that problem was fixed about two weeks ago, but the problems persist.
We really tried everything we could think of. Just don't know what's wrong.
__________________
Team ARTEMIS - #3083 - The Sky Isn't The Limit Anymore!

2011- FRC Team Captain and Coach, FLL mentor & Ref. Semi-Finalists, Motorola Quality Award, Star of the Day.
2010 - FRC Team Captain and Coach, Engineering Inspiration Award, UL Industrial Safety Award
2009 - Coach, Judges Award, Finalists w/ 3075 & 1690
  #5   Spotlight this post!  
Unread 02-03-2010, 12:32
May_Walter's Avatar
May_Walter May_Walter is offline
Artemis #3083
FRC #3083 (Artemis)
Team Role: Coach
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Israel
Posts: 86
May_Walter is an unknown quantity at this point
Re: Mecanum Drive Problem..

OK, a small update.. the side turning was a minor bug in the code that didn't give the correct orders to the engines.. so we solved that one..
now it's only the turning in place...
__________________
Team ARTEMIS - #3083 - The Sky Isn't The Limit Anymore!

2011- FRC Team Captain and Coach, FLL mentor & Ref. Semi-Finalists, Motorola Quality Award, Star of the Day.
2010 - FRC Team Captain and Coach, Engineering Inspiration Award, UL Industrial Safety Award
2009 - Coach, Judges Award, Finalists w/ 3075 & 1690
  #6   Spotlight this post!  
Unread 02-03-2010, 12:51
Joe Johnson's Avatar Unsung FIRST Hero
Joe Johnson Joe Johnson is offline
Engineer at Medrobotics
AKA: Dr. Joe
FRC #0088 (TJ2)
Team Role: Engineer
 
Join Date: May 2001
Rookie Year: 1996
Location: Raynham, MA
Posts: 2,648
Joe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond repute
Re: Mecanum Drive Problem..

Quote:
Originally Posted by May_Walter View Post
OK, a small update.. the side turning was a minor bug in the code that didn't give the correct orders to the engines.. so we solved that one..
now it's only the turning in place...
Since you are able to spin at all, I assume you have the X vs. O thing figured out, but then the down side comes into play, the correct orientation of the Mecanum wheels means that you are going to be scrubbing wheels (i.e. moving them in the direction of the axles rather than rolling them) when you spin in place. If your little wheels are grippy then they are not going to like that much.

The question is how much are you jumping? If you are just seeing "normal" 4WD with wheels in the corners jumping then there isn't much to talk about. If it is something more serious then perhaps there are things to do to improve things.

Can you provide more details? How about a movie of the behavior?

Joe J.
__________________
Joseph M. Johnson, Ph.D., P.E.
Mentor
Team #88, TJ2
  #7   Spotlight this post!  
Unread 02-03-2010, 15:21
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,113
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 Drive Problem..

Quote:
Originally Posted by May_Walter View Post
...when we spin in place the robot jumps instead of driving smoothly.
That's a strong clue that you have your wheels swapped. A robot with mecanum wheels in a perfect square wouldn't be able to spin at all. With a more typical rectangular configuration it will manage to spin, but with obvious reluctance. With the robot turned off, can you push it by hand and make it spin easily? If so, that confirms the problem as swapped wheels.

The pattern of rollers touching the floor should be in an "O" or "diamond" configuration. They will look like an "X" from above.
  #8   Spotlight this post!  
Unread 03-03-2010, 11:52
May_Walter's Avatar
May_Walter May_Walter is offline
Artemis #3083
FRC #3083 (Artemis)
Team Role: Coach
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Israel
Posts: 86
May_Walter is an unknown quantity at this point
Re: Mecanum Drive Problem..

Quote:
Originally Posted by Alan Anderson View Post
The pattern of rollers touching the floor should be in an "O" or "diamond" configuration. They will look like an "X" from above.
From below, our rollers look like:
\ . /
\ . /
\ . /


/ . \
/ . \
/ . \

(note that the lines are along the rollers spin axis, not their rolling direction)
Is this the correct way?
__________________
Team ARTEMIS - #3083 - The Sky Isn't The Limit Anymore!

2011- FRC Team Captain and Coach, FLL mentor & Ref. Semi-Finalists, Motorola Quality Award, Star of the Day.
2010 - FRC Team Captain and Coach, Engineering Inspiration Award, UL Industrial Safety Award
2009 - Coach, Judges Award, Finalists w/ 3075 & 1690

Last edited by May_Walter : 03-03-2010 at 11:54.
  #9   Spotlight this post!  
Unread 03-03-2010, 11:56
Jared Russell's Avatar
Jared Russell Jared Russell is offline
Taking a year (mostly) off
FRC #0254 (The Cheesy Poofs), FRC #0341 (Miss Daisy)
Team Role: Engineer
 
Join Date: Nov 2002
Rookie Year: 2001
Location: San Francisco, CA
Posts: 3,078
Jared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond repute
Re: Mecanum Drive Problem..

That is incorrect - you want the opposite arrangement.
  #10   Spotlight this post!  
Unread 03-03-2010, 12:01
May_Walter's Avatar
May_Walter May_Walter is offline
Artemis #3083
FRC #3083 (Artemis)
Team Role: Coach
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Israel
Posts: 86
May_Walter is an unknown quantity at this point
Re: Mecanum Drive Problem..

Are you sure?
Any way, can this be the reason for the jumps?
__________________
Team ARTEMIS - #3083 - The Sky Isn't The Limit Anymore!

2011- FRC Team Captain and Coach, FLL mentor & Ref. Semi-Finalists, Motorola Quality Award, Star of the Day.
2010 - FRC Team Captain and Coach, Engineering Inspiration Award, UL Industrial Safety Award
2009 - Coach, Judges Award, Finalists w/ 3075 & 1690
  #11   Spotlight this post!  
Unread 03-03-2010, 12:03
Jared Russell's Avatar
Jared Russell Jared Russell is offline
Taking a year (mostly) off
FRC #0254 (The Cheesy Poofs), FRC #0341 (Miss Daisy)
Team Role: Engineer
 
Join Date: Nov 2002
Rookie Year: 2001
Location: San Francisco, CA
Posts: 3,078
Jared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond repute
Re: Mecanum Drive Problem..

If I understand your diagram (and I think I do), then yes, I am sure.

Here's a picture of what it should look like:

  #12   Spotlight this post!  
Unread 03-03-2010, 12:05
Cl4p-tp's Avatar
Cl4p-tp Cl4p-tp is offline
Scott Clark
AKA: Scott Clark
FRC #2062 (C.O.R.E 2062)
Team Role: Mechanical
 
Join Date: Dec 2009
Rookie Year: 2008
Location: Waukesha,WI
Posts: 18
Cl4p-tp has a little shameless behaviour in the past
Re: Mecanum Drive Problem..

The jumps might be cause by un-even chain tension. I myself had to fix that problem...
__________________
  #13   Spotlight this post!  
Unread 03-03-2010, 12:56
May_Walter's Avatar
May_Walter May_Walter is offline
Artemis #3083
FRC #3083 (Artemis)
Team Role: Coach
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Israel
Posts: 86
May_Walter is an unknown quantity at this point
Re: Mecanum Drive Problem..

We dont have chains on our robot, the connection uses sporckets only.
__________________
Team ARTEMIS - #3083 - The Sky Isn't The Limit Anymore!

2011- FRC Team Captain and Coach, FLL mentor & Ref. Semi-Finalists, Motorola Quality Award, Star of the Day.
2010 - FRC Team Captain and Coach, Engineering Inspiration Award, UL Industrial Safety Award
2009 - Coach, Judges Award, Finalists w/ 3075 & 1690
  #14   Spotlight this post!  
Unread 03-03-2010, 13:13
Hadi379's Avatar
Hadi379 Hadi379 is offline
Registered User
FRC #0379
 
Join Date: Jan 2007
Location: Girard
Posts: 169
Hadi379 is a splendid one to beholdHadi379 is a splendid one to beholdHadi379 is a splendid one to beholdHadi379 is a splendid one to beholdHadi379 is a splendid one to beholdHadi379 is a splendid one to beholdHadi379 is a splendid one to behold
Re: Mecanum Drive Problem..

This is what the rollers should look like from an overhead view:

\ /

/ \

This is what the rollers should look like from an underneath view:

/ \

\ /
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mecanum drive problems mattom1992 NI LabVIEW 15 30-01-2013 23:12
crab drive vs. mecanum drive system superbotman Technical Discussion 33 06-01-2010 03:09
Mecanum Drive Technique Dan Petrovic Technical Discussion 9 16-08-2006 20:42
pic: Jester Drive:Mecanum Wheel Drive Train Ken Delaney 357 Technical Discussion 64 29-03-2006 22:16


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

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