View Single Post
  #2   Spotlight this post!  
Unread 23-02-2016, 07:04
weaversam8 weaversam8 is offline
Team Captain
AKA: Sam Weaver
FRC #4534 (Wired Wizards)
Team Role: Leadership
 
Join Date: Jan 2014
Rookie Year: 2014
Location: Wilmington, North Carolina
Posts: 134
weaversam8 is a splendid one to beholdweaversam8 is a splendid one to beholdweaversam8 is a splendid one to beholdweaversam8 is a splendid one to beholdweaversam8 is a splendid one to beholdweaversam8 is a splendid one to behold
The error "Robot Drive... Output not updated often enough." signifies that the robot is expecting to receive joystick values frequently, and is not. This is a safety measure to ensure that if a joystick fails for some reason, the robot knows about it.

This is probably happening because you have sent the signal to the drivetrain once when the button is pressed, and then you do not keep sending it signals. The drivetrain has a method around this: if you call the method "setSafetyEnabled" and pass it a value of false, it will no longer check for this constant input, which can be useful for autonomous. Be advised, however, that the robot will also not zero the outputs if a joystick fails... I suggest you only disable the safety during autonomous routines, and reenable it when you're done.
__________________
ORB Haow!