exoticDFT / TRI-Carla-Challenges

Repository for hosting scripts for running TRI Carla related challenges.
5 stars 0 forks source link

Fix vehicle spawning at same spawn point of last vehicle #21

Open exoticDFT opened 5 years ago

exoticDFT commented 5 years ago

Occasionally there is an issue where a new spawned vehicle will spawn at the exact same location of the last spawned vehicle before the vehicle has time to move. This causes the new vehicle to spawn on top of the last vehicle and the collision physics causes undesired behavior. This needs to be fixed.

Possible solution could be to remove the last spawn point for the list of available spawn points before the next call to spawn a vehicle.