Go to Post Someone once said, "I know what finished is, and I know what a robot is, but what is this finished robot you speak of?" - EricH [more]
Home
Go Back   Chief Delphi > Technical > IT / Communications
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Spotlight this post!  
Unread 16-02-2014, 20:24
simpsonboy77 simpsonboy77 is offline
Registered User
AKA: Garrett Dicken
FRC #0041 (RoboWarriors)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2005
Location: New Jersey
Posts: 87
simpsonboy77 has a reputation beyond reputesimpsonboy77 has a reputation beyond reputesimpsonboy77 has a reputation beyond reputesimpsonboy77 has a reputation beyond reputesimpsonboy77 has a reputation beyond reputesimpsonboy77 has a reputation beyond reputesimpsonboy77 has a reputation beyond reputesimpsonboy77 has a reputation beyond reputesimpsonboy77 has a reputation beyond reputesimpsonboy77 has a reputation beyond reputesimpsonboy77 has a reputation beyond repute
Re: Router Issue? (Watchdog not Feed)

Quote:
Originally Posted by bvisness View Post
The "watchdog" on the robot is simply checking for new inputs from the driver station while the robot is running. If the code lags or you lose connection so that new inputs can't be sent, the "watchdog" isn't "fed" new inputs, and it automatically stops the robot's movement. This is a basic safety feature to ensure that the robot doesn't keep driving and kill someone if you lose connection.

The way to improve the problem? Just fix your communications, like you did, and make sure that your code isn't slowing down to the point where it can't get new inputs often enough.
This is just wrong. No answer is better than a wrong answer. The watchdog has nothing to do with network communication.

The watchdog will stop all outputs from the cRio when the watchdog is not fed. You put feed statements in your program to inform the cRio that your user code is still running and isn't hung up in a loop. Either the set expiration was set too low, or you have a slow loop somewhere. Set expiration is basically setting the amount of maximum amount of time you want to allow between 2 feeds without disabling the robot.
__________________
2013 - Present MAR Control System Adviser and FTAA
2009 - Present Programming an Electrical Mentor Team 41
2005 - 2008 Team 41 Programmer
2008 NYC Regional Winner
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 04:38.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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