View Full Version : Help! Robot Throwing Exceptions
Fadedlite
09-02-2013, 22:17
Our robot is throwing exceptions. Please Help!
Here's a picture of the output (http://www.youtube.com/watch?v=87FPxrvR2so).
Kevin Sevcik
09-02-2013, 22:25
As usual with this problem, you're not planning properly and bracketing your robot with a try-catch structure. Luckily, the official playing arena provides a robust try-catch structure for all robots on the field. I predict that you'll see many fewer uncaught exceptions once you get your robot onto the field.
EDIT:In the mean time, I would suggest applying a more dynamic approach to catching your exceptions. Look around a bit and you should be able to find a good method for catching exceptions in a wide variety of situations. (http://www.youtube.com/watch?NR=1&v=O-ziOPzsBHk&feature=fvwp)
Alan Anderson
10-02-2013, 16:52
I think Kevin is suggesting enabling the watchdog.
vBulletin® v3.6.4, Copyright ©2000-2017, Jelsoft Enterprises Ltd.