You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Commands and Command Groups should be used to control the actions of Pacman. A new Command should extend CommandBase and implement the following methods.
void initialize()
Called once when the command is first scheduled
void execute()
Call repeatedly until isFinished() returns true
boolean isFinished()
Called repeatedly to determine if the Command is done and the system can move on to the next command
CommandGroups define the sequence the commands are executed in. RoboPacman currently only supports sequential processing.
public AutoGroup() {
addSequential(new Turn(-90));
addSequential(new DriveStraight(500));
}