Package 

Class DynamicNestedCommand


  • 
    public class DynamicNestedCommand
    extends Command
                        

    Command for checking dynamic conditions on external systems.

    These conditions can be changed in the gamepad state, environment or robot subsystems.

    • Method Summary

      Modifier and Type Method Description
      Command.State getState() Gets the current command state.
      boolean getIsRunnable() Gets a value indicating whether or not command is supposed to execute based on its start condition.
      void periodic() Command periodic code while the command is running.
      boolean getIsCompleted() Gets a value indicating whether or not command execution is completed.
      • Methods inherited from class com.automaducks.pond.commands.Command

        getName, start, stop
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getIsRunnable

         boolean getIsRunnable()

        Gets a value indicating whether or not command is supposed to execute based on its start condition.

      • periodic

         void periodic()

        Command periodic code while the command is running.

      • getIsCompleted

         boolean getIsCompleted()

        Gets a value indicating whether or not command execution is completed.