![]() |
"Output not updated often enough" Error
Code:
package edu.wpi.first.wpilibj.templates;Is there a way we can modify the delay time it requires or is the only option to set setSafteyEnabled to false? |
Re: "Output not updated often enough" Error
Our team is having the same error. Does anyone have a solution?
|
Re: "Output not updated often enough" Error
We are also seeing this same message. Any suggestions?
|
Re: "Output not updated often enough" Error
First of all create a DriverStationLCD object then to lcd.updateDisplay(); or something like that but when you are going to be running the code not in live debugging, its not going to show any of those messages.
And even though your not printing anything to the driver station they still like it when you update the display... |
Re: "Output not updated often enough" Error
I have seen the same error. We no longer have the problem for now. Try checking your network settings, firewall is OFF, electronics is plugged in correctly, battery is charged enough, cRIO slots are in standard order.
Try setting your watchdog to enabled and stop feeding it. The problem could be that the watchdog has nothing to feed off of. Tell me if my suggestions have helped or not. I wish you all of the best of luck and reply if this helped or not. Happy competition! |
Re: "Output not updated often enough" Error
Your code looks fine to me, but a few comments:
- Using Iterative robot, there is no need to intentionally feed the watchdog in your own code, as it is done in the IterativeRobot class. - Turning off motor safety is probably not in your team's best interests. - Are you seeing this message once at start of teleop, at a certain point (like after moving the joystick), or constantly? |
Re: "Output not updated often enough" Error
I experimented with this some more this afternoon and see a good workaround without compromising safety.
Edit WPILIB MotorSafety.java line 15 to be Code:
public static final double DEFAULT_SAFETY_EXPIRATION = 0.5;The slight increase in time won't compromise the built in safety. This timeout can cause motor output to pulse, which will increase the motor temperature and you won't be running at top speeds. |
Re: "Output not updated often enough" Error
Quote:
|
Re: "Output not updated often enough" Error
Quote:
What makes the RobotDrive potentially dangerous is that under some programming circumstances, the robot can drive uncontrollably from lack of providing new driving instructions. I believe its goal was to help teams avoid recreating the wheel on implementing a tank or arcade drive, but the developers threw in some safety considerations also. |
| All times are GMT -5. The time now is 08:55 AM. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi