View Single Post
  #13   Spotlight this post!  
Unread 08-02-2012, 17:55
Sunstroke Sunstroke is offline
Programmer
AKA: Joe Grinstead
FRC #3504 (Girls of Steel)
Team Role: Mentor
 
Join Date: Apr 2009
Rookie Year: 2009
Location: New England
Posts: 49
Sunstroke is an unknown quantity at this point
Re: View scheduler in SmartDashboard

Quote:
Originally Posted by SpikeyBot293 View Post
Hey all,

We're getting similar errors, the whole "Network Tables" and watchdog problem with the scheduler. However, whenever we send Subsystem data to the dashboard, so that we can read what commands are running, the textbox displays the word "Command" followed by a string of random numbers and letters. Are these problems related? Or is there something just drastically wrong with our code? Any answers will be greatly appreciated!
When you put a Subsystem in SmartDashboard, it will pop-up with a text box saying the name of the command that is running.

In Java, the command is given a name automatically (using reflection). You can't do this in c++, so the commands are given "Command:" and then the pointer number as a name.

If you want to give your commands readable names, just hand in a string with the name when you initialize them.
Reply With Quote