View Single Post
  #3   Spotlight this post!  
Unread 01-13-2016, 03:30 PM
King Nerd III's Avatar
King Nerd III King Nerd III is offline
Chief Programmer/Head of Autonomous
AKA: Isaac
FRC #1410 (The Kraken)
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2014
Location: Denver, CO
Posts: 113
King Nerd III is an unknown quantity at this point
Re: Preferences for Robot Through SmartDashboard

Quote:
Originally Posted by euhlmann View Post
From what I understand, there is only one instance of Preferences which you can access through Preferences->GetInstance()
Why do you need multiple preference objects? You can add an arbitrary number of values to the single instance.
Sorry for the long pause in the posting here, but yes, I figured it out. I have to create an object in each subsystem to use it. So far the Preferences has been really nice to use.
__________________
Isaac
Chief of Programming and Head of Autonomous Control
FRC Team 1410
Reply With Quote