I am having a issue getting our code to run, if anyone could help or point us in the right direction that would be great. The following is the RIO log.
It appears the SDS code is checking to see if a CANCoder is present, and if it can’t find one, it throws an exception. This isn’t good for reliability, as if e.g. you had a single wire loose to your CANCoder, your robot could be dead on the field! So while a “fix” might be to check the wiring of your CANCoder, for more reliable operation you should consider catching that exception and/or modifying swervelib to do something with less severe consequences (e.g. printing a message instead of throwing an exception).
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.