Quote:
If we convert this into the translated syntax you'll come up with this.
Code:
[2|1]
[3]
[4]
What you'll notice is that 1 will only execute as only as 2 executes. If 2 finishes, 1 also finishes, even if it's not done.
|
Looking at the source code for CommandGroups I do not believe this is the case. Command 1 will run until another command that requires the same subsystem interrupts it or it finishes on its own.
Quote:
So when you are implementing a series of parallel commands in a command group they need to be followed by the sequential command which acts as the control for the command.
Code:
addParrallel(1);
addParrallel(2);
addSequential(3);
In this case the command group will run until 3 finishes.
|
I also do not believe this is the case. The CommandGroup will not finish until all commands it contains are finished.