Flowcharts
Swerve Drive Diagram
Things to note
Older gyroscope's like the Pigeon 1 and NavX 1 experience drift the longer they are on. Consider rebooting or zeroing your gyroscope at the start of your program.
Swerve Modules
Swerve modules spinning "out of control"
Swerve Module does not spin correctly.
I will add a flow chart for this later but essentially its.
Are the CAN ID's, motor types, and absolute encoder types correct?
Are the module locations correct?
Do you use an absolute magnetic encoder
Did you loctite your magnet in
Do you have a good (green LED normally) reading on the magnet.
Did you set the absolute encoder offset while the wheels had the bevel facing the left and wheels straight front to back.
Did you check When to invert? for inversion states?
Did you tune your PID?
Swerve Drive "spins out of control"
Last updated