Ganda1f
09-02-2016, 20:08
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.
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.