Go to Post A few years of stress is worth a lifetime of opportunity. - omegasis25 [more]
Home
Go Back   Chief Delphi > Technical > Programming > Python
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
  #1   Spotlight this post!  
Unread 09-02-2016, 20:08
Ganda1f Ganda1f is offline
Registered User
FRC #0074
 
Join Date: Feb 2015
Location: Holland, MI
Posts: 1
Ganda1f is an unknown quantity at this point
Watchdog Function Not Functioning

Greetings!

We're with Team 74 C.H.A.O.S., and this year we have decided to switch from using LabVIEW to Python. It's been a little bit bumpy, but for the most part, all is well.
We're having an issue whenever we enable teleop, and both the Driver Station and our Simulator is saying the following:
"Output not updated often enough."
We did some research, and discovered the idea of a "Watchdog" function. However, we couldn't find this function anywhere in the wpilib. The closest thing that we found was the "feed" function, along with the setEnableSafety and the setExpiration function. At first, we tried using setExpiration in conjunction with the feed function, but we continued to have the "Output not updated often enough." issue.
In the end, we gave up, and tried to disable this option by doing the following:
"self.lfmotor.setEnableSafety(False)", where lfmotor is one of our respective motors.
AND STIll, we had the updating issue.

Any help would be greatly appreciated!

Thanks,

Will
Team 74 C.H.A.O.S.
Reply With Quote
 


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 06:25.

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