Quote:
Originally Posted by Dexterium
If the only issue is that the robot stops behaving correctly after you rotate it then we had a similar problem. All you have to do is reset the gyro and it should be fixed. In order for the reset to be automatic (easier for the driver) we just said: any time the robot rotates, reset the gyro.
|
When both of you say make it easier on the driver, what do you mean?
In your case, if every time you're rotating, you're resetting the gyro, then you're not letting the gyro do what it's meant to. They gyro is meant to switch the mecanum drive from being robot centric to field centric (i.e. driver pushes away the robot drives away, regardless of it's orientation). If you do not like this behavior, just put a 0 into the gyro input on the mecanum, and you'll have a robot centric mecanum. You do not need a gyro on your robot to use the mecanum drive.