Robot Problems For Electronics

When our robot is deployed with code and enabled the jaguars are displaying the blinking lights. After 2.5 seconds the motors give a jerk and after the robot jerks the jaguars keep blinking. I have replaced the sidecar, the jaguars and the PWM Wires. This issue continues to persist even after we replaced these essential parts. Please help me resolve this issue.

Has this code ever worked? Are you getting any error messages on the diagnostic tab of the driver station? Are you getting watchdog errors?

Sounds kinda like a Watchdog error to me. The lights blink while they aren’t receiving a signal. For example if the cabling is loose/missing, or simply if the robot is disabled. Watchdog errors essentially disable the robot, and thus would cause that blink pattern.

What language did you program in? I suggest trying to debug the code directly on the robot. Java, Windriver, and LabView all have real-time debugging tools. At the very least, you can look at the Diagnostics tab of the driver station application for any Errors printed to the window

I have used this code on another robot and it seemed to work. I also do get watchdog timeout errors.

It is a watchdog error problem but I am not sure how to debug in NI Labview.

How many of the PWM outputs are you using?
While this is happening, what does the Robot Signal Light do?
Are all three of the power LEDs lit on the Digital Sidecar?

You could post your code here on CD so someone else can look it over.

The fastest fix for that problem we have found is to disable all camera code. If that brings back the rest of your functionality, then you can work at adding it back in.

(This is of course a shot in the dark at the problem.)

Better suggestion. You’re at an event with a lot of experienced teams and a CSA. Put out a pit announcement asking for programming help with a Labview Watchdog problem.