MCPcopy Create free account
hub / github.com/OpenDriveLab/DriveAdapter / load_obs_configs

Function load_obs_configs

roach/utils/config_utils.py:58–62  ·  view source on GitHub ↗
(agent_configs_dict)

Source from the content-addressed store, hash-verified

56
57
58def load_obs_configs(agent_configs_dict):
59 obs_configs = {}
60 for actor_id, cfg in agent_configs_dict.items():
61 obs_configs[actor_id] = json.load(open(cfg['path_to_conf_file'], 'r'))['obs_configs']
62 return obs_configs
63
64
65def init_agents(agent_configs_dict, **kwargs):

Callers

nothing calls this directly

Calls 1

loadMethod · 0.80

Tested by

no test coverage detected