CityFlow icon indicating copy to clipboard operation
CityFlow copied to clipboard

How to find the waiting time for each vehicle on the particular lane.

Open samta opened this issue 4 years ago • 1 comments

There is api to find the number of wait vehicle in a lane (self.eng.get_lane_waiting_vehicle_count()), but in order to design a different reward, I would like to find waiting time for each vehicle. Can somebody pls point out to the right api/way to achieve it.

samta avatar May 18 '20 17:05 samta

For now, we don't have such an API, you can modify "src/cityflow.cpp" and re-compile the C++ code to add one.

only-changer avatar Mar 25 '21 05:03 only-changer