Interface SimVehicleCommAdapter

All Superinterfaces:
Lifecycle, VehicleCommAdapter

public interface SimVehicleCommAdapter
extends VehicleCommAdapter
This interface declares methods that a vehicle driver intended for simulation must implement.
  • Method Details

    • initVehiclePosition

      void initVehiclePosition​(@Nullable java.lang.String newPos)
      Sets an initial vehicle position. This method should not be called while the communication adapter is simulating order execution for the attached vehicle; the resulting behaviour is undefined.
      Parameters:
      newPos - The new position.