2023 to 2024 Code Updates

Hello,
I am a member of a college team in a NASA robotics competition, wherein we use the FRC ecosystem. With the new FRC season starting up, we are attempting to update our codebase from 2023 to 2024. We are having some trouble however with implementing some new libraries.

We previously used the follow function under REVLibError, for our motors in one of our mechanisms. With this now updated, I am struggling to find what to replace this with. On the documentation it says to use CANSparkBase, however, upon changing it to that it still is not working as hoped. Below is the implementation:
Follow

If anyone could please provide any assistance or insight onto how to fix these issues, it would be greatly appreciated.

When updating WPILIB to 2024, did you also update the corresponding libraries to their 2024 versions(most of them haven’t been released yet)

If you don’t need to update to 2024 at this point for your competition, I would recommend not doing so for at least a month.

1 Like

Makes sense. Thank you very much for the advice!

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