Yes. This can be retrieved by using getVehicleData (0x17) and counting the number of unique vehicles recorded therein.
regards, Jakob 2018-06-18 18:05 GMT+02:00 Hübner, Karl <[email protected]>: > Dear SUMO users, > > > > I want to retrieve a correct number of vehicles which passed an induction > loop (E1) within the last simulation step via TraCI. I currently use the > variable 0x10 which corresponds to the „nVehEntered“ property of the XML > output. However, I noticed that with larger simulation steps (> 0.5s) and > high speeds some vehicles are not recognized by this method. It seems they > complete pass the induction loop but do not “enter” them. Is there any way > to retrieve a value which corresponds to the number of vehicles which > passed the induction loop within the last simulation step via TraCI? E.g. > something which corresponds to “nVehContrib“? > > > > Kind regards, > > Karl > > _______________________________________________ > sumo-user mailing list > [email protected] > To change your delivery options, retrieve your password, or unsubscribe > from this list, visit > https://dev.eclipse.org/mailman/listinfo/sumo-user > >
_______________________________________________ sumo-user mailing list [email protected] To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/sumo-user
