Go to Post Sometimes dumb ideas just work really well :P - Garrett.d.w [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 24-05-2010, 17:26
PAR_WIG1350's Avatar
PAR_WIG1350 PAR_WIG1350 is offline
Registered User
AKA: Alan Wells
FRC #1350 (Rambots)
Team Role: Alumni
 
Join Date: Dec 2009
Rookie Year: 2009
Location: Rhode Island
Posts: 1,189
PAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond repute
Re: potential future white paper: swerve drive implementation

Quote:
Originally Posted by virtuald View Post
Swerve Drive is really easy to implement if you ignore the actual control of the motors and just look at it abstractly (ie.. point motor to angle and run it at some speed). Of course, there are some optimizations you can do to ensure smoother operation past just the pure mathematical analysis.

I created a spreadsheet to simulate a swerve drive and its calculations (by using a graph to model the direction/speed of the wheels): http://www.virtualroadside.com/blog/...l-spreadsheet/

We also released the source code for our robot that year (which includes its swerve drive code), which can also be found elsewhere on my website.
Yes, but not really, for people who breeze through vector calculus like it was nothing, swerve drive is nothing (and this is swerve drive, not crab which is really easy to program), but some teams don't have any team members with higher level math skills. The idea of this paper is to provide an out of the box formula for any swerve drive base regardless of size, shape, or number of wheels. Also, it doesn't involve any calculus at all. in addition, mechanical and electrical implementation of swerve will also be discussed. Currently the paper is not very much more than a plan, but the idea of using tables and arrays for swerve drive is one of the planned topics of discussion, although how to do it is not.
__________________
  #2   Spotlight this post!  
Unread 16-06-2010, 14:45
Nadav Zingerman Nadav Zingerman is offline
Registered User
FRC #2230
Team Role: Programmer
 
Join Date: Jul 2009
Rookie Year: 2009
Location: Israel
Posts: 90
Nadav Zingerman is a splendid one to beholdNadav Zingerman is a splendid one to beholdNadav Zingerman is a splendid one to beholdNadav Zingerman is a splendid one to beholdNadav Zingerman is a splendid one to beholdNadav Zingerman is a splendid one to beholdNadav Zingerman is a splendid one to behold
Re: potential future white paper: swerve drive implementation

Quote:
Originally Posted by PAR_WIG1350 View Post
Yes, but not really, for people who breeze through vector calculus like it was nothing, swerve drive is nothing (and this is swerve drive, not crab which is really easy to program), but some teams don't have any team members with higher level math skills. The idea of this paper is to provide an out of the box formula for any swerve drive base regardless of size, shape, or number of wheels. Also, it doesn't involve any calculus at all. in addition, mechanical and electrical implementation of swerve will also be discussed. Currently the paper is not very much more than a plan, but the idea of using tables and arrays for swerve drive is one of the planned topics of discussion, although how to do it is not.
There is no calculus involved in that spreadsheet. If anyone really want to use an "out of the box" formula without really understanding it, all they have to do is translate the Excel formulas into code.
  #3   Spotlight this post!  
Unread 14-07-2010, 14:33
brianc217's Avatar
brianc217 brianc217 is offline
Registered User
None #1153
 
Join Date: Feb 2008
Location: Walpole, MA
Posts: 36
brianc217 is an unknown quantity at this point
Re: potential future white paper: swerve drive implementation

My team tried to do a crab drive system this year but we found that the chassis would not maintain its orientation as we had assumed.
Does anyone know why this might have happened?

I tried implementing some correction code that would look at the gyro and compensate by speeding up one side or slowing down the other with some success but it wasn't perfect.

I also tried making sure all the wheels were going the same speed using rotation sensors and PID but could never get it to work. There was too much lag. Has anyone got this to work with this or a different method?

Thanks. I would appreciate any feedback. It would let me sleep easier at night!
__________________
http://walpolerobotics.org
  #4   Spotlight this post!  
Unread 14-07-2010, 21:30
PAR_WIG1350's Avatar
PAR_WIG1350 PAR_WIG1350 is offline
Registered User
AKA: Alan Wells
FRC #1350 (Rambots)
Team Role: Alumni
 
Join Date: Dec 2009
Rookie Year: 2009
Location: Rhode Island
Posts: 1,189
PAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond repute
Re: potential future white paper: swerve drive implementation

wheel slippage, gyro drift, collisions and wheels that aren't centered in the modules can all contribute to changes orientation.

for more information, I would suggest starting a new thread for this specific topic
__________________
  #5   Spotlight this post!  
Unread 14-07-2010, 21:59
apalrd's Avatar
apalrd apalrd is offline
More Torque!
AKA: Andrew Palardy (Most people call me Palardy)
VRC #3333
Team Role: College Student
 
Join Date: Mar 2009
Rookie Year: 2009
Location: Auburn Hills, MI
Posts: 1,347
apalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond repute
Re: potential future white paper: swerve drive implementation

You could let it happen, and provide a way to manually correct for it. Many things can cause you to turn, but if you can fix that, you will be good (plus, it might be handy to be able to line up by turning a little bit)
__________________
Kettering University - Computer Engineering
Kettering Motorsports
Williams International - Commercial Engines - Controls and Accessories
FRC 33 - The Killer Bees - 2009-2012 Student, 2013-2014 Advisor
VEX IQ 3333 - The Bumble Bees - 2014+ Mentor

"Sometimes, the elegant implementation is a function. Not a method. Not a class. Not a framework. Just a function." ~ John Carmack
  #6   Spotlight this post!  
Unread 12-10-2011, 13:41
PAR_WIG1350's Avatar
PAR_WIG1350 PAR_WIG1350 is offline
Registered User
AKA: Alan Wells
FRC #1350 (Rambots)
Team Role: Alumni
 
Join Date: Dec 2009
Rookie Year: 2009
Location: Rhode Island
Posts: 1,189
PAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond repute
Re: potential future white paper: swerve drive implementation

Just an update, I haven't forgotten about this, but since the inverse AND forward kinematics of swerve drive have already been posted in these papers in great detail, I plan on changing the topic of the paper to autonomous path planning with interdependently steered and driven wheels. I hope to get this up before kickoff by working on it in my free time, but lately I haven't had much.

Feedback or suggestions would be appreciated.
__________________
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
paper: Cyber Blue 234 - Swerve Implementation Presentation Chris Fultz Extra Discussion 10 24-05-2010 08:19
paper: Cyber Blue 234 - Swerve Drive Project Chris Fultz Extra Discussion 1 28-04-2010 17:02
Potential Issue with the C++ CANJaguar Implementation mattbutts C/C++ 2 19-02-2010 13:26
paper: FIRST Drive Trains and Implementation, Championship Conference Presentation Madison Extra Discussion 2 07-05-2008 13:44
White Paper Discuss: NEMO White Paper: 25 Ways Sponsors Can Help Your Team Jessica Boucher Extra Discussion 1 20-11-2005 20:01


All times are GMT -5. The time now is 03:25.

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