FtcRobotController
FtcRobotController copied to clipboard
Inner classes cannot be ran as OpModes
For whatever reason, inner classes of any form cannot be run as an OpMode, even when public and properly annotated. If you try, it will simply fail silently within the Driver Station and put the error "Unable to start OpMode [name]" in the console. This doesn't strike me as particularly intentional behavior given the silent failure and the fact this limitation isn't documented anywhere, but if it is I think the error message should be improved to be more specific (similarly to how it would fail if, say, you annotated a class that didn't extend LinearOpMode).