|
Re: Mecanum Motors
You could use a linear accelerometer and integrate it over time to get distance. However if you want distance you probably want to use an encoder, but for the basic control of a mecaum bot you don't need distance traveled. What usually makes a mecanum uncontrollable is drifts in rotation because this can cause the bot to swerve to one side or drift in the wrong direction, for this you can integrate a gyro. While this may sound dificult it is easier than programing in interupts (or at least that is what I have always found).
|