Go to Post When you open of CD and you see your very own quote up top, and can't decide if it's a really awesome or "Well...this is awkward..." moment - CalTran [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rating: Thread Rating: 3 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 04-01-2015, 11:04
markgryzwa markgryzwa is offline
Registered User
FRC #3206 (Royal-T-Wrecks)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2010
Location: MN
Posts: 30
markgryzwa is on a distinguished road
Need advice on mecanum

Like a lot of teams we are considering mecanum but have no experience with them. Would you be willing to share some of your experiences on what to watch out for?

Any lessons learned that you want to pass along?

Mark Gryzwa
Mentor 3206 Royal-T-Wrecks
Reply With Quote
  #2   Spotlight this post!  
Unread 04-01-2015, 11:25
Dexterium's Avatar
Dexterium Dexterium is offline
Registered User
AKA: Adam Poindexter
FRC #1208 (Metool Brigade)
Team Role: Programmer
 
Join Date: Sep 2012
Rookie Year: 2011
Location: United States
Posts: 24
Dexterium is an unknown quantity at this point
Re: Need advice on mecanum

A mecanum drive train has the advantage of mobility, but that mobility comes at the cost of power. My team found this out the hard way when we were pushed all over the field. Since that is no longer an issue mecanum would be great for this game. As far as setting up the system, make sure the four wheels/gearboxes/motors are as close to identical as possible. The way mecanum wheels make strafing possible is reliant on the angle of the force generated by the wheels. If one of the wheel assemblies creates a greater or lesser force than the others, the strafing will be at a diagonal. The small amount of angling that will occur regardless can be fixed through use of a gyroscope; however, if the degree of the difference is too much, the gryo will do more harm than good. I known that in LabVIEW at least the gyro feature is build into the mecanum drive (called holonomic drive in the code) control block. The gyro will take some effort to function properly, but it is worth it in the end. If I remember right LabVIEW (if you are using it) has a nice detailed example of the coding setup. Good luck with it! Being able to strafe would be a major advantage in this game.
Reply With Quote
  #3   Spotlight this post!  
Unread 04-01-2015, 12:34
Sparkyshires Sparkyshires is offline
Registered User
AKA: Michael Shires
FRC #0384 (Sparky)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2006
Location: Virginia
Posts: 226
Sparkyshires is an unknown quantity at this point
Re: Need advice on mecanum

mainly, just make sure each wheel is pushing down with the same amount of force. Some teams have even done a suspension system in the past, while others have just designed they're robots so the weight distribution is as close to uniform as possible. Either way, that will be an issue. Also just remember that whatever aspect ratio you chose, going straight on the wider side will always be more difficult.
__________________
"Measure with a micrometer, mark with chalk, cut with an axe."
Reply With Quote
  #4   Spotlight this post!  
Unread 04-01-2015, 12:38
adciv adciv is offline
One Eyed Man
FRC #0836 (RoboBees)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2010
Location: Southern Maryland
Posts: 478
adciv is a name known to alladciv is a name known to alladciv is a name known to alladciv is a name known to alladciv is a name known to alladciv is a name known to all
Re: Need advice on mecanum

Depending on which brand of mecanum you buy, you may want to purchase spares. We broke many wheels last year using VexPro mecanum.
__________________
Quote:
Originally Posted by texarkana View Post
I would not want the task of devising a system that 50,000 very smart people try to outwit.
Reply With Quote
  #5   Spotlight this post!  
Unread 04-01-2015, 13:58
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,124
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: Need advice on mecanum

Quote:
Originally Posted by adciv View Post
Depending on which brand of mecanum you buy, you may want to purchase spares. We broke many wheels last year using VexPro mecanum.
Is this what you are referring to? If so, it's only fair to note that the problem was taken seriously by Vex, the cause was found, and changes were made.


Reply With Quote
  #6   Spotlight this post!  
Unread 04-01-2015, 14:10
adciv adciv is offline
One Eyed Man
FRC #0836 (RoboBees)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2010
Location: Southern Maryland
Posts: 478
adciv is a name known to alladciv is a name known to alladciv is a name known to alladciv is a name known to alladciv is a name known to alladciv is a name known to all
Re: Need advice on mecanum

Yes, but I'd still keep spares around just in case. For me at least it's once bitten twice shy. We won every match in which we broke a roller, but we still had to change out our wheels at least once a competition including at World.
__________________
Quote:
Originally Posted by texarkana View Post
I would not want the task of devising a system that 50,000 very smart people try to outwit.
Reply With Quote
  #7   Spotlight this post!  
Unread 04-01-2015, 14:31
safiq10's Avatar
safiq10 safiq10 is offline
Registered User
FRC #2950 (DEVASTATORS)
Team Role: Mechanical
 
Join Date: Jan 2013
Rookie Year: 2009
Location: Waco tx
Posts: 528
safiq10 has a reputation beyond reputesafiq10 has a reputation beyond reputesafiq10 has a reputation beyond reputesafiq10 has a reputation beyond reputesafiq10 has a reputation beyond reputesafiq10 has a reputation beyond reputesafiq10 has a reputation beyond reputesafiq10 has a reputation beyond reputesafiq10 has a reputation beyond reputesafiq10 has a reputation beyond reputesafiq10 has a reputation beyond repute
Re: Need advice on mecanum

On Devastators we learned the hard way for Mecanums and I dont think we will go back to them but some tips we learned from the time we used mecanums.
  1. Make sure all the wheels are powered
  2. Make sure your center of gravity is as close to the center of the robot.
  3. All wheels must be touching the floor
  4. GYRO can make everything easier
  5. Research! We found lots of code afterwards for this drivetrain. So make sure you research it first.
  6. Make sure Drivers get lots of practice! It feels werid to strafe and wont be the intial thought for your driver so make sure they get use to it.
__________________

2014 Dallas Semi-Finalist (Thanks 3847 & 231)
2014 OKC Semi-Finalist (Thanks 2341 & 2461)
Reply With Quote
  #8   Spotlight this post!  
Unread 04-01-2015, 22:23
Mr. Mike's Avatar
Mr. Mike Mr. Mike is offline
Registered User
FRC #3138 (Innovators)
Team Role: Mentor
 
Join Date: Mar 2010
Rookie Year: 2010
Location: Vandalia, Ohio
Posts: 92
Mr. Mike is a name known to allMr. Mike is a name known to allMr. Mike is a name known to allMr. Mike is a name known to allMr. Mike is a name known to allMr. Mike is a name known to all
Re: Need advice on mecanum

If a robot is designed with the wheels set square at 22 inches and the weight is equal on all wheels. What happens when you load one side with 24 pounds (3 totes) cantilevered out the long way of the totes (fork lift style)? Will it still strafe? Hard to turn?

Mr. Mike
Reply With Quote
  #9   Spotlight this post!  
Unread 04-01-2015, 22:49
Chris_Ely's Avatar
Chris_Ely Chris_Ely is online now
Registered User
AKA: luckof13
FRC #3414 (HackBots)
Team Role: College Student
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Farmington, Michigan
Posts: 366
Chris_Ely has a reputation beyond reputeChris_Ely has a reputation beyond reputeChris_Ely has a reputation beyond reputeChris_Ely has a reputation beyond reputeChris_Ely has a reputation beyond reputeChris_Ely has a reputation beyond reputeChris_Ely has a reputation beyond reputeChris_Ely has a reputation beyond reputeChris_Ely has a reputation beyond reputeChris_Ely has a reputation beyond reputeChris_Ely has a reputation beyond repute
Re: Need advice on mecanum

Quote:
Originally Posted by Mr. Mike View Post
If a robot is designed with the wheels set square at 22 inches and the weight is equal on all wheels. What happens when you load one side with 24 pounds (3 totes) cantilevered out the long way of the totes (fork lift style)? Will it still strafe? Hard to turn?

Mr. Mike
Not sure how well this translates to FRC robots, but there are mecanum forklifts.
__________________
2013: Waterford Finalist, Livonia Winner, MSC Quarterfinalist, Curie Division
2012: Waterford, Northville, Livonia
2011: Waterford Finalist, Livonia
2010: Ann Arbor Rookie Inspiration Award, Troy

Mechanical Engineering Student,
Michigan Technological University
Reply With Quote
  #10   Spotlight this post!  
Unread 05-01-2015, 05:12
sasha831 sasha831 is offline
Sasha
FRC #4529 (AI Robotics)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2012
Location: Australia
Posts: 35
sasha831 is an unknown quantity at this point
Re: Need advice on mecanum

I've already posted this in another thread, but our team developed our own Java Library, as we had a lot of issues with the default stock code. It can be found here:

http://ai-robotics.com.au/code-libraries/

I am very happy to help any team that needs help programming the mecanum wheels, regardless of whether they are using our library or not
__________________
Theory is when you know everything but nothing works. Practice is everything works but no one knows why. On our Team, theory and practice are combined: nothing works and no one knows why!
Reply With Quote
  #11   Spotlight this post!  
Unread 05-01-2015, 09:04
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,124
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: Need advice on mecanum

Quote:
Originally Posted by sasha831 View Post
our team developed our own Java Library, as we had a lot of issues with the default stock code
What were the issues you had with the WPILib code?


Reply With Quote
  #12   Spotlight this post!  
Unread 05-01-2015, 12:57
slibert slibert is offline
Software Mentor
AKA: Scott Libert
FRC #2465 (Kauaibots)
Team Role: Mentor
 
Join Date: Oct 2011
Rookie Year: 2005
Location: Kauai, Hawaii
Posts: 359
slibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud of
Re: Need advice on mecanum

Quote:
Originally Posted by sasha831 View Post
I've already posted this in another thread, but our team developed our own Java Library, as we had a lot of issues with the default stock code. It can be found here:

http://ai-robotics.com.au/code-libraries/

I am very happy to help any team that needs help programming the mecanum wheels, regardless of whether they are using our library or not
Team 2465 (Kauaibots) has been working with mecanum for a few years now. We're one of those teams that will hopefully have a singing mecanum driver system.

Like the fine folks at ai-robotics, we'd like to make our mecanum drive code available too - in the hopes that other teams find it useful. I sincerely hope this won't steal the thunder from ai-robotics' excellent work, but since the Kauaibots code has some unique features, we wanted to post this on this thread.

This is a custom implementation of mecanum drive, based on Ether's incredibly thorough and enlightening documentation that was posted a few years ago.

To this, we added two things:

(a) Velocity PID control of CAN-based black Jaguars (for traction control, which could come in handy this year). We note that mecanum is sensitive to weight distribution, and a velocity PID is very useful to help deal with this issue. You can disable this if you want.

(b) integration with the nav6 IMU for a field-oriented drive that exhibits superior accuracy (typically, yaw drift of about 2.5 degrees over a 2:30 minute period, the FRC match length). Like the ai-robotics code, you can disable this if you want, too.

The java code for this is available online. See the Drive.java file.

You might also find the "AutoDrive.java" and "StickDrive.java" files useful, they're up one directory, then down into the "commands" directory. The StickDrive implements a set of joystick response curves we've found useful.

Team 2465 partnered with Kauai Labs to design the new open-source navX MXP Robotics Navigation Sensor. The navX MXP is compatible w/the nav6, so you should be able to use either board with this code. Alternatively, the kit of parts gyro can be integrated into it, although we find the nav6/navX provides greater accuracy.

There are a few tuning parameters (the robot wheel base and the wheel diameter). We've tested this on both 6-inch and 8-inch Andymark mecanum wheels, on both square-shaped and rectangular chassis. Our favorite configuration is a rectangular chassis with 8-inch wheels. This has enough pushing power to push one of the adult mentors sitting in a chair (the chair doesn't have wheels) across a carpeted floor.

This code is for the CRio; We haven't yet ported this to the RoboRio, but we'll be posting the ported code soon.

Aloha,

- scott
Reply With Quote
  #13   Spotlight this post!  
Unread 05-01-2015, 13:08
Hoffer5236's Avatar
Hoffer5236 Hoffer5236 is offline
Project Manager
AKA: Matthew Hoffer
FRC #5236 (Man O' War)
Team Role: Engineer
 
Join Date: Jan 2014
Rookie Year: 2014
Location: Cambridge
Posts: 20
Hoffer5236 is on a distinguished road
Re: Need advice on mecanum

What is the best layout for the drive base? My team is working with a modified KOP drive base in the long configuration. We chose this with the thinking that it will be easier to balance weight with the forklift collector we are currently planning on using. But, we do not have enough experience in mecanum to know how this will affect the wheels. Should we revert to a square drive base and figure out the weight distribution? How will a long drive base affect strafing?
Reply With Quote
  #14   Spotlight this post!  
Unread 05-01-2015, 13:13
Monochron's Avatar
Monochron Monochron is online now
Engineering Mentor
AKA: Brian O'Sullivan
FRC #4561 (TerrorBytes)
Team Role: Engineer
 
Join Date: Feb 2007
Rookie Year: 2002
Location: Research Triangle Park, NC
Posts: 920
Monochron has a reputation beyond reputeMonochron has a reputation beyond reputeMonochron has a reputation beyond reputeMonochron has a reputation beyond reputeMonochron has a reputation beyond reputeMonochron has a reputation beyond reputeMonochron has a reputation beyond reputeMonochron has a reputation beyond reputeMonochron has a reputation beyond reputeMonochron has a reputation beyond reputeMonochron has a reputation beyond repute
Re: Need advice on mecanum

Quote:
Originally Posted by Mr. Mike View Post
If a robot is designed with the wheels set square at 22 inches and the weight is equal on all wheels. What happens when you load one side with 24 pounds (3 totes) cantilevered out the long way of the totes (fork lift style)? Will it still strafe? Hard to turn?

Mr. Mike
I think this is one of the more important questions to be answered about Mecanum drives this year. I also imagine it will be very hard to predict or calculate before actually testing.

Can any teams with Mecanum experience give an idea as to how "off" control would be if heavily weighted on one side?
Reply With Quote
  #15   Spotlight this post!  
Unread 07-01-2015, 13:04
Mr. Mike's Avatar
Mr. Mike Mr. Mike is offline
Registered User
FRC #3138 (Innovators)
Team Role: Mentor
 
Join Date: Mar 2010
Rookie Year: 2010
Location: Vandalia, Ohio
Posts: 92
Mr. Mike is a name known to allMr. Mike is a name known to allMr. Mike is a name known to allMr. Mike is a name known to allMr. Mike is a name known to allMr. Mike is a name known to all
Re: Need advice on mecanum

Would control of a "H" drive handle an off center load better than mecanum?

Mr. Mike
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 22:02.

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