roadSegment.addVehicle(veh);
LOG.info(String.format("set vehicle with label = %s on lane=%d with front at x=%.2f, speed=%.2f",
veh.getLabel(), veh.lane(), veh.getFrontPosition(), veh.getSpeed()));
if (veh.getLongitudinalModel().isCA()) {
LOG.info(String.format("and for the CA in physical quantities: front position at x=%.2f, speed=%.2f",
veh.physicalQuantities().getFrontPosition(), veh.physicalQuantities().getSpeed()));
}
}
}
public void reset() {