Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-dev] [sumo-user] latAlignment: what is the difference between compact, nice, and arbitrary?

When using default lane-width (3.2m), vehicle widths (1.8m) and motorcyle width (0.8m)
It should suffice to  give vehicles latAlignment="center" and use latAlignent="arbitrary" for motorcycles.
The big advantage of this scheme is to avoid the need for custom-location-specific alignment (you may have to set a lower minGapLat for motorcycles though).

There may be cases where the motorcycles wait in parallel and block other vehicles.
A solution for that would be to invent a new alignment "between" that would make them drive on the lane marking between lanes (with epsilon to one side to avoid numerical instability in determining the primary lane), whenever there is more than one lane.

There is actually a parameter that does location specific alignment (lcTurnAlignmentDistance) which makes vehicles alight left before turning left and right before turning right) but this is still done in a generic manner which does not require extra network attributes.

regards,
Jakob


2018-09-20 12:18 GMT+02:00 Laura Bieker <bieker.laura@xxxxxxxxx>:
Hello Lara,

if you need this behaviour only on a vehicle base you can use the Bluelight- Device ( http://sumo.dlr.de/wiki/SUMO#Bluelight_Device ).

If you enable --device.bluelight.explicit vehicleID for this vehicle the surrounding traffic is formatting a virtuall middle lane to let the vehicle pass.
But after it has passed the vehicles drive with their old alignment.

Best regards,
Laura

Am Do., 20. Sep. 2018 um 12:03 Uhr schrieb Lara CODECA <lara.codeca@xxxxxxxxxx>:
Hello Jakob,

sorry for the wrong mailing list.

I need to implement middle virtual lanes for motorbikes.
For example, in a 2 lanes road, the alignment on the rightmost lane is right and on the leftmost
lane is left.
This should create a space in the middle, and I want to see if small vehicle can use
this to alleviate traffic congestion. Obviously I need to find a way for motorbikes to overtake
both left and right..
Maybe something similar is already done to enable blue-light vehicles to cross intersections..

Alternatively, would it be possible to force an alignment on a lane-base / vehicle-base?

 ---- >>>>>>>>>>>> ----   direction
|   center alignment   |
------------------------
|     left alignment   |
------------------------
|    right alignment   |
------------------------

In this case, if every vehicle has to respect this paradigm but motorbikes are free, I can devine
places where the "virtual lane" is implemented.

Thanks in advance,
Lara

On Thu, 20 Sep 2018 11:26:08 +0200
Jakob Erdmann <namdre.sumo@xxxxxxxxx> wrote:

> I'm taking this to the developer list because it's probably to technical
> for most users.
> A good starting point is src/microsim/lcmodels/MSLCM_SL2015.cpp lines
> 1683-1702
> The switch uses pre-computed values from above but you should be able to
> use these variables as breadcrumbs to find your way around.
> If you can describe the envisioned behavior I may have ideas on where to
> best merge them with the existing code.
>
> regards,
> Jakob
>
> 2018-09-20 11:06 GMT+02:00 Lara CODECA <lara.codeca@xxxxxxxxxx>:
>
> > Hello again,
> >
> > if I need to implement an additional behavior, how should I do it?
> > Can I have some pointer to start digging in the SUMO code?
> >
> > Regards,
> > Lara
> >
> > On Mon, 17 Sep 2018 16:31:41 +0200
> > Jakob Erdmann <namdre.sumo@xxxxxxxxx> wrote:
> > 
> > > Hello,
> > > the alignments are now described at
> > > http://sumo.dlr.de/wiki/Simulation/SublaneModel#Model_Details
> > > regards,
> > > Jakob
> > >
> > > 2018-09-17 16:05 GMT+02:00 Lara CODECA <lara.codeca@xxxxxxxxxx>:
> > > 
> > > > Dear All,
> > > >
> > > > I'm working with the sublane model and I need an info.
> > > >
> > > > latAlignment: The preferred lateral alignment when using the
> > > > sublane-model.
> > > >               One of (left, right, center, compact, nice, arbitrary).
> > > > http://sumo.dlr.de/wiki/Definition_of_Vehicles,_ 
> > Vehicle_Types,_and_Routes# 
> > > > Available_vType_Attributes
> > > >
> > > > Left, right, and center alignments are easy to guess.
> > > > What is the difference between compact, nice, and arbitrary?
> > > >
> > > > Thanks in advance.
> > > > Lara
> > > >
> > > > --
> > > > Lara CODECA
> > > > Postdoc
> > > > Tel : 04.93.00.81.51
> > > >
> > > > EURECOM
> > > > Campus SophiaTech
> > > > http://www.eurecom.fr/
> > > > _______________________________________________
> > > > sumo-user mailing list
> > > > sumo-user@xxxxxxxxxxx
> > > > To change your delivery options, retrieve your password, or unsubscribe
> > > > from this list, visit
> > > > https://dev.eclipse.org/mailman/listinfo/sumo-user
> > > > 
> >
> >
> >
> > --
> > Lara CODECA
> > Postdoc
> > Tel : 04.93.00.81.51
> >
> > EURECOM
> > Campus SophiaTech
> > http://www.eurecom.fr/
> > 



--
Lara CODECA
Postdoc
Tel : 04.93.00.81.51

EURECOM
Campus SophiaTech
http://www.eurecom.fr/
_______________________________________________
sumo-dev mailing list
sumo-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/sumo-dev


Back to the top