View Single Post
  #1   Spotlight this post!  
Unread 10-02-2012, 23:28
Chiller Chiller is offline
Registered User
AKA: Connor Christie
FRC #4095 (RoXI Robotics)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Wisconsin
Posts: 118
Chiller is on a distinguished road
Re: "Output not updated often enough" Error

Quote:
Originally Posted by TravSatEE View Post
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;
And then rebuild the WPILIB project.

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.
You could also just do setSafetyEnabled to false...
Reply With Quote