if(responseCommand.getResult() != 0) {
throw new IOException("TraCI reported an error.");
}
break;
case ResponseSimulationValueCommandReader.ID:
ResponseSimulationValueCommandReader simulationValues = ResponseSimulationValueCommandReader.fromCommand(command);
for (String id:simulationValues.getIdsArrivedVehicles()) {
removed.add(id);
}
for (String id:simulationValues.getIdsLoadedVehicles()) {
float[] pos = subscribeToVehicleValues(id, simulationValues.getSimulationTime());
added.put(id, convertPosition(pos));
this.ids.add(id);
}
break;
case ResponseVehicleValueCommandReader.ID: