Go to Post When in doubt, ask... don't assume (unless you don't mind wasting time/money). - Bill Gold [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
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
  #8   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
 


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 11:33.

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