View Single Post
  #9   Spotlight this post!  
Unread 06-02-2012, 12:38
PlayfulPlatypus PlayfulPlatypus is offline
Registered User
FRC #2655
 
Join Date: Feb 2012
Location: United States
Posts: 3
PlayfulPlatypus is an unknown quantity at this point
Re: View scheduler in SmartDashboard

Upon further experimentation, it appears that the SmartDashboard update on the cRIO side may be causing the watchdog timeouts. I added a couple of SD->PutDouble(...) calls in my drive subsystem whenever the drive motors were being set by either the joysticks or directly by a command. Sometimes this would work, and sometimes it would cause timeouts immediately, and sometimes it would timeout after a CommandGroup finished, but before the default command for the drive subsystem could start. If I remove the calls to SD->PutDouble(...) then the problem goes away, and everything functions normally.

I'm new to FIRST and FRC, so I'm still learning WPILib - is there another good way to log data? I can use the DS LCD, but that gets crowded and cumbersome for debugging. I'm using the NI NetConsole app - can I just log the values so they show up there?

Thanks!
Brian
Team 2655 Programming Mentor
Reply With Quote