Class InitPositionCommand

java.lang.Object
org.opentcs.drivers.vehicle.commands.InitPositionCommand
All Implemented Interfaces:
java.io.Serializable, AdapterCommand

public class InitPositionCommand
extends java.lang.Object
implements AdapterCommand
A command for initializing the comm adapter's position.
See Also:
Serialized Form
  • Constructor Summary

    Constructors 
    Constructor Description
    InitPositionCommand​(java.lang.String position)
    Creates a new instance.
  • Method Summary

    Modifier and Type Method Description
    void execute​(VehicleCommAdapter adapter)
    Executes the command.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • InitPositionCommand

      public InitPositionCommand​(@Nonnull java.lang.String position)
      Creates a new instance.
      Parameters:
      position - The position to set.
  • Method Details