Go to Post I check Chief Delphi more often than I check Facebook and Twitter combined. It's probably unhealthy actually... - Ginger Power [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: 8 votes, 5.00 average. Display Modes
  #76   Spotlight this post!  
Unread 06-01-2015, 12:03
Tom Line's Avatar
Tom Line Tom Line is offline
Raptors can't turn doorknobs.
FRC #1718 (The Fighting Pi)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1999
Location: Armada, Michigan
Posts: 2,537
Tom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond repute
Re: 2015: Year of the Mecanum

Quote:
Originally Posted by alopex_rex View Post
Has anyone done anything with using a gyro to correct mecanum issues? People have mentioned it in this thread but I couldn't find any examples online (all I found were examples of how to use gyros for field-oriented control, which is cool too). It seems like it would be fairly simple to, say, store the current gyro angle whenever you start going straight (i.e. not rotating), and have a PID controller change the "rotate" value to maintain the same angle as long as you're trying not to turn. Has anyone done anything like this?

I don't think "mecanum" even has a correct pronunciation; on our team we say me-CAN-um /məˈkæ.nəm/, but I think i've heard MEC-(a)-num /ˈmɛk.(ə.)nəm/, which presumably is where the "mecnum" spelling comes from.
Absolutely. It's not terribly complicated either. After all your meCHanum motor set speeds are calculated, mix in a component from the gyro useing a PID. Only do this when the driver is using the strafe functions. Disable it when he is turning.

Easy Peasy.
Reply With Quote
  #77   Spotlight this post!  
Unread 06-01-2015, 12:29
hrench's Avatar
hrench hrench is offline
Mechanical build mentor
AKA: Bob Hrenchir
FRC #1108 (Panther Robotics)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2010
Location: Paola, KS
Posts: 220
hrench is a name known to allhrench is a name known to allhrench is a name known to allhrench is a name known to allhrench is a name known to allhrench is a name known to all
Re: 2015: Year of the Mecanum

Quote:
Originally Posted by alicen View Post
Whenever we did mecanums, we always had suspension on each wheel so that all wheels were always in contact with the floor. They even went over the humps in Breakaway just fine!
We did mecanums for logo motion with a flat-floor and they worked fine, but for rebound rumble, trying to climb the 'bridge' in the middle they were really problematic, even with suspension.

Remember that with mecanums, the left wheel is always pushing against the right wheel to make it go straight. So if one wheel gets off of the ground, your robot turns by itself.

Methinks that with a stack of totes on a forklift, the back-two wheels will be bumping off the ground regularly, and if you try to cross a platform at any kind of angle other than 90, you'll lift a wheel.

Last year I saw four wheel mecanums in the IAM14U frame, and maybe more often in 'butterfly' and 'octanum' drives. That that was acompletely flat floor. My recommendation is that if your heart is set on mecanums, use a butterfly or octo so you can put regular wheels on the floor when you need to. Also, note, the new frames are much more stiff than the old channel sections ones, so you'll need to do Something to keep those wheels on the ground. Something like independent suspension.

Mecanums work really well with Banebot transmissions too.

Last thing. Mecanums running over a noodle a problem? I think so . You tell me?
Reply With Quote
  #78   Spotlight this post!  
Unread 06-01-2015, 18:49
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,102
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: 2015: Year of the Mecanum

Quote:
Originally Posted by Tom Line View Post
After all your meCHanum motor set speeds are calculated, mix in a component from the gyro useing a PID.
My interpretation of the above is:
1) calculate the 4 motor speeds using the X and Y translation commands

2) calculate the motor speeds for rotation using the output from a PID

3) add the the corresponding speeds from (1) and (2).
Wouldn't it be more straightforward to compute the 4 motors speeds just once directly from the X, Y, and rotation commands?


BTW, what's the significance of the CH in caps?

Reply With Quote
  #79   Spotlight this post!  
Unread 06-01-2015, 21:09
alopex_rex's Avatar
alopex_rex alopex_rex is offline
Rainbow Professionalism Dash
AKA: Scott Morton
FRC #0830 (The RatPack)
Team Role: Alumni
 
Join Date: Dec 2014
Rookie Year: 2012
Location: Ann Arbor, MI
Posts: 92
alopex_rex has a reputation beyond reputealopex_rex has a reputation beyond reputealopex_rex has a reputation beyond reputealopex_rex has a reputation beyond reputealopex_rex has a reputation beyond reputealopex_rex has a reputation beyond reputealopex_rex has a reputation beyond reputealopex_rex has a reputation beyond reputealopex_rex has a reputation beyond reputealopex_rex has a reputation beyond reputealopex_rex has a reputation beyond repute
Re: 2015: Year of the Mecanum

What I was thinking was a way of dealing with imperfect results from mecanum, i.e., if simply using WPILib's mecanum drive function results in the robot turning when it's supposed to be straight strafing. When the driver is trying not to rotate (the "rotate" value would be zero), store the current gyro heading. Then have a PID controller that tries to maintain that gyro heading, by setting the "rotate" argument for the function. So the PID would find the value that counteracts any undesired rotation caused by mechanical issues.
__________________
Ratpack programming lead 2013 - 2015

ἔκλαγξαν δ᾽ ἄρ᾽ ὀϊστοὶ ἐπ᾽ ὤμων χωομένοιο / αὐτοῦ κινηθέντος: ὃ δ᾽ ἤϊε νυκτὶ ἐοικώς. (Ancient Greek nerds unite!)
Reply With Quote
  #80   Spotlight this post!  
Unread 06-01-2015, 21:11
Ben Wolsieffer Ben Wolsieffer is offline
Dartmouth 2020
AKA: lopsided98
FRC #2084 (Robots by the C)
Team Role: Alumni
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Manchester, MA (Hanover, NH)
Posts: 520
Ben Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud of
Re: 2015: Year of the Mecanum

Quote:
Originally Posted by alopex_rex View Post
What I was thinking was a way of dealing with imperfect results from mecanum, i.e., if simply using WPILib's mecanum drive function results in the robot turning when it's supposed to be straight strafing. When the driver is trying not to rotate (the "rotate" value would be zero), store the current gyro heading. Then have a PID controller that tries to maintain that gyro heading, by setting the "rotate" argument for the function. So the PID would find the value that counteracts any undesired rotation caused by mechanical issues.
This is exactly what we did in the past for our mecanum drive, and it worked wonderfully. We didn't have to obsess nearly as much about perfect weight distribution.
__________________



2016 North Shore District - Semifinalists and Excellence in Engineering Award
2015 Northeastern University District - Semifinalists and Creativity Award
2014 Granite State District - Semifinalists and Innovation in Control Award
2012 Boston Regional - Finalists
Reply With Quote
  #81   Spotlight this post!  
Unread 06-01-2015, 21:35
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,102
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: 2015: Year of the Mecanum

Quote:
Originally Posted by alopex_rex View Post
What I was thinking was a way of dealing with imperfect results from mecanum, i.e., if simply using WPILib's mecanum drive function results in the robot turning when it's supposed to be straight strafing. When the driver is trying not to rotate (the "rotate" value would be zero), store the current gyro heading. Then have a PID controller that tries to maintain that gyro heading, by setting the "rotate" argument for the function. So the PID would find the value that counteracts any undesired rotation caused by mechanical issues.
See attachment
Attached Thumbnails
Click image for larger version

Name:	mec_drive_straight_with_gyro.png
Views:	394
Size:	19.3 KB
ID:	17764  

Last edited by Ether : 06-01-2015 at 21:40.
Reply With Quote
  #82   Spotlight this post!  
Unread 06-01-2015, 21:42
alopex_rex's Avatar
alopex_rex alopex_rex is offline
Rainbow Professionalism Dash
AKA: Scott Morton
FRC #0830 (The RatPack)
Team Role: Alumni
 
Join Date: Dec 2014
Rookie Year: 2012
Location: Ann Arbor, MI
Posts: 92
alopex_rex has a reputation beyond reputealopex_rex has a reputation beyond reputealopex_rex has a reputation beyond reputealopex_rex has a reputation beyond reputealopex_rex has a reputation beyond reputealopex_rex has a reputation beyond reputealopex_rex has a reputation beyond reputealopex_rex has a reputation beyond reputealopex_rex has a reputation beyond reputealopex_rex has a reputation beyond reputealopex_rex has a reputation beyond repute
Re: 2015: Year of the Mecanum

Nice chart--That's exactly what I was trying to describe!
__________________
Ratpack programming lead 2013 - 2015

ἔκλαγξαν δ᾽ ἄρ᾽ ὀϊστοὶ ἐπ᾽ ὤμων χωομένοιο / αὐτοῦ κινηθέντος: ὃ δ᾽ ἤϊε νυκτὶ ἐοικώς. (Ancient Greek nerds unite!)
Reply With Quote
  #83   Spotlight this post!  
Unread 06-01-2015, 21:43
Aedan Hawke Aedan Hawke is offline
Metrobot
FRC #3324 (The Metrobots)
Team Role: Leadership
 
Join Date: Jan 2015
Rookie Year: 2013
Location: Columbus, Ohio
Posts: 1
Aedan Hawke is an unknown quantity at this point
Re: 2015: Year of the Mecanum

Quote:
Originally Posted by Bruceb View Post
never used macanums before but really considering it this year. what is the prefered gearbox for these?
We've used mechanums for the last couple of years with success. Last year we made our own gearboxes and built them into our chassis. They worked exceptionally well but, obviously, were a huge drain on time. Other years we used Andymark ToughBoxes and those worked well for us. I'd recommend them unless you'd like the challenge of the custom gearboxes.
Reply With Quote
  #84   Spotlight this post!  
Unread 06-01-2015, 21:47
forbes's Avatar
forbes forbes is offline
Software developer
AKA: Evan Forbes
FRC #3507 (Ubotics), 694 (StuyPulse)
Team Role: Mentor
 
Join Date: Apr 2013
Rookie Year: 2012
Location: New York City
Posts: 160
forbes is a splendid one to beholdforbes is a splendid one to beholdforbes is a splendid one to beholdforbes is a splendid one to beholdforbes is a splendid one to beholdforbes is a splendid one to beholdforbes is a splendid one to beholdforbes is a splendid one to behold
Re: 2015: Year of the Mecanum

Quote:
Originally Posted by Ether View Post
See attachment
Thanks, that diagram is helpful.
Reply With Quote
  #85   Spotlight this post!  
Unread 06-01-2015, 21:59
Mecanum Wheel's Avatar
Mecanum Wheel Mecanum Wheel is offline
It's spelled mecanum
AKA: Bengt Ilon
no team
Team Role: Mechanical
 
Join Date: Jan 2015
Rookie Year: 2004
Location: Sweden
Posts: 18
Mecanum Wheel has a reputation beyond reputeMecanum Wheel has a reputation beyond reputeMecanum Wheel has a reputation beyond reputeMecanum Wheel has a reputation beyond reputeMecanum Wheel has a reputation beyond reputeMecanum Wheel has a reputation beyond reputeMecanum Wheel has a reputation beyond reputeMecanum Wheel has a reputation beyond reputeMecanum Wheel has a reputation beyond reputeMecanum Wheel has a reputation beyond reputeMecanum Wheel has a reputation beyond repute
Re: 2015: Year of the Mecanum

Quote:
Originally Posted by Aedan Hawke View Post
We've used mechanums for the last couple of years with success. Last year we made our own gearboxes and built them into our chassis. They worked exceptionally well but, obviously, were a huge drain on time. Other years we used Andymark ToughBoxes and those worked well for us. I'd recommend them unless you'd like the challenge of the custom gearboxes.
Hi Aedan. Just for future reference, it's spelled mecanum. It's an easy mistake to make.

Is anyone using 6 inch mecanum wheels with CIMple boxes? We will be and are going for ~11 ft./s.
Reply With Quote
  #86   Spotlight this post!  
Unread 07-01-2015, 00:41
dawonn's Avatar
dawonn dawonn is offline
Mentor
AKA: Dereck
FRC #2586 (Calumet Copperbots)
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Auburn Hills, Mi
Posts: 53
dawonn is an unknown quantity at this point
Talking Re: 2015: Year of the Mecanum

I think we may also going the CIMple Box route with the 6" standard Andymark mecanum wheels, with HTD belts geared for 12.5 fps.

In the past I have used a gyro just as stated above to keep the robot driving straight. It worked so well that we had a motor come disconnected and didn't notice for a few hours.
Reply With Quote
  #87   Spotlight this post!  
Unread 08-01-2015, 13:28
Saberbot's Avatar
Saberbot Saberbot is offline
Ask me about Glentite™
AKA: David Ingraham
FRC #4146 (Saguaro Sabercat Robotics)
Team Role: College Student
 
Join Date: Jan 2012
Rookie Year: 2011
Location: Arizona
Posts: 109
Saberbot is just really niceSaberbot is just really niceSaberbot is just really niceSaberbot is just really nice
Re: 2015: Year of the Mecanum

Quote:
Originally Posted by Ether View Post
See attachment
Wouldn't another option be to treat the feedback loop as the "rate controller" for the yaw axis? The rotation command from the joystick would be sent to the yaw controller. If it the command is zero then it will work as described in the attachment. If the command is greater than zero, then the controller will allow for more predictable rates of rotation based on the joystick command.

I believe this is how yaw control is managed on most RC Multicopters.
__________________
Reply With Quote
  #88   Spotlight this post!  
Unread 08-01-2015, 14:16
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,102
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: 2015: Year of the Mecanum

Quote:
Originally Posted by Saberbot View Post
Wouldn't another option be to treat the feedback loop as the "rate controller" for the yaw axis? The rotation command from the joystick would be sent to the yaw controller. If it the command is zero then it will work as described in the attachment.
What you've described1 would work; but if you're trying to hold position, it's best to close the loop on position, not velocity.


1 ... http://www.chiefdelphi.com/media/papers/download/2796 ...... http://www.chiefdelphi.com/media/papers/2390
Reply With Quote
  #89   Spotlight this post!  
Unread 08-01-2015, 14:28
Saberbot's Avatar
Saberbot Saberbot is offline
Ask me about Glentite™
AKA: David Ingraham
FRC #4146 (Saguaro Sabercat Robotics)
Team Role: College Student
 
Join Date: Jan 2012
Rookie Year: 2011
Location: Arizona
Posts: 109
Saberbot is just really niceSaberbot is just really niceSaberbot is just really niceSaberbot is just really nice
Re: 2015: Year of the Mecanum

Quote:
Originally Posted by Ether View Post
What you've described1 would work; but if you're trying to hold position, it's best to close the loop on position, not velocity.


1 ... http://www.chiefdelphi.com/media/papers/download/2796 ...... http://www.chiefdelphi.com/media/papers/2390
That makes sense. Thank you for creating these great resources.
__________________
Reply With Quote
  #90   Spotlight this post!  
Unread 08-01-2015, 15:24
holygrail's Avatar
holygrail holygrail is offline
Gavin Wood
FRC #1939 (The Kuhnigits)
Team Role: Coach
 
Join Date: Jan 2011
Rookie Year: 2007
Location: Kansas City, MO
Posts: 185
holygrail is just really niceholygrail is just really niceholygrail is just really niceholygrail is just really nice
Re: 2015: Year of the Mecanum

Quote:
Originally Posted by hrench View Post
Last thing. Mecanums running over a noodle a problem? I think so . You tell me?
We have 6" VexPro mecanums on our 2013 robot and we drove it over several noodles with no problem. There is a bit of bumpiness when you go over, so you might want to either stabilize the stack or just drive around the noodles when loaded, but that is true with any wheels unless you have suspension of some sort.
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 10:50.

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