![]() |
Status driver station issue
On the driver station when teleoperated mode is enabled.. the robot moves.. but in the status where you see "No robot communication... Teleporated mode enabled.. etc" the words Watchdog not fed and teleoperated enabled flash back and forth but the robot is still running so I'm confused....we used thread.yield a lot is this the issue or?
|
Re: Status driver station issue
If you are feeding the watchdog, but not feeding as often as you said you would, you'll get this behavior. I'd inspect the code to see how often and for how long your yields are delaying the code. Certain routines such as Teleop need to return quickly or they will cause you to miss joystick packets. If these are OK, look to either feed more often or adjust the period so that it doesn't expect to be fed any more often.
Remember. The user watchdog helps you know when your code isn't running as often as you thought it would, and gives it a way to fail safely when certain mistakes are made such as crashing or infinite loops. Greg McKaskle |
Re: Status driver station issue
Isnt there a new update released that is suppose to help rid this watchdog error? http://digital.ni.com/public.nsf/web...D?OpenDocument
|
Re: Status driver station issue
Quote:
Here's our code... if anyone's intersted Code:
/*----------------------------------------------------------------------------*/ |
| All times are GMT -5. The time now is 20:35. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi