View Single Post
  #3   Spotlight this post!  
Unread 02-19-2016, 06:49 PM
AtomicBrawlers's Avatar
AtomicBrawlers AtomicBrawlers is offline
Registered User
FRC #5401
 
Join Date: Feb 2016
Location: Bensalem
Posts: 4
AtomicBrawlers is an unknown quantity at this point
Re: Getting commands to work with SFX SmartDashboard

Quote:
Originally Posted by byteit101 View Post
Commands are special types, meant for command-based systems. You can't just convert an arbitrary bool value to one. If you create the following keys for a system named "varname" you can use it arbitrarily:
varname/~TYPE~ = "Command"
varname/name = "Varname System"
varname/running = true/false

On grouping containers, you can set a name. If you set it as passthrough, it will ignore the group's name. If you set it as nested, children with names that start with / will ignore the name, while children that don't start with / will have the group's name prepended to theirs, so a group of "x" with a child of "y" will look at network tables path "/x/y". ForceNested always prepends the path. It exists so large heirarchys are not a huge burden to manage and are reusable.
Yeah so thanks a ton, seriously. But at the same time, neither I nor anyone on my team understood that. The programming mentor on the team couldn't wrap his head around it either. Our C++ is a little rough and this is our second year of competition (my first year).

Thanks for the effort to try and help, but would it be possible to simplify it at all? It honestly just went right over our heads. We don't use LabView and are strictly a C++ team. Thanks in advance.
Reply With Quote