shasta.core
#
Module Contents#
Classes#
Class responsible of handling all the different CARLA functionalities, |
Functions#
Kill all PIDs that start with Carla |
- class ShastaCore(config, actor_groups: dict = None)[source]#
Class responsible of handling all the different CARLA functionalities, such as server-client connecting, actor spawning, and getting the sensors data.
- get_physics_client()[source]#
Ge the physics client
- Returns:
The bullet physics client
- Return type:
object
- get_world()[source]#
Get the World object from the simulation
- Returns:
The world object
- Return type:
object
- get_map()[source]#
Get the Map object from the simulation
- Returns:
The map object
- Return type:
object
- spawn_actors()[source]#
Spawns vehicles and walkers, also setting up the Traffic Manager and its parameters
- get_actor_groups()[source]#
Get the actor groups
- Returns:
The actor groups as a dict with group id as the key list of actors as the value
- Return type:
dict