View Single Post
  #3   Spotlight this post!  
Unread 18-03-2013, 16:17
slibert slibert is offline
Software Mentor
AKA: Scott Libert
FRC #2465 (Kauaibots)
Team Role: Mentor
 
Join Date: Oct 2011
Rookie Year: 2005
Location: Kauai, Hawaii
Posts: 347
slibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud of
Re: Crio C++ Preferences -> How to See/Edit these values in the Smart Dashboard

Thanks, Joe.

So w/the code shown above, do you think this sequence should work?

A) Start robot (runs above code).
B) In SmartDashboard, in Preferences widget, add a variable w/same name as declared in the code above.
C) Then, press SAVE.
D) Then, reboot robot, restart smart dashboard, and the value should show up in the Preferences widget.

I ask this nit-picky question because when we tested it, we performed all of these steps - except B. Instead, we performed A, C and D. Our assumption was that the robot code's default values would get saved when "SAVE" was pressed in the widget, but that appears not to be the case.
Reply With Quote