Swerve drive kinematics. Normalize wheel speeds says it is undefined

This is our first year with swerve trying to get it work smoothly. This swerve drive kinematics says that it is undefined.
Any ideas ?

Can you link your code via github?

Are you looking for desaturateWheelSpeeds?

2 Likes

I am not sure I got the code from the video 0 to autonomous.

Tried it but still won’t run smoothly

Check the comments of that video. Some of the code no longer works due to a WPILib update changing how a few of the functions behave.

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.