All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.opentcs.kernel.vehicles.VehicleControllerFactory Maven / Gradle / Ivy

/**
 * Copyright (c) The openTCS Authors.
 *
 * This program is free software and subject to the MIT license. (For details,
 * see the licensing information (LICENSE.txt) you should have received with
 * this copy of the software.)
 */
package org.opentcs.kernel.vehicles;

import org.opentcs.data.model.Vehicle;
import org.opentcs.drivers.vehicle.VehicleCommAdapter;

/**
 * A factory for VehicleManager instances.
 */
public interface VehicleControllerFactory {

  /**
   * Creates a new vehicle controller for the given vehicle and communication adapter.
   *
   * @param vehicle The vehicle.
   * @param commAdapter The communication adapter.
   * @return A new vehicle controller.
   */
  DefaultVehicleController createVehicleController(Vehicle vehicle, VehicleCommAdapter commAdapter);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy