Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] influencing lane change behavior in accordance with road marks

Hello,
in the latest development version, the MSLaneChanger constuctor already sets a flag for each lane which defines whether changing to the left or right is possible.
I've outlined a rough implementation draft here: https://github.com/DLR-TS/sumo/issues/3656
Patches are welcome (-:
regards,
Jakob


2017-11-24 21:40 GMT+01:00 Michael Behrisch <oss@xxxxxxxxxxx>:
Hi Gerald,
the solid line mark case can be solved either by separating into two
separate edges or by introducing a very narrow lane which forbids all
vehicles (the latter is probably better).
For the asymmetric case it is a little harder. We introduced the concept
of defining neighboring lanes explicitly in a network which we needed
for the opposite direction driving but I am pretty sure, this cannot be
used yet to limit the lane neighbors for lanes of the same edge. But if
I wanted to implement something I would follow this path. For an
impression how this looks in the net:
https://github.com/DLR-TS/sumo/blob/master/tests/sumo/opposite_direction_driving/net.net.xml

Best regards,
Michael

Am 24.11.2017 um 17:38 schrieb Richter Gerald:
> Dear list,
>
> when importing from open drive I encounter the problem of roadMark
> elements,
> which are present in the xodr file, but not mapped to the converted net
> file.
> - I guess this can be implemented in the Importer and is a problem with
> some discernible solution down the road.
>
> BUT:
> * how would I map the behavior resulting from solid line marks between
> lanes
>      onto the net attributes of SUMO ?
> * how would I do that for an asymmetric case of one broken and one solid
> line next to each other,
>      allowing vehicles to change lanes in just 1 direction ?
>
> thanks,
> Gerald.
>
> _______________________________________________
> 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
>



_______________________________________________
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



Back to the top