class wpilib.command.PrintCommand(message)[source]

Bases: wpilib.command.InstantCommand

A PrintCommand is a command which prints out a string when it is initialized, and then immediately finishes.

It is useful if you want a CommandGroup to print out a string when it reaches a certain point.

Instantiates a PrintCommand which will print the given message when it is run.

Parameters:message – the message to print