|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools |
Rating:
|
Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: paper: 4 wheel independent drive & independent steering ("swerve")
Quote:
http://www.chiefdelphi.com/media/papers/download/2858 Last edited by Ether : 06-01-2011 at 11:23. Reason: fixed broken link |
|
#2
|
||||
|
||||
|
Re: paper: 4 wheel independent drive & independent steering ("swerve")
Sorry, the link got broken when I uploaded a corrected version. Here's the new link: http://www.chiefdelphi.com/media/papers/download/2858 Also, note that there are two different ways to connect the angle error signal to the LabVIEW PID: 1) Connect the error to the Setpoint input, and connect a constant zero to the ProcessVariable input. This is the way mentioned in the paper.The first way effectively disables the "D" portion of the PID (which you probably don't need for this application anyway). The second way allows the "D" action of the PID to be used, but in a way perhaps not intended by the designer of the PID, since it causes the PID to use the derivative of both the ProcessVariable and the Setpoint. The PID is designed to take the derivative of the ProcessVariable input only*, so using this second way may result in instability or other unexpected behavior. * see this thread: http://www.chiefdelphi.com/forums/sh...ad.php?t=88233 Last edited by Ether : 06-01-2011 at 16:49. Reason: added link |
|
#3
|
||||
|
||||
|
Re: paper: 4 wheel independent drive & independent steering ("swerve")
I just posted a 2-page summary explanation for those who just want the equations and don't care about the derivation.
|
|
#4
|
||||
|
||||
|
Re: paper: 4 wheel independent drive & independent steering ("swerve")
Quote:
I corrected the typo, and updated the paper to use clockwise angles for the gyro and the wheel steering. |
|
#5
|
||||
|
||||
|
Re: paper: 4 wheel independent drive & independent steering ("swerve")
Just added a very simple Excel spreadsheet to demonstrate the swerve wheel speed and steering angle calculations. Might be a useful teaching tool for mentors (or learning tool for students).
User inputs values into cells A1 thru A6. Spreadsheet calculates and displays wheel speed command and wheel steering angle command for each of the 4 wheels. Last edited by Ether : 15-04-2011 at 14:34. |
|
#6
|
||||
|
||||
|
Re: paper: 4 wheel independent drive & independent steering ("swerve")
see updated post
Last edited by Ether : 18-04-2011 at 12:10. |
|
#7
|
||||
|
||||
|
Re: paper: 4 wheel independent drive & independent steering ("swerve")
Quote:
Input the vehicle's wheelbase and trackwidth into cells A1 and A2. Input the forward, strafe_right, and rotate_clockwise commands into cells A4, A5, and A6. As a point of interest, note that if you enter FWD=1, STR=0.3, and RCW=0.384, you get Ackermann steering. In fact, for any values of FWD_Ackerman and Turn_Ackermann, if you input Code:
FWD=FWD_Ackermann, STR=Turn_Ackermann*sign(FWD) RCW=STR*sqrt(L^2+W^2)/L Or you can get front-wheel Ackermann steering when going forward and rear-wheel Ackermann steering when backing up if you enter: Code:
FWD=FWD_Ackermann STR=Turn_Ackermann RCW=STR*sign(FWD)*sqrt(L^2+W^2)/L Or you can get "snake" steering (both front and rear wheel steering) if you simply set STR=0 and use: Code:
FWD=FWD_snake RCW=Turn_snake*sign(FWD) Last edited by Ether : 18-04-2011 at 17:12. |
|
#8
|
||||
|
||||
|
Re: paper: 4 wheel independent drive & independent steering ("swerve")
Here's a handy "cheat sheet" for converting Cartesian coodinates to zero to 360 degrees, measured either clockwise or counterclockwise from any of the four quadrantal angles (0, 90, 180, 270): convert Cartesian coordinates to angle Last edited by Ether : 26-04-2011 at 10:28. |
|
#9
|
||||
|
||||
|
Re: paper: 4 wheel independent drive & independent steering ("swerve")
We use a "minimum angle" algorithm to in our swerve code and reverse the drive direction as needed. This works out very well. We code in Labview. 1640 has built 4 wheel independent drive & steering swerve robots for 4 years.
Very clear paper. Thanks. |
|
#10
|
||||
|
||||
|
Quote:
Bruce |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Autonomous Independent | sparks-1784 | NI LabVIEW | 16 | 01-04-2010 09:11 |
| periodic tasks in autonomous independent | Ether | NI LabVIEW | 19 | 31-03-2010 07:15 |
| Autonomous independent-watchdog errors | ewoodring | NI LabVIEW | 2 | 20-03-2010 20:19 |
| RC independent of the OI | ajsetter | Programming | 6 | 30-03-2006 21:44 |
| pic: Chantilly Academy's 4 Wheel Drive 4 Wheel Steering!!!! | jskene | Robot Showcase | 25 | 18-02-2005 20:24 |