Skip to main content

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

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 <rohanverma446@xxxxxxxxx>:
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
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top