| JamesTerm |
01-02-2016 10:45 |
Re: WCD vs. Swerve
Quote:
Originally Posted by Ether
(Post 1092700)
If the wheel speeds and steering angles are not too far from an inverse kinematic solution, the following computation may be adequate to estimate vehicle behavior:
Code:
FWD = (sFR*cos(aFR)+sFL*cos(aFL)+sRL*cos(aRL)+sRR*cos(aRR))/4;
STR = (sFR*sin(aFR)+sFL*sin(aFL)+sRL*sin(aRL)+sRR*sin(aRR))/4;
omega = ((sFR*cos(atan2(W,L)+pi/2-aFR)+sFL*cos(atan2(-W,L)+pi/2-aFL)
+sRL*cos(atan2(-W,-L)+pi/2-aRL)+sRR*cos(atan2(W,-L)+pi/2-aRR))/4)/
(sqrt(L^2+W^2)/2);
... where:
L and W are wheelbase and trackwidth in inches
sFR, sFL, sRL, and sRR are wheel tangential speeds in feet/second
aFR, aFL, aRL, and aRR are wheel angles in radians clockwise from straight ahead
FWD and STR are vehicle velocity in feet/sec in the forward and strafe_right directions
and omega is the vehicle clockwise rotational velocity in radians/sec
|
Yeah... I realize this thread has been asleep for several years, but for the good of the group... I'd like ask and/or solve these equations (both kinematic and inverse kinematic) for 6 wheels. Where the 4 wheels work as they have before here using the same variables ability to change speed and angle direction, as well as other variables (e.g. wheelbase and trackwidth) as much as possible. But then have 2 extra wheels in the center... for my own requirements, I'd like the width distance between the center wheels to be a bit wider than the corner wheels... this helps minimize friction when it rotates, such a configuration of drive can be observed on say the Mars Curiosity drive, except the center wheels on this are fixed. That said... if it is easy to produce equations for center wheels fixed that would be nice to know, but ideally for the sake of having other 6 wheel drive solutions... if they can swerve as well that would be ideal set of equations to solve. Any feedback will be greatly appreciated... Thanks.
|