Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Traffic vehicle always stop inside intersection

Thank you for the response,

You can find the traffic definition file attached. I did use traci for my tests and traci.start() is run with the configuration:
traci.start([
self._sumo_bin,
'-n', self._net,
'-r', self._route,
'--step-length', '0.1',
'--no-warnings', 'true',
'--collision.action', 'warn',
'--collision.check-junctions', 'true',
'--max-depart-delay', '0.2',
'--random', 'true'
])

with the attached files as self._net and self._route


On Wed, Mar 3, 2021 at 2:57 AM Jakob Erdmann <namdre.sumo@xxxxxxxxx> wrote:
Please attach the traffic definition (.rou.xml) and post all options used to run sumo (or attach the .sumocfg).
Did you use traci in your test?

Am Di., 2. März 2021 um 13:10 Uhr schrieb A Raman <18thabetman@xxxxxxxxx>:
Hello,

I found that, while testing intersection behaviours in SUMO in my network, the yellow vehicles in the west-side lane always stop in the intersection area and not at the end of the lane edge. In my attached image, the east-side lane vehicle seems to stop correctly at the edge of the lane at position (8, 2) while the west-side lane vehicles always stop at around (~-4, -2). I tested this by manually entering the blue vehicle into the intersection area and initializing the incoming yellow vehicles at different times to have ample braking distance once the blue vehicle enters.

It doesn't seem like any of the documented reasons for this to happen is the cause so I would like to know what exactly do I need to change so that the bottom lane vehicle stops at the proper position. I've tried changing the stop offset properties for the lane in the network file which does not affect things. The current vehicle type configuration is at default and you can also find my network file attached.

Thank you very much in advance
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
<?xml version="1.0" encoding="UTF-8"?>

<routes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/routes_file.xsd";>

    <vType id="n1" impatience="0.10" color="green" accel="3.0" decel="4.5" emergencyDecel="5.0" tau="0.8" minGap="2"
    probability="0.9" speedFactor="normc(1,0.07,0.75,1.2)" speedDev="0.1"/>

    <route edges="iE oN" color="yellow" id="route_6" />
    <route edges="iE oW" color="yellow" id="route_7" />
    <route edges="iE oS" color="yellow" id="route_8" />

    <route edges="iS oW" color="yellow" id="route_0" />
    <route edges="iW oN" color="yellow" id="route_3" />
    <route edges="iW oE" color="yellow" id="route_4" />
    <route edges="iN oS" color="yellow" id="route_5" />

    <vehicle id="ego" type="n1" depart="0" departSpeed="0.0" departPos="89" color="yellow" route="route_0"/>
    <vehicle id="vehE" type="n1" depart="0" departPos="50" departSpeed="max" route="route_7"/>
    <vehicle id="vehW" type="n1" depart="0" departPos="50" departSpeed="max" route="route_4"/>

</routes>

Back to the top