-
Notifications
You must be signed in to change notification settings - Fork 371
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reworked spawning of actors to speed up scenario initialization
The BasicScenario actor initialization now uses batch mode initialization. CarlaActorPool: - Added _blueprint_library member to buffer the CARLA blueprint library and avoid world access for every blueprint - Added create_blueprint() to eliminate code dublication - Added handle_actor_batch() to eliminate code dublication - Added setup_actors() new function to spawn actors in batch mode - Added request_new_actors() new public function to use new batch mode (used by BasicScenario class) Change-Id: Ia0ce57841ee100a1f661171af9824a6e3e8482f8
- Loading branch information
1 parent
0812d3a
commit 94f5b8a
Showing
3 changed files
with
105 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters