Hello,
I have an issue with running DRT. When I run it, I get this error, and I cannot resolve it.
"Error: Answered with error to command 0xc4: Could not interpret reservations for vehicle '9' (Reservation id '9' is not known).
Traceback (most recent call last):
File "C:\Users\MehdiMeshkani\Desktop\SUMO_Simulations\Opus_Data\drt\drtOnline.py", line 549, in <module>
main()
File "C:\Users\MehdiMeshkani\Desktop\SUMO_Simulations\Opus_Data\drt\drtOnline.py", line 526, in main
traci.vehicle.dispatchTaxi(veh_id, stops[1:])
File "C:\Program Files (x86)\Eclipse\Sumo\tools\traci\_vehicle.py", line 1469, in dispatchTaxi
self._setCmd(tc.CMD_TAXI_DISPATCH, vehID, "l", reservations)
File "C:\Program Files (x86)\Eclipse\Sumo\tools\traci\domain.py", line 164, in _setCmd
self._connection._sendCmd(self._cmdSetID, varID, objectID, format, *values)
File "C:\Program Files (x86)\Eclipse\Sumo\tools\traci\connection.py", line 231, in _sendCmd
return self._sendExact()"
When the number of passengers and cars are small such as 5 passengers and 2 cars, it works properly but when I increase the number of passengers and cars, it keeps giving me the error.
This is the way I defined cars:
<trip id="8" type="taxi_5" depart="0.00" >
<stop lane="951210468#11_0" triggered="person"/>
</trip>
<trip id="9" type="taxi_5" depart="0.00" >
<stop lane="951210468#11_0" triggered="person"/>
</trip>
This is the way I defined passengers:
<person id="2" depart="129.0" departPos="319.14"><ride from="951210468#11" to="475848926#0" lines="taxi" /></person>
<person id="3" depart="491.0" departPos="7.5"><ride from="1093958533#0" to="475848926#0" lines="taxi" /></person>
I was wondering if you could assist me with this problem.
Kind Regards,
Mehdi
------------------------------------------------------------------------------
Seyed Mehdi Meshkani, Ph.D.
Postdoctoral Fellow in Sustainable Mobility Management
BusPas Inc. & Concordia Institute for Information Systems Engineering (CIISE)
seyedmehdi.meshkani@xxxxxxxxxxxx
mehdi@xxxxxxxxxx
|