code: def main():
      argparser = argparse.ArgumentParser(description=__doc__)
      argparser.add_argument(
          "--package",
          metavar="P",
          default="map_package",
          help="Name of the imported package",
      )
      argparser.add_argument(
          "--no-carla-materials",
          action="store_false",
          help="user Carla materials",
      )
      argparser.add_argument(
          "--json-only",
          action="store_true",
          help="Create JSON files only",
      )
      argparser.add_argument(
          "--batch-size",
          type=float,
          default=300,
          help="Max batch size in MB",
      )
      args = argparser.parse_known_args()[0]
  
      import_folder = os.path.join(CARLA_ROOT_PATH, "Import")
      json_list = get_packages_json_list(import_folder)
      decals_json = get_decals_json_file(import_folder)
  
      if len(json_list) < 1:
          json_list = generate_json_package(
              import_folder, args.package, args.no_carla_materials
          )
  
      if len(decals_json) == 0:
          decals_json_file = generate_decals_file(import_folder)
  
      if args.json_only == False:
          copy_roadpainter_config_files(args.package)
          import_assets_from_json_list(json_list, args.batch_size)
  
imports: from __future__ import print_function
  import errno
  import fnmatch
  import glob
  import json
  import os
  import shutil
  import subprocess
  import sys
  import argparse
  import threading
  import copy
  import carla
label_desc: Use image node_id 16 for calling a global function with example usage: main() without return types