MCPcopy Create free account
hub / github.com/OpenDriveLab/TCP / _get_recorder_map

Method _get_recorder_map

scenario_runner/metrics_manager.py:116–124  ·  view source on GitHub ↗

Returns the name of the map the simulation took place in

(self, recorder_str)

Source from the content-addressed store, hash-verified

114 sys.exit(-1)
115
116 def _get_recorder_map(self, recorder_str):
117 """
118 Returns the name of the map the simulation took place in
119 """
120
121 header = recorder_str.split("\n")
122 sim_map = header[1][5:]
123
124 return sim_map
125
126
127def main():

Callers 1

__init__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected