Package de.hpi.eworld.visualizer.simulation.traci.commands.sent

Examples of de.hpi.eworld.visualizer.simulation.traci.commands.sent.SubscribeVehicleValueRetrivalCommandGenerator


   * @return the initial position of the vehicle
   * @throws IOException
   * @throws TraciException
   */
  private float[] subscribeToVehicleValues(String id, int startTime) throws IOException, TraciException {
    SubscribeVehicleValueRetrivalCommandGenerator vehicleValue = new SubscribeVehicleValueRetrivalCommandGenerator(
        startTime, ModelManager.getInstance().getSimulationEndTime() * 1000, id);
    Message request = new Message(vehicleValue);
    request.writeToStream(this.outputStream);
    Message response = Message.readFromStream(this.inputStream);
    float[] position = null;
View Full Code Here

TOP

Related Classes of de.hpi.eworld.visualizer.simulation.traci.commands.sent.SubscribeVehicleValueRetrivalCommandGenerator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.