Commit ac002c78 authored by Sebastian Hörl's avatar Sebastian Hörl
Browse files

For now, remove maximum speed for trucks

parent de74a8a6
......@@ -87,13 +87,13 @@ public class FlowEfficiencyConfigurator {
VehicleType truckVehicleType = VehicleUtils.getFactory() //
.createVehicleType(FREIGHT_TRUCK_ID);
truckVehicleType.setCapacity(defaultCapacity);
truckVehicleType.setMaximumVelocity(22.22);
//truckVehicleType.setMaximumVelocity(22.22);
scenario.getVehicles().addVehicleType(truckVehicleType);
VehicleType truckAvVehicleType = VehicleUtils.getFactory() //
.createVehicleType(FREIGHT_TRUCK_AV_ID);
truckAvVehicleType.setCapacity(defaultCapacity);
truckAvVehicleType.setMaximumVelocity(22.22);
//truckAvVehicleType.setMaximumVelocity(22.22);
scenario.getVehicles().addVehicleType(truckAvVehicleType);
for (Person person : scenario.getPopulation().getPersons().values()) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment