The ID of the vehicles and the ID of the pseudo sensors may be same to cause an confusion
gawinwong opened this issue · 0 comments
gawinwong commented
The ID of the pseudo sensors is started from 10000, with this code self.id_gen = itertools.count(10000)
.
When I spawn more than 10000 vehicles, some of these vehicle will share the same ID with some pseudo sensors.
And this will cause an confusion.
For example, I intend to destory a vehicle with the ID '10010', but it will destory the pseudo sensor 'ActorControl'.