Class PrintCommand

All Implemented Interfaces:
Sendable

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

This class is provided by the NewCommands VendorDep

  • Constructor Details

  • Method Details

    • runsWhenDisabled

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