YAGSL, Problems with AbsoluteEncoderOffset and CAN errors

Hello, I’ve been having a lot of trouble trying to set the Offsets for wheels. I’ve been editing the .json files for my back left swerve module from 0, 270, 180, 253, and 80; so far none of them have even changed where the wheel is pointing. I have been saving and re-deploying the code each time and have confirmed the abs encoder offset value is being changed in the code but there is still no change with the wheels angle. The link to the github branch is GitHub - 1359Scalawags/2024Robot at VisionDrivetrainExperiment

We are also getting a bunch of CAN errors, not sure if this is related…

We figured it out. We just need to update the firmware on the CANcoders from v5 to v6.

3 Likes

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