Trying to run the tutorial ramsete command from frc. We’re using falcon 500s, and its throwing these two errors:
ERROR -3 CTR: CAN frame not received/too-stale. Talon FX 1 GetActiveTrajectoryVelocity
ERROR -3 CTR: CAN frame not received/too-stale. Talon FX 2 GetActiveTrajectoryVelocity
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.
I was thinking it was wheelSpeed. There was old bug in the code that I saw after taking a break (the * 10 thing). With the bug fix and your recommendation, it makes a lot more sense. Thanks for taking the time to look and providing some valuable advice (and saving us a lot of time!). We’ll give it a try tomorrow.