Hi Jacob,
The complete error is given below:
/"Traceback (most recent call last):
File "C:\Users\admin\Sumo\Simulation_test\New\new_trial.py", line 69, in
<module>
run()
File "C:\Users\admin\Sumo\Simulation_test\New\new_trial.py", line 37, in
run
traci.vehicle.rerouteParkingArea(veh_id,"ACAD37")
File "D:\sumo\tools\traci\_vehicle.py", line 1031, in rerouteParkingArea
self._setCmd(tc.CMD_REROUTE_TO_PARKING, vehID, "ts", 1, parkingAreaID)
File "D:\sumo\tools\traci\domain.py", line 189, in _setCmd
self._connection._sendCmd(self._cmdSetID, varID, objectID, format,
*values)
File "D:\sumo\tools\traci\connection.py", line 181, in _sendCmd
return self._sendExact()
File "D:\sumo\tools\traci\connection.py", line 91, in _sendExact
raise FatalTraCIError("connection closed by SUMO")
traci.exceptions.FatalTraCIError: connection closed by SUMO "/
Thanks,
Rohan
On Thu, Dec 9, 2021 at 2:08 AM Jakob Erdmann <[email protected]> wrote:
> It looks like the error message is incomplete can you post additional
> output lines before and after the 2 lines that you gave?
>
> Am Mi., 8. Dez. 2021 um 17:45 Uhr schrieb 191 000 <[email protected]
> >:
>
>> Hi,
>>
>> I'm using TraCI to reroute vehicles to another parking area. The code I
>> am using is given below:
>>
>> "*traci.vehicle.rerouteParkingArea(vehicle_id, parking_area_id)*"
>>
>> and I get the following error:
>>
>> /" File "D:\sumo\tools\traci\_vehicle.py", line 1031, in
>> rerouteParkingArea
>> self._setCmd(tc.CMD_REROUTE_TO_PARKING, vehID, "ts", 1, parkingAreaID)
>> File "D:\sumo\tools\traci\domain.py", line 189, in _setCmd
>> self._connection._sendCmd(self._cmdSetID, varID, objectID, format,
>> *values)"/
>>
>> I have tried parking areas in the same edge as well as adjacent edges.
>> Does anyone have any suggestions for fixing this?
>>
>> Thanks,
>>
>> Rohan
>> _______________________________________________
>> sumo-user mailing list
>> [email protected]
>> To unsubscribe from this list, visit
>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>
> _______________________________________________
> sumo-user mailing list
> [email protected]
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
_______________________________________________
sumo-user mailing list
[email protected]
To unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user