Class PrintCommand

All Implemented Interfaces:
Sendable, Command

public class PrintCommand
extends InstantCommand
A command that prints a string when initialized.
  • Constructor Details

  • Method Details

    • runsWhenDisabled

      public boolean runsWhenDisabled()
      Description copied from interface: Command
      Whether the given command should run when the robot is disabled. Override to return true if the command should run when disabled.
      Returns:
      whether the command should run when the robot is disabled