View Single Post
  #14   Spotlight this post!  
Unread 08-02-2012, 18:36
SpikeyBot293's Avatar
SpikeyBot293 SpikeyBot293 is offline
Registered User
AKA: Liz Tarantino
FRC #0293 (S.P.I.K.E.)
Team Role: Leadership
 
Join Date: Jan 2012
Rookie Year: 2008
Location: Hopewell
Posts: 6
SpikeyBot293 is an unknown quantity at this point
Re: View scheduler in SmartDashboard

Quote:
Originally Posted by Sunstroke View Post
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.
Thank you so much; this really helps. This may be a stupid question, but where exactly would you hand in the string? When you initialize the Subsystem with the SmartDashboard or when you initialize the Command itself?
__________________
Owen's Problem is....

EVERYTHING.
Reply With Quote