SendableChooser Usage - FRC7540/TimberwolfRobotics2020 GitHub Wiki
SendableChooser is a tool for presenting and getting selection options inside of the Smart Dashboard.
SendableChooser()
To Initialize the Sendable object, use the code
initSendable(SendableBuilder builder)
To add options, use the code
addOption(String name, V object)
To close it, use
close()
To set a Default Option to the chooser, use
setDefaultOption(String name, V object)
To get the selected option from the dash, use
getSelected()
For further details on each specific function, go to the link below
Source
Gary Time