Thank you for your answer,

i changed the road segement to 5Km but it did not help, i made a traci call
to make an urgent lane change for vehicle 2 and what i noticed is that when
i put vehicle 3 in speed mode then 2 waits for 3 to pass and then 2 changes
to the middle lane, however if i have 3 in cooperative(or default) vehicle
3 changes to the top lane and leaves the middle empty for 2 and if both 2
and 3 are in cooperative vehicle 3 goes to the bottom lane and 2 in the
middle.

Best,
Pavlos


2014-02-12 9:19 GMT+02:00 Jakob Erdmann <[email protected]>:

> Hello,
> what you are experiencing is unrelated to the current implementation of
> laneChangeMode. Rather it is a property of the laneChangeModel where
> further customization needs to be implemented:
> Currently, vehicles only perform cooperative lane changes (as expected of
> vehicle 3 to help vehicle 2) for urgent reasons. Vehicle 2 only wants to
> change for a tactical reason (speed gain) so it does not trigger
> cooperative behavior in vehicle 3. You could change this by giving vehicle
> 2 a traci request to change to the left which (by default) is urgent.
> Eventually it should be possible to customize the urgency of the different
> lane-changing reasons and maybe even to reorder priorities.
> regards,
> Jakob
>
>
> the default laneChangeMode of (512+64+16+4+1) already allows vehicles to
> perform the changes you expect (in principle).
> The reason for the behavior of vehicle 3
>
>
> Possibly vehicle 3 does not change it's lane because it has a strategic
> reasons against it. Currently there are no options to reorder the
> priorities of the change-reasons, so will you can disable strategic changes
> they will still prevent conflicting cooperative changes.
> You can try to investigate this problem by recreating the situation on an
> edge that is very long (try 5km). This should remove any strategic
> reservations vehicle 3 might have.
> regards,
> Jakob
>
>
> 2014-02-11 Pavlos Basaras <[email protected]>:
>
>>  Hello
>>
>> i am tring to use lane change mode as mentioned here:
>> http://sumo-sim.org/userdoc/TraCI/Change_Vehicle_State.html
>> The picture shows what i am tring to do. Vehicle 1 decelerates and Vehicle
>> 2 wants to maintain it's speed so it decides to move to the middle lane.
>> What i want to happen is for vehicle 3 that closes in with higher velocity
>> than both, to move
>> to the top lane and leave the middle lane empty for Vehicle 2. To do this
>> i
>> want to use lane change mode so what i do is:
>> traci.vehicle.setLaneChangeMode('2',16) (speed mode)  and
>>  traci.vehicle.setLaneChangeMode('3',4) (cooperative mode) but what happes
>> is that Vehicle 2 waits for Vehicle 3 to pass it and then move to the
>> middle lane. Are setLaneChangeMode commands correct? Is it a problem with
>> accel and decel?
>>
>> More information:
>>
>> For all Vehicles: accel="2.5" decel="4.0"
>>
>> maxSpeed of Vehicle1 = maxSpeed of Vehicle2 = 70km\h, until Vehicle 1
>> decelerates to 50km\h and Vehicle 2 needs to change lane
>> maxSpeed of Vehicle3 = 90Km\h
>>
>> bottomLane maxSpeed = 70Km\h
>> MiddleLane maxSpeed = 90Km\h
>> TopLane maxSpeed = 120Km\h
>>
>> [image: Ενσωματωμένη εικόνα 1]
>>
>>
>>
>> Many thanks,
>> Pavlos
>>
>>
>> ------------------------------------------------------------------------------
>> Android apps run on BlackBerry 10
>> Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
>> Now with support for Jelly Bean, Bluetooth, Mapview and more.
>> Get your Android app in front of a whole new audience.  Start now.
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
>> _______________________________________________
>> sumo-user mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/sumo-user
>>
>>
>
------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to