MCPcopy Create free account
hub / github.com/AdaCompNUS/summit / find_weather_presets

Function find_weather_presets

PythonAPI/util/config.py:50–52  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

48
49
50def find_weather_presets():
51 presets = [x for x in dir(carla.WeatherParameters) if re.match('[A-Z].+', x)]
52 return [(getattr(carla.WeatherParameters, x), x) for x in presets]
53
54
55def list_options(client):

Callers 2

list_optionsFunction · 0.70
inspectFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected