ros-bridge icon indicating copy to clipboard operation
ros-bridge copied to clipboard

The ID of the vehicles and the ID of the pseudo sensors may be same to cause an confusion

Open gawinwong opened this issue 2 years ago • 0 comments

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'.

gawinwong avatar Sep 15 '22 11:09 gawinwong