sumo icon indicating copy to clipboard operation
sumo copied to clipboard

Leave enough lane changing space

Open Aparajito-lk opened this issue 6 months ago • 9 comments

Hello! The following model of a car is IDM. How to use the vehicle in the adjacent lane as the leading vehicle for longitudinal control. In other words, how to cooperate and leave enough lane changing space for the vehicle in the adjacent lane.

Aparajito-lk avatar Jun 04 '25 07:06 Aparajito-lk

The lane-change models in SUMO allow to configure cooperative behaviour between drivers on adjacent lanes with the parameter lcCooperative. However this is already active by default.

m-kro avatar Jun 04 '25 07:06 m-kro

How ego vehicle to identify the front vehicle in the adjacent lane to change lanes . Ego vehicle is configured with IDM and LC2013,but the front vehicle in the adjacent lane is configured with others.

Aparajito-lk avatar Jun 04 '25 09:06 Aparajito-lk

each vehicle in SUMO "knows" the model and gap requirements of the adjacent vehicles so it shouldn't be a problem if they have different models.

namdre avatar Jun 04 '25 10:06 namdre

How do ego vehicle "knows" the lane changing intention of the front vehicle in the adjacent lane? Then the ego vehicle starts to slow down or change lanes for cooperation. What is the signal?

Aparajito-lk avatar Jun 04 '25 14:06 Aparajito-lk

the lead vehicle will set the blinker when it wants to change lane but the gap is not sufficient. However, internally the vehicles can simply "read" the intentions of the neighboring vehicles.

namdre avatar Jun 04 '25 15:06 namdre

I have some doubts about how a vehicle(IDM) can obtain the lane change intention of other vehicles. If other vehicles set singal as VEH_SIGNAL_BLINKER_LEFT,then will the vehicle(IDM) brake to leave enough lane changing space?

Aparajito-lk avatar Jun 04 '25 17:06 Aparajito-lk

There is a potential misunderstanding here:

  • in reality a vehicle will use blinker signaling to alert surrounding traffic to it's intentions and other drivers will estimate the required gap based on their own assumptions on safety
  • in SUMO, a vehicle will communication its gap requirements directly to surrounding traffic and they will comply (based on their parameters for cooperativeness). Setting a blinker is only a means of conveying this process to the user and doesn't impact traffic behavior. This implementation strategy aims at replicating the observed cooperative behavior without replicating the though processes of drivers (which would require more compute). See https://elib.dlr.de/89233/

namdre avatar Jun 05 '25 06:06 namdre

Sorry, I'm still a bit confused. How does a vehicle to communicate with others? How does a vehicle know the front vehicle in the adjacent lane wants to change lane?

Aparajito-lk avatar Jun 05 '25 07:06 Aparajito-lk

mainly with

  • https://github.com/eclipse-sumo/sumo/blob/2acc5e435983ab3bcecf541a0d50328e692ab3b1/src/microsim/lcmodels/MSAbstractLaneChangeModel.cpp#L1103
  • https://github.com/eclipse-sumo/sumo/blob/2acc5e435983ab3bcecf541a0d50328e692ab3b1/src/microsim/lcmodels/MSLCM_LC2013.cpp#L1988

namdre avatar Jun 05 '25 08:06 namdre

Is the role of this parameter lcAssertive the same in both LC2013 and LS2015 models?
default: 1, range: positive reals ? or default: 0, range 0 to 1

Aparajito-lk avatar Jun 24 '25 15:06 Aparajito-lk

the same for both models: default 1, range positive reals.

namdre avatar Jun 30 '25 08:06 namdre