Quote:
Originally Posted by TBots
We have MA3 Miniature Absolute Magnetic Shaft Encoders on each wheel that measures the angle it has been turned...how do we program PID logic for all four? Is it separate for each wheel?
|
I assume since you are talking about a
swerve drive and you have an encoder on each wheel that you want to steer each wheel independently.
If that is the case, then you will need separate angle controller code for each wheel (PID or whatever).