Go to Post sometimes you have to put up with the rain to see the rainbow - Beth Sweet [more]
Home
Go Back   Chief Delphi > Technical > Control System > FRC Control System
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 29-01-2010, 15:25
DavidGitz's Avatar
DavidGitz DavidGitz is offline
Lead Technical Advisor
FRC #1208 (MeTool Brigade)
Team Role: Coach
 
Join Date: Dec 2006
Rookie Year: 1996
Location: O'Fallon, IL
Posts: 341
DavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud of
Send a message via AIM to DavidGitz Send a message via MSN to DavidGitz Send a message via Yahoo to DavidGitz
Crab/Swerve Drive wheel rotation issues

Hi, we are implementing a swerve drive this year and I was curious to see how other teams are dealing with the wheel rotation issues that ensue, such as only a certain rotation can be made before hitting a mechanical (e.g. wire) constraint, the difference between you want to rotate your wheels all the way through or just invert the wheel direction instead, that kind of thing.

Our initial implementation was probably the most common and simple method, just take the angle of the joystick and command the rotation to that angle, and also to put a deadband in the vertical axis so that if the driver moves the joystick forward and backward sharply the wheels won't have to rotate all the way through 180 degrees, just the wheel direction is inverted. (It should be noted that with our system, we are capable of rotating through around 400 degrees by design). The problem with this though is that if the driver were to move the joystick back and then to the left, the rotation would command would have sharp changes that, although wouldn't be mechanically a problem would require a finite amount of time to transition.

The next idea is to map out the transition zones on the joystick, determine which path would require a normal rotation or reverse rotation and reverse wheel direction. Attached is a chart describing these transition areas. A transition across the red arrow would result in a rotation inversion and wheel speed inversion, whereas a transition across the blue arrow would not. No code yet, it is still an idea.

But both these "solutions" still have to deal with working with the finite rotation available (since slip rings aren't so good anymore). I don't see how there could be a quick fix to this issue, since this constraint will exist no matter what. You could design this maximum rotation at an angle where a driver wouldn't necessarily be crossing often, so that you don't have the wheels rotating 360 degrees just to move a couple, which is what I'm planning on doing.
Attached Thumbnails
Click image for larger version

Name:	joysticktransition.png
Views:	70
Size:	9.2 KB
ID:	8436  
__________________
Reply With Quote
 


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
Programming Issues with Crab Drive System bls0620 Programming 34 28-01-2010 16:38
Questions about crab/swerve drive. BenX02 Technical Discussion 62 28-04-2009 20:38
Crab / Swerve drive joystick control scheme Tom Line Programming 12 16-04-2007 18:47
Swerve/crab drive and tank turning activemx Technical Discussion 9 23-02-2004 18:26
rotation of body of crab drive robots michael_obrien Technical Discussion 6 22-10-2003 19:32


All times are GMT -5. The time now is 23:27.

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