[
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 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/
Starting program: /home/drone/Applications/SUMO/sumo-git/sumo/bin/sumo test.sumocfg
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Loading configuration... done.
Loading net-file from 'test.net.xml'... done (1ms).
Loading done.
Simulation started with time: 0.00
Step #12.75 (2ms ~= 125.00*RT, ~18000.00UPS, vehicles TOT 36 ACT 36 BUF 0)
Program received signal SIGSEGV, Segmentation fault.
0x000055555578ec15 in MSVehicle::getBackPositionOnLane(MSLane const*) const ()
(gdb) t 1
[Switching to thread 1 (Thread 0x7fffefcce9c0 (LWP 31322))]
#0 0x000055555578ec15 in MSVehicle::getBackPositionOnLane(MSLane const*) const ()
(gdb) bt
#0 0x000055555578ec15 in MSVehicle::getBackPositionOnLane(MSLane const*) const ()
#1 0x000055555571a0dd in MSLane::vehicle_natural_position_sorter::operator()(MSVehicle*, MSVehicle*) const ()
#2 0x000055555572b252 in void std::__insertion_sort<__gnu_cxx::__normal_iterator<MSVehicle**, std::vector<MSVehicle*, std::allocator<MSVehicle*> > >, __gnu_cxx::__ops::_Iter_comp_iter<MSLane::vehicle_natural_position_sorter> >(__gnu_cxx::__normal_iterator<MSVehicle**, std::vector<MSVehicle*, std::allocator<MSVehicle*> > >, __gnu_cxx::__normal_iterator<MSVehicle**, std::vector<MSVehicle*, std::allocator<MSVehicle*> > >, __gnu_cxx::__ops::_Iter_comp_iter<MSLane::vehicle_natural_position_sorter>) ()
#3 0x00005555557249a0 in MSLane::integrateNewVehicle(long long) ()
#4 0x0000555555703dc2 in MSEdgeControl::executeMovements(long long) ()
#5 0x000055555574af66 in MSNet::simulationStep() ()
#6 0x000055555574b420 in MSNet::simulate(long long, long long) ()
#7 0x00005555556c5e09 in main ()
Attachment:
test.flows.xml
Description: XML document
Attachment:
test.net.xml
Description: XML document
Attachment:
test.sumocfg
Description: Binary data