strongback / strongback-java

A library for FIRST Robotics Competition robots that makes it easier to write and test your robot code.
MIT License
41 stars 38 forks source link

Typo In Document Example #57

Closed jrutten closed 8 years ago

jrutten commented 8 years ago

https://strongback.gitbooks.io/using-strongback/content/using_commands.html

The 4th example under "Using CommandGroup" is:

public MyForkCommands() {
    sequentially(new CommandA(),
                 new CommandB(),
                 fork(new Command C()),
                 new CommandD());
                 new sequentially( new CommandE(), new CommandF()));
}

The surrounding text implies that E and F commands should be in "simultaneously(...)", not a "new sequentially(...)".

rhauch commented 8 years ago

@jrutten: thanks! It is fixed.