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

<<inline: lanemod.png>>

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