|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
GearsBot Sample Compile Error?
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. |
|
#2
|
||||||
|
||||||
|
Re: GearsBot Sample Compile Error?
I see the same thing. I reported this to the WPILib Java tracker here: http://firstforge.wpi.edu/sf/go/artf1430
Last edited by Joe Ross : 09-01-2012 at 13:26. |
|
#3
|
|||
|
|||
|
Re: GearsBot Sample Compile Error?
Quote:
|
|
#4
|
|||
|
|||
|
Re: GearsBot Sample Compile Error?
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.
Brad |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|