We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent feea3ab commit c696bcfCopy full SHA for c696bcf
flow/core/kernel/vehicle/traci.py
@@ -191,7 +191,7 @@ def update(self, reset):
191
self._num_departed.append(
192
len(sim_obs[tc.VAR_DEPARTED_VEHICLES_IDS]))
193
self._num_arrived.append(len(sim_obs[tc.VAR_ARRIVED_VEHICLES_IDS]))
194
- self._departed_ids.append(sim_obs[tc.VAR_ARRIVED_VEHICLES_IDS])
+ self._departed_ids.append(sim_obs[tc.VAR_DEPARTED_VEHICLES_IDS])
195
self._arrived_ids.append(sim_obs[tc.VAR_ARRIVED_VEHICLES_IDS])
196
197
# update the "headway", "leader", and "follower" variables
0 commit comments