We are running the MK3 Swerve Drive modules with 4 CANcoders, but when when we deploy the code it crashes on startup. All of the CAN ids are set accurately and it seems to error when the code creates the encoder object. Any ideas why this would occur?
Did you build your code first? With an available network connection?
Usually the first time you reference a library or package it needs to be built with internet updates.
You’re using an outdated vendor library for CTRE. You need to update the vendordep to their 2022 release.
2 Likes
Yes, the code builds fine with a network connection. The same error occurs with the libraries in the code or referenced in the vendordeps folder.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.