Class SetSpeedMultiplier

java.lang.Object
org.opentcs.drivers.vehicle.messages.SetSpeedMultiplier
All Implemented Interfaces:
java.io.Serializable

public class SetSpeedMultiplier
extends java.lang.Object
implements java.io.Serializable
A message that informs a communication adapter about a speed multiplier it/the vehicle should apply.
See Also:
Serialized Form
  • Constructor Summary

    Constructors 
    Constructor Description
    SetSpeedMultiplier​(int multiplier)
    Creates a new instance.
  • Method Summary

    Modifier and Type Method Description
    int getMultiplier()
    Returns the speed multiplier in percent.

    Methods inherited from class java.lang.Object

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

    • SetSpeedMultiplier

      public SetSpeedMultiplier​(int multiplier)
      Creates a new instance.
      Parameters:
      multiplier - The speed multiplier in percent.
  • Method Details

    • getMultiplier

      public int getMultiplier()
      Returns the speed multiplier in percent.
      Returns:
      The speed multiplier in percent.