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?

Hi Lara,

I fixed the bug with multiple blue light devices in the current git version and tested your scenario. It should work now.

Best regards,
Laura

Am Do., 20. Sep. 2018 um 13:57 Uhr schrieb Lara CODECA <lara.codeca@xxxxxxxxxx>:
Hi Laura,

I wanted to give it a try with
<vType vClass="motorcycle" id="motorcycle"  maxSpeed="55.5" latAlignment="arbitrary">
        <param key="has.bluelight.device" value="true"/>
</vType>
and see what happens.

Unfortunaltely it's a segfault.
Attached you can find:
- gdb trace
- net
- flows
- sumocfg

I recompiled this morning:
Eclipse SUMO Version 5345f89a38
 Build features: Linux-4.17.0-1-amd64 x86_64 GNU 8.2.0 Proj GUI GDAL FFmpeg OSG GL2PS SWIG

Cheers,
Lara

On Thu, 20 Sep 2018 12:18:29 +0200
Laura Bieker <bieker.laura@xxxxxxxxx> wrote:

> 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
> > 



--
Lara CODECA
Postdoc
Tel : 04.93.00.81.51

EURECOM
Campus SophiaTech
http://www.eurecom.fr/

Back to the top