View Single Post
  #3   Spotlight this post!  
Unread 04-05-2016, 04:43 PM
Wyspar Wyspar is offline
Registered User
FRC #5132 (RoboClovers)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2015
Location: żDe donde eres?
Posts: 20
Wyspar is an unknown quantity at this point
Re: What does SendableChooser.GetSelected() return as?

I knew already it didn't work, so that's why I was asking. And I found the solution anyways

autoSelected = *((std::string*)chooser->GetSelected());

if(autoSelected == autoNameCustom){
//Custom Auto goes here
} else {
//Default Auto goes here
}
Reply With Quote