So I tried using
--trip-attributes "departLane=\"best\" maxspeed=\"70\" color=\"255,255,255\""
With
As I need 10 randomly scattered
But what I got was 1617 instances of yellow emergency vehicles, and I’m not sure whether maxspeed 70 was in it
And is maxspeed is in km/h or m/s?
What I am doing wrong?
python "%SUMO_HOME%\tools\randomTrips.py" -n osm.net.xml --fringe-factor 5 -p (0 - 3600/10) -o osm.emergency.trips.xml -e 3600 --vehicle-class emergency --vclass emergency --prefix Am --min-distance 200 --trip-attributes "departLane=\"best\" maxspeed=\"70\" color=\"255,255,255\"" --fringe-start-attributes "departSpeed=\"max\"" --allow-fringe.min-length 1000 --lanes --validate
Sent from Mail for Windows
- speedDev is the standard deviation relative to the speed limit. The default is 0.1 which lets 68% of the vehicles drive at 90%-110% of the speed limit.
- fringeFactor increase the probability of vehicles to depart/arrive at the network fringe by the given factor (relative to departure/arrival within the network).
- vehicles always react to other traffic so you need TraCI to enforce a specific speed. (Unless you have a scenario without intersections and the specific vehicle has no leader vehicles).
Dear Users,
I have generate both truck and passenger vehicles using Random trips, however I’d like to generate only 10 emergency vehicles randomly scattered in the span of 3600 seconds, with the max speed varying 70 km/h (give or take 10 km/h), also I’d like the model to look like a white ambulance.
Here’s my attempt so far:
python "%SUMO_HOME%\tools\randomTrips.py" -n osm.net.xml --fringe-factor 5 -p 2.225291 -o osm.emergency.trips.xml -e 3600 --vehicle-class emergency --vclass emergency --prefix Am --min-distance 200 --trip-attributes "departLane=\"best\" speedFactor=70 color=255,255,255
" --fringe-start-attributes "departSpeed=\"max\" speedDev=10 " --allow-fringe.min-length 1000 --lanes --validate
Also have questions:
I’m not so sure about the difference between speedFactor and speedDev?
How --fringe-factor works?
In my osm.passenger.trips.xml
I’d like to assign 1 passenger vehicle to have the max speed of 50km/h throughout the entire simulation
Sent from Mail for Windows
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user