Package org.opentcs.drivers.vehicle
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 Summary
Modifier and Type Method Description voidinitVehiclePosition(java.lang.String newPos)Sets an initial vehicle position.Methods inherited from interface org.opentcs.components.Lifecycle
initialize, isInitialized, terminateMethods inherited from interface org.opentcs.drivers.vehicle.VehicleCommAdapter
canAcceptNextCommand, canProcess, canProcess, clearCommandQueue, createTransferableProcessModel, disable, enable, enqueueCommand, execute, getCommandQueue, getCommandQueueCapacity, getCommandsCapacity, getProcessModel, getRechargeOperation, getSentCommands, getSentQueue, getSentQueueCapacity, getUnsentCommands, isEnabled, onVehiclePaused, processMessage
-
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.
-