|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#4
|
|||
|
|||
|
Re: Autonomous chooser not working when connected to the field
Thinking about adding the line
Code:
public void autonomousIntit () {
autonomousCommand = (Command) autonomousChooser.getSelected ();
// *******Add this******
if (autonomousCommand == null) {
autonomousCommand = new Auto_00_ReachEdgeOfObstical();
// now the normal
if (autonomousCommand != null) autonomousCommand.start ();
}
|
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|