Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] Emergency vehicle overtaking other vehicles

Hello,
I'm developing a simulation where emergency vehicle (EV from now on) needs
to drive from point A to point B in the shortest time. I did configure
special vehicle type where I use this settings:

<vType id="intervention_vehicle"
       vClass="emergency"
       accel="3.3"
       decel="5"
       sigma="0.5"
       maxSpeed="70"
       speedFactor="1.5"
       color="1,0,0"
       guiShape="emergency"
       length="4.8"
       lcStrategic="100"
       lcCooperative="0.0"
       lcSpeedGain="100"
       lcKeepRight="100"
       latAlignment="left"
       lcPushy="1"
       lcAssertive="1"
/>

I'm facing with a problem that EV does not overtake all the vehicles ahead.
I have developed logic to slow down vehicles ahead of EV to force
overtaking, but this does not always happen. It is strange because there is
no traffic in opposite direction and EV could overtake vehicle with no
problem.

Second question I have is: how can I force overtaking in junction, where
traffic light in EVs direction is red and one or more vehicles are already
in junction queue (in EV's direction)? In that case EV is waiting for a
clear way and only then it continues its path.

Thank you in advance for your reply.

Best regards,
Luka
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/sumo-user


Back to the top