EasyStack Docs

Group Commands

#Commands Groups

Reminder: All the commands seen below are managed in milliseconds, the only one that works with a different measure is the TrapezoidCommand (explained below) that works in seconds

Is important to know that all of the commands compositions of this library can be nested one inside another, which means that you could nest a sequential group inside a parallel group.

Sequential

This group of commands are executed one after another, if you have a list of 3 commands, first goes the command A, later de command B and lastly the command C.

Disclaimer: If the current command interrupted, only that command gets end(true)

Parallel

This type of group of commands all are executed simultaneously and ending when all the commands finished, if you have three commands all run at the same time!

This makes it possible to reduce the number of steps the robot needs to take, and, above all, to shorten cycle times.

Race

This type of composition is similar to parallel compositions, but the difference between them is the condition to end, in this one, the composition finishes when any of the commands finished before the others.

For example, if you are running three commands at the same time, in race if the command A is already finished, automatically the commands B and C are interrupted.

Deadline

In here you defined one of your group of commands as the “deadline” of the compositions, once the deadline command is finished, the other commands are interrupted

#Beginner Shortcut

Just starting? A Routine writes the same sequence as a simple list of steps, with no classes to remember. See the Routine tab at the beginning of Commands.

Last updated 2026-11-16

EasyStack - FTC Java library

This site records page views of visitors to understand how the documentation is used. Nothing is sold or shared with third parties.