Cosine Compensation
This is helpful, sometimes
How Cosine Compensation works?
Cosine compensation scales the speed of your wheel by the cosine of the angle delta of the swerve module.
How do I enable it?
Cosine compensation does not work in simulation and is inteded for use on the robot ONLY! Please test it thoroughly before deciding to use it in competition.
Cosine compensation is easy to enable! All it takes is the funciton SwerveDrive.setCosineCompensator
!
Last updated