|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#2
|
|||||
|
|||||
|
Re: Use of SmartDashboard::GetString()
I'm going to warn you up front; I don't use C++, I use Java. That being said, I believe the correct way to get your string would be "autoMode = SmartDashboard::GetString("Auto", "Default");". The first argument is the key you are reading from (on SmartDashboard it should be the title next to the text field) and the second argument is the default that will be used if there is no data.
|
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|