exoticDFT / TRI-Carla-Challenges

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

Ability to spawn a vehicle at a specified location #1

Closed exoticDFT closed 5 years ago

exoticDFT commented 5 years ago

Our scripts need the ability to spawn vehicles, pedestrians, bikes, etc at a given location with random parameters.

exoticDFT commented 5 years ago

The TRI Carla Challenge #4, the scenario needs the ability to access the spawn points in Town03, specifically around the traffic circle (located at (0, 0) according to the OpenDrive file.) These spawn points will be used to continuously spawn agents around the traffic circle through the scenario generation. Agents should be added into the scene up to the maximum number provided. If an agent is removed, we should add a new one.

Testing seems to suggest the wanted locations are indexed by 114 - 118, 126 and 127 from the overall available spawn points obtained through the Carla API get_spawn_points() function. These are not the same values based on the OpenDrive file, however.