Package org.opentcs.drivers.vehicle
Interface SimVehicleCommAdapter
- All Superinterfaces:
Lifecycle,VehicleCommAdapter
This interface declares methods that a vehicle driver intended for simulation
must implement.
-
Method Summary
Modifier and TypeMethodDescriptionvoidinitVehiclePosition(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, clearCommandQueue, createTransferableProcessModel, disable, enable, enqueueCommand, execute, getCommandsCapacity, getProcessModel, getRechargeOperation, getSentCommands, getUnsentCommands, isEnabled, onVehiclePaused, processMessage
-
Method Details
-
initVehiclePosition
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.
-