Go to Post 30 point hang is brutal. Those who say it is easy are not thinking it through or are way smarter than the rest of us ... - Paul Copioli [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 21-02-2012, 18:10
Bryguy9312 Bryguy9312 is offline
Registered User
FRC #3219
 
Join Date: Jan 2012
Location: Washington
Posts: 2
Bryguy9312 is an unknown quantity at this point
Watchdog Errors In Autonomous

Recently our code developed an issue with our autonomous code. Whenever it runs we get watchdog errors, which we think are due to drive waits in sequences. The code will run occassionally, but most of the time the robot just sits there and spouts out errors. Anyone know how we can fix this?
Reply With Quote
  #2   Spotlight this post!  
Unread 21-02-2012, 18:46
DominickC DominickC is offline
Registered User
FRC #0023 (PNTA)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 1620
Location: Boston
Posts: 435
DominickC is an unknown quantity at this point
Re: Watchdog Errors In Autonomous

Could you post your code so we can try to help?
Reply With Quote
  #3   Spotlight this post!  
Unread 23-02-2012, 09:51
tilky's Avatar
tilky tilky is offline
Registered User
AKA: Ryan Thielke
FRC #3137
Team Role: Programmer
 
Join Date: Nov 2011
Rookie Year: 2011
Location: Connetquot
Posts: 188
tilky is an unknown quantity at this point
Re: Watchdog Errors In Autonomous

try tethering the robot. At our shop, there is too much wifi and it comes up with the errors at the same time the communicatin keep coming and going.
Reply With Quote
  #4   Spotlight this post!  
Unread 23-02-2012, 09:57
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,748
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Watchdog Errors In Autonomous

If you have code that sets the motor speed, then wait more than 100ms, then change the motor speed, you will trigger the Safety Config since your code is not updating the motor very often.

Your choices are to disable the Safety Config at the beginning of the auto period, or to change the waits to be wait and set to same value. Either should get rid of the Safety override.

Greg McKaskle
Reply With Quote
Reply


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 08:44.

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