|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
What does SendableChooser.GetSelected() return as?
http://first.wpi.edu/FRC/roborio/rel...leChooser.html
The library says it returns as a void pointer, but what does that information return like? Does it return the name of the option that is put in with this, autoChooser.AddObject("Lowbar Auto", new Auto); "Lowbar Auto" is the name of the option, and can I use it in an if statement like, if (autoChooser.GetSelected() == "Lowbar Auto") { //Stuff for lowbar auto } |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|