|
Problems with the watchdog (I think)
Hello, we are having some problems with getting our code to work. At first, whenever we put the robot into enabled mode, it would immediately say watchdog not fed. The thing is, we are feeding the watch dog. I commented out the camera related code, which helped a lot, but consistently, about 2 minutes after the robot is turned on, it dies to the watch dog. I have the watch dog set to 100ms time out, which seems like plenty of time, especially considering that we don't have much code yet. All we have is a bit of camera initialization (which I commented out anyway) and the code to control the mecanum wheels.
I have resolved the problem if I comment out all code except the feed statement, so I'm confident that that is working.
Anyways, does anyone have any idea what could because the watch dog to trigger? I also tried setting the time out up to 1000 which had no effect so I'm a little confused.
|