I’m one of the mentors for the team having the issue mentioned above so adding a few more details. Outside of path following, the drivetrain functions as expected (encoders are good, etc). The issue occurs just when trying to execute a simple Ramsete command found in https://github.com/SOTACyberdragons/frc-robot-2022/blob/main/src/main/java/frc/robot/RobotContainer.java.
Talon 1 and 2 are masters, with 0 following to 1 and 3 following 2. Asides from the error message, we’re getting a lot of what appears to be jitter on the drive train; are we voltage starving the motors or is it packet drops?. The graphs in Phoenix Tuner look good in that we’re getting consistent feedback on the CAN bus from the devices in question.
Like most teams, we’ve had a lot of brain drain, but the platform we’re doing development testing on is our old 2020 bot, so it should be sound hardware-wise. How to work with Falcons properly, that’s another story ;). I suspect it’s a bad configuration or constraint settings when we configure the motors in drivetrain class. It doesn’t help that the issue is so domain-specific that there’s very little Google picks up to at least point us in the right direction.