Error an then the robot stops

[CAN SPARK] IDs: 3, 4, 5, 6, 7, 8, timed out while waiting for Periodic Status 2

i dont know exactly what this mean or if even has something related.
other thing that ocours too is the folowing error:
“Internal issue with print and error tags”

This is usually indicative of a break somewhere along the CAN bus. Basically, you have a bad electrical connection somewhere.

do you think that this forces a stop in the robot ?

I have no idea what youre using those CAN IDs for, but yes, if the roborio (therefore your code) is unable to communicate with the sparkmax, then it would indeed stop moving

i’m sorry for doesnt explain: i have 8 motors for my swerve modules, and they are in pairs (1,2 ; 3,4; …) the odd numbers are for turning and the even numbers for driving. but i think it is strange, because the motors 1 and 2 dont generate this error. And at now i have only the swerve motors in CAN in the robot (actually i have 4 cancoders and a pigeon, but they are from CTRE, so the can ids is diffrent)

What order are the devices on your CAN bus, starting from the roborio?

i cant remember exactly, but is probably
roboRIO
spark 1,
spark 2,
cancoder 2,
spark 3 ,
spark 4,
cancoder 1
pigeon 5,
spark 5,
spark 6,
cancoder 4 ,
spark 7,
spark 8,
cancoder 3
PDH

Okay, assuming that’s the case, your break is somewhere between spark 2 and spark 3. CanCoders and the Pigeon are CTRE devices, so they won’t show up in the REV error message. You can try to narrow it down by opening up the Phoenix Tuner app and seeing what devices show up (i.e. none == between spark 2 and cancoder 2, just cancoder2 == between cancoder 2 and spark 3). Then it’s just a matter of inspecting the electrical wiring to see what the break may be. Could be connectors, could be solder joints, could be internal to the cancoder (I’ve heard a few reports of cold solder joints that break on the CAN connections).

1 Like

the thing is that the robot works, but sometimes it has this error and only disables teleop(probably it loses comunication for some miliseconds idk) and then i can enable it again

so if i look in the phoenix tuner, it will apear every component.

and this started to happen recently, after a set up all the can buses.
at first, the error showed only that the 7 and 8 sparks were timed out, but after, all of the listed above

Also check your CAN bus utilization, although I agree that the primary/only issue is probably wiring. You can have intermittent wiring faults, or even wiring issues where things partially work. See if you still see all the devices in REV Hardware Client while you wiggle the CAN wires.

1 Like

i worked around the can buses an then the error was gone, but the roobot kept turning off. i saw that the comunications indicator in driver station blink for 0,1 second in red, probably loosing comunication with the radio.
i checked every cable that conects to the radio (RIO to RPM, RPM to radio and power cables). i even changed the radio and didnt work. i dont think it is a cable problem because nothing hapens even if i wiggle the cables a lot on terminals, the error only appears when teleop is on and i’m moving the robot.
dont think is battery voltage too, i changed the battery three times

This is a known issue. It’s being tracked. Unfortunately no fix for it yet. There are suggestions in the issue tracking.

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