|
Re: SendableChooser changes and errors
Joe - thanks for the pointer. I'll take a look at it working with an object instead of a int, but that seems a bug to me if it only works with objects. As for your statement about overkill ... this is being used for picking an autonomous 'mode' prior to match start ... how can you utilize SmartDashboard to do that? I don't see any way to choose from a list or a set of radio buttons or just buttons to do that.
Euhlmann - while I understand the error notes the different types, this is a template class now and as such, looking at the definition of GetSelected() shows that the type "T" of the template is used as the return type for that function. I templated it with <int> and yet the return of GetSelected() isn't returning that int.
roboBob
__________________
~~~~~~~~~~~~~~~~~~~
Bob Wolff - Software from the old-school
Mentor / C / C++ guy
Team 1967 - The Janksters - San Jose, CA
|