FIRST Robotics Competition Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Issues with the FIRST Default Robot Project - Watchdog error issues?

Sorry about the delay everyone. I'm pleased to say that we got it working and it was an electrical issue - the ribbon cable was not viced properly. I think we just got lucky when the board happened to run sporadically. I think we still get the watchdog issue, but it's not actually affecting the drive code. I'll have to see what the diagnostics say at this point exactly, but I appreciate everyone's responses. If everyone would like, I can keep providing the information that I see to figure out the watchdog issue.

0 Kudos
Message 11 of 14
(1,084 Views)

Definitely keep posting updates on the watchdog issue. A couple other teams are running into similar issues with the watchdog that we would like to see. If you are only getting watchdog errors while the driver station is disabled I think that is expected.

Kevin Fort
Principal Software Engineer
NI
0 Kudos
Message 12 of 14
(1,084 Views)

Sorry about the delay. The team has been remounting the motors on our test bot and this was the first opportunity I had to work with the robot after that process. Anyway, the RobotLoop error we were encountering earlier seems to be gone due to the ribbon cable fix. Below is the new error log that we have. The camera issues are irrelevant. We've gotten the camera to work already in another project, so we just need to incorporate it into our main code.Watchdog errors are probably a result of my eagerness to hit the teleop enable before giving the Begin.vi time to initialize everything.

Basically, my thought is that repeated watchdog errors occur when some sort of signal does not reach from the cRIO to the digital sidecar. It'd be a good idea to check that connection.

When I figure out how to attach projects, I'll try to get our current one up.

Watchdog Expiration: System 5, User 2

ERROR <Code> -44003 occurred at WPI_CameraIssue HTTP Request with Authentication.vi>>WPI_CameraIssue Get.vi>>WPI_CameraGet Image Appearance Property.vi>>WPI_CameraGet Enum Sensor Property.vi>>WPI_CameraGet Exposure.vi>>WPI_Camera Registry.vi>>WPI_CameraOpen.vi>>Begin.vi>>Robot Main.vi

<time>00:38:15 01/01/1970

FRC:  Operation failed due to a communication failure with the camera.

ERROR <Code> -44003 occurred at WPI_CameraIssue HTTP Request with Authentication.vi>>WPI_CameraIssue Get.vi>>WPI_CameraGet Image Appearance Property.vi>>WPI_CameraGet Enum Appearance Property.vi>>WPI_CameraGet Image Size.vi>>WPI_Camera Registry.vi>>WPI_CameraOpen.vi>>Begin.vi>>Robot Main.vi

<time>00:38:13 01/01/1970

FRC:  Operation failed due to a communication failure with the camera.

Watchdog Expiration: System 4, User 2

ERROR <Code> -44003 occurred at WPI_CameraIssue HTTP Request with Authentication.vi>>WPI_CameraIssue Get.vi>>WPI_CameraGet Image Appearance Property.vi>>WPI_CameraGet Numeric Sensor Property.vi>>WPI_CameraGet Sharpness.vi>>WPI_Camera Registry.vi>>WPI_CameraOpen.vi>>Begin.vi>>Robot Main.vi

<time>00:38:11 01/01/1970

FRC:  Operation failed due to a communication failure with the camera.

ERROR <Code> -44003 occurred at WPI_CameraIssue HTTP Request with Authentication.vi>>WPI_CameraIssue Get.vi>>WPI_CameraGet Image Appearance Property.vi>>WPI_CameraGet Enum Sensor Property.vi>>WPI_CameraGet White Balance.vi>>WPI_Camera Registry.vi>>WPI_CameraOpen.vi>>Begin.vi>>Robot Main.vi

<time>00:38:09 01/01/1970

FRC:  Operation failed due to a communication failure with the camera.

ERROR <Code> -44003 occurred at WPI_CameraIssue HTTP Request with Authentication.vi>>WPI_CameraIssue Get.vi>>WPI_CameraGet Image Appearance Property.vi>>WPI_CameraGet Color Enable.vi>>WPI_Camera Registry.vi>>WPI_CameraOpen.vi>>Begin.vi>>Robot Main.vi

<time>00:38:05 01/01/1970

FRC:  Operation failed due to a communication failure with the camera.

0 Kudos
Message 13 of 14
(1,084 Views)

I think these watchdog errors are actually a result of teleop not being enabled yet. I wouldn't expect them to create an issue but post back if you do run into problems.

Kevin Fort
Principal Software Engineer
NI
0 Kudos
Message 14 of 14
(1,084 Views)