Hi,
When I called traci.vehicle.getWaitingTime(vehID), traci does not recognize the
vehID.
I did traci.vehicle.getIDList() to make sure that this vehID exists and it puts
the same error message.
Does anyone has had this problem?
Regards
François
------------------------------------------------------------
traci.vehicle.getIDList()
['10_80', '10_81', '10_82', '10_83', '10_84', '10_85', '11_43', '11_44',
'11_45', '11_46', '11_47', '11_48', '11_49', '11_50', '11_51', '11_52',
'11_53', '1_255', '1_256', '1_257', '1_258', '1_259', '1_260', '1_261',
'1_262', '1_263', '1_264', '1_265 ….
-------------------------------------------------------------
traci.vehicle.getWaitingTime('10_80')
Error message
traci.TraCIException: Vehicle '10_80' is not known
--------------------------------------------------------------
File …. routes.rou.xml
<?xml version="1.0" encoding="UTF-8"?>
<routes>
<vType id="random" guiShape="passenger" length="3.0" minGap="2.5"
maxSpeed="14.0" color="yellow">
<carFollowing-Krauss accel="0.8" decel="4.5" sigma="0.5"/>
</vType>
<route id="route1" edges="M8 M9 M10 M11 M12" departlane="free" departpos="free"
color="yellow"/>
….
<vehicle route="route10" id="10_80" type="random" depart="1878.120536"
departlane="0"/>
…
</routes>
------------------------------------------------------------------------------
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user