|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: Mecanum Drive control
Quote:
![]() ... freely spin, which allows a robot to strafe, but results in inconsistent data when used with an encoder. |
|
#2
|
|||
|
|||
|
Re: Mecanum Drive control
Quote:
Code:
FWD = r*(w1+w2+w3+w4)/4 STR = r*(w1-w2+w3-w4)/4 Wv = (1/k)*(w1+w2-w3-w4)/4 r is wheel radius k is |trackwidth/2| + |wheelbase/2| w1,w2,w3,w4 are FL,BL,BR,&FR wheel speeds in rads/sec Wv is robot clockwise rotation rate in radians per second are you arguing that the velocity vector created by a mecanum wheel spinning at a constant velocity is not constant or predictable, therefore that equation provides an unreliable estimate of robot position? |
|
#3
|
||||
|
||||
|
Re: Mecanum Drive control
Quote:
If you show me an example of you consistently driving a set distance and/or turning a certain amount without a gyroscope, only with encoders then I will accept that mecanums can be well controlled with encoders. However, based on the mechanical nature of mecanum wheels, such motion cannot practically be controlled. |
|
#4
|
||||
|
||||
|
Re: Mecanum Drive control
Yes, that is what I'm saying. The force vectors are not reliable in practice, only in theory. The variable "rolling" of the rollers causes this effect. Because those force vectors change (not only in magnitude, but also in direction) you simply cannot achieve precise motion control of a robot running on mecanums.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|