- vehicle angle is not taken into account to determine road space occupancy
- using the default model, each vehicle will only ever block one lane so
you need to use 'dummy' vehicles to close additional lanes
- if a long vehicle is stopped on an intersection it will block
cross-traffic according to it's length
- using the sublane model, a vehicle may close multiple lanes. Partial
blockage is also possible so that a motorcycle can squeeze through will a
passenger car cannot. Since the vehicle angle is not taken into account you
have to artificially increase the vehicle width to block a wider area. Even
a wide vehicle can block at most two lanes fully.  Using the sublane modle
comes at a price in execution speed. See
https://sumo.dlr.de/wiki/Simulation/SublaneModel

regards,
Jakob


Am Di., 26. März 2019 um 01:53 Uhr schrieb shawnaustin <
[email protected]>:

> Hi all,
> I am using Sumo via libsumo/C++ (and TraCI/Python for testing) as a traffic
> generator in a simulation environment that has a human in the loop.
>
> I would like to be able to create roadblocks while the simulation is
> running, for example a stationary truck that is placed diagonally on two
> lanes or in the middle of a junction. Other vehicles should stop or reroute
> if possible. I am currently doing that by adding a vehicle and calling
> moveToXY with the desired position and angle on every step. The problem is
> that the roadblock / stationary vehicle blocks at most one lane, regardless
> of the angle, type, width, etc. I guess it's because of the way Sumo
> calculates intersections / collisions.
>
> How would you recommend to achieve this functionality?
>
> I read "How to simulate an accident" on the FAQ but I don't think it
> answers
> my needs - I am already halting the vehicle, and closing a whole lane or
> edge seems too much.
>
> The only idea I could think of is to place additional "dummy" vehicles on
> each lane that the roadblock should be blocking. But that will require
> analyzing the road network, intersection the geometries and managing the
> dummy vehicles. Is there a simpler way?
>
> Thank you,
> Shawn
>
>
>
> --
> Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/
> _______________________________________________
> sumo-user mailing list
> [email protected]
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
_______________________________________________
sumo-user mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to