You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because of the way swerve modules are designed, the rotation of a module's turn motor affects the rotation of a drive motor. This is negligible for control, but affects wheel odometry.
For a typical swerve module, the azimuth turn motor also drives the wheel a nontrivial amount, which affects the accuracy of odometry and control. This ratio represents the number of rotations of the drive motor caused by a rotation of the azimuth.
For an implementation, see ctre swerve. This should be done in our SwerveModule class, since it applies to all max swerve modules.
The text was updated successfully, but these errors were encountered:
Because of the way swerve modules are designed, the rotation of a module's turn motor affects the rotation of a drive motor. This is negligible for control, but affects wheel odometry.
From ctre swerve code
For an implementation, see ctre swerve. This should be done in our
SwerveModule
class, since it applies to all max swerve modules.The text was updated successfully, but these errors were encountered: