![]() |
Help! Robot Throwing Exceptions
Our robot is throwing exceptions. Please Help!
Here's a picture of the output. |
Re: Help! Robot Throwing Exceptions
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. |
Re: Help! Robot Throwing Exceptions
I think Kevin is suggesting enabling the watchdog.
|
| All times are GMT -5. The time now is 02:12. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi