CityFlow
CityFlow copied to clipboard
How to find the waiting time for each vehicle on the particular lane.
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.
For now, we don't have such an API, you can modify "src/cityflow.cpp" and re-compile the C++ code to add one.