Why are our Falcon motors Spark Maxs motors not meshing well all on the same CAN

When our robot is enabled, we are loosing code after around 5 seconds. The code deploys and builds without any errors. Without any sparks, our robot can drive with the falcon motors. Any help on how to solve it?

Can you explain what you mean by loosing code? Does this happen after 5 seconds if you don’t do anything, or only after doing something (like enabling the robot or pushing a button)? Is anything printed in riolog or the driver station log viewer?

When we enable the robot it will lose code after about 5 seconds and then it takes about another 5 second and the code is back. And once you enable again the process continues. Looking at the lights on the driver station. And it’s not showing any errors.

This sounds like your code is crashing over and over.

2 Likes

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