Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Java (http://www.chiefdelphi.com/forums/forumdisplay.php?f=184)
-   -   Unable to get Atonomus to run (http://www.chiefdelphi.com/forums/showthread.php?t=155072)

caljames 10-02-2017 20:27

Unable to get Atonomus to run
 
Getting an error code of "Watch dog not Feed"? Any idea what that means?
We cannot find anything on it.
Thanks

rich2202 11-02-2017 04:40

Re: Unable to get Atonomus to run
 
It is a safety thing. It makes sure your code has not crashed.

At the beginning or end of each autonomus.periodic and teleop.periodic, you feed the watchdog.
GetWatchdog.Feed();

Or you can disable it.
getWatchdog.setEnabled(false);

If you are already doing that, make sure you have the most recent:
1) Roborio Firmware
2) Driver Station version
3) radio firmware

sometimes a connection problem can cause it.

caljames 11-02-2017 06:51

Re: Unable to get Atonomus to run
 
Thank you!! We will try your suggestions and let you know.

caljames 11-02-2017 10:51

Re: Unable to get Atonomus to run
 
Good Morning Rich,
Our robot will work in tele-op, but will not work Autonomous.
We tried each of your suggestions, but Eclipse does not recognizes what Watchdog is?
Thanks,

IamCshort 11-02-2017 11:02

Re: Unable to get Atonomus to run
 
Try the the "setSafetyEnabled" using the robot drive "chassis.setSafetyEnabled(false)" return false so the safety is off. Sorry if I could not help. Also ( make sure you dont use the name chassis it was just an example use the name of your RobotDrive you created)

caljames 11-02-2017 11:40

Re: Unable to get Atonomus to run
 
Thank you both for all the help, but we managed to fix our problem by changing autonomousPeriodic to autonomous in our code due to recent changes that we were not informed of.

Have a good build and tournaments


All times are GMT -5. The time now is 20:19.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi