We recently acquired and put together a swerve drive using MK4i modules with Neos and CANCoders. I have begun programming it and ran into my first big issue. When the getAbsolutePosition function is used on the CANCoder object I receive a repeated error of: “CTR: CAN frame not received/too-stale.” The CanCoders are working based on the blinking green lights and when PhoenixTunerX is used I can get the CANCoders position without issue.
Image of the error message on the top right
Image of the Code used to access the CANCoders on the top left
Image of CANCoder Self Test in PhoenixTunerX on bottom