Our team thinks that using commands is overkill for autonomous. We are trying to have SendableChooser take an int instead of a command? We are having problems having the code loaded to robot. Everything else except choosing the routine works. Is it possible for Sendable Chooser to use an int, since it takes in a T template? Thanks in advance.
Operating System: Linux Mint.
Programming Language: C++
Code in Question:
autoChooser->AddDefault("Do nothing (Default)", 0);
autoChooser->AddObject("Drive", 1);
autoChooser->AddObject("Shoot", 2);
(P.S) This is my first post, so please give me feedback unlike the RoboRio when I deploy.
