Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] My vehicles goes to the right

Hi,
you should add speed deviations. The vehicles of the first two types all have the same maxSpeed and so they have no reason to overtake. If the vehicles of the Caminhao do not get overtaken as well you should probably send the whole scenario for closer inspection. by the way, lcStrategic only influences the bevavior of lane changes which happen due to route following.

Best regards,
Michael

Am 2018-01-11 01:05, schrieb Ednardo de oliveira Ferreira via sumo-user:
Hi!

I read 5 or 6 e-mails in the past with the same problem that I'm having now:

All the vehicles goes to rightest lanes. There are 2 free lanes, but they
don't change lanes.

This is my route archive. I tried some attributes as "lcStrategic" but it
not worked.

I'm using Sumo 0.31.0.

<?xml version="1.0" encoding="UTF-8"?>
<routes>
<vType id="Carro" accel="6.0" decel="4.0" length="5.0" lcStrategic =
"50" lcCooperative = "0.1" lcKeepRight = "0"  lcLookaheadLeft = "100"
minGap="2.5" maxSpeed="15"/>
    <vType id="Moto" accel="6.0" decel="5.0" length="2" minGap="2.5"
maxSpeed="15"/>
<vType id="Caminhao" accel="4.0" decel="1.0" length="16" minGap="2.5"
maxSpeed="10.0"/>


    <flow id="type1" color="0,0,255"  begin="0" end= "2000" period="5"
type="Carro" departLane = "random" from="a1" to="a20" />
    <flow id="type2" color="0,0,255"  begin="0" end= "2000" period="5"
type="Moto" departLane = "random" from="a22" to="a37" />
    <flow id="type3" color="0,0,255"  begin="0" end= "2000" period="10"
type="Carro" departLane = "random" from="a24" to="a18" />
<flow id="type4" color="0,125,255" begin="0" end= "2000" period="15"
type="Caminhao" departLane = "random" from="a24" to="a18" />

Thank you


Back to the top