Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] Rerouting Parking Area using TraCI

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


Back to the top