Anyone else getting a cannot find symbol error in CommandBase.java when trying to compile the GearsBot sample on the line with registerDefaultCommands ?
public static void init() {
oi = new OI();
Subsystem.registerDefaultCommands();
Just curious if I have something set up incorrectly.
You had it set up perfectly. We made some last minute changes in suggested methods of writing these programs and it didn’t seem to all make it into the samples and docs. So, go ahead and remove that line - that function is done behind the scenes in the scheduler. We’ll have it fixed in the next release as well as getting some of the Cookbook issues updated.