(v)
| 41 | from leaderboard.utils.route_indexer import RouteIndexer |
| 42 | |
| 43 | def str2bool(v): |
| 44 | if isinstance(v, bool): |
| 45 | return v |
| 46 | if v.lower() in ('yes', 'true', 't', 'y', '1'): |
| 47 | return True |
| 48 | elif v.lower() in ('no', 'false', 'f', 'n', '0'): |
| 49 | return False |
| 50 | else: |
| 51 | raise argparse.ArgumentTypeError('Boolean value expected.') |
| 52 | |
| 53 | sensors_to_icons = { |
| 54 | 'sensor.camera.rgb': 'carla_camera', |
nothing calls this directly
no outgoing calls
no test coverage detected