smarts.env.rllib_hiway_env module
- class smarts.env.rllib_hiway_env.RLlibHiWayEnv(*args: Any, **kwargs: Any)[source]
This environment serves as a format to run multiple environments in parallel. This environment requires a specific configuration.
- Parameters:
config (Dict[str,Any]) –
An environment configuration dictionary containing the following key value pairs.
agent_specs: Dictionary mapping agent_ids to agent specs. Required.
scenarios: List of scenario directories that will be run. Required.
sim_name: A string to name this simulation. Defaults to None.
envision_record_data_replay_path: Specifies Envision’s data replay output directory. Defaults to None.
envision_endpoint: Specifies Envision’s uri. Defaults to None.
headless: True|False envision disabled|enabled. Defaults to True.
num_external_sumo_clients: Number of SUMO clients beyond SMARTS. Defaults to 0.
seed: Random number generation seed. Defaults to 42.
sumo_auto_start: True|False sumo will start automatically. Defaults to False.
sumo_headless: True|False for sumo`|`sumo-gui. Defaults to False.
sumo_port: Specifies sumo port. Defaults to None.
fixed_timestep_sec: Step length for all components of the simulation. Defaults to 0.1 .