2 # SPDX-FileCopyrightText: 2011-2024 Filipe Coelho <falktx@falktx.com>
3 # SPDX-License-Identifier: GPL-2.0-or-later
5 # ----------------------------------------------------------------------------------------------------------------------
6 # Imports (Custom Stuff)
8 from carla_host import *
10 # ----------------------------------------------------------------------------------------------------------------------
13 if __name__ == '__main__':
16 # ------------------------------------------------------------------------------------------------------------------
19 initName, libPrefix = handleInitialCommandLineArguments(__file__ if "__file__" in dir() else None)
21 # ------------------------------------------------------------------------------------------------------------------
24 app = CarlaApplication("Carla2-Rack", libPrefix)
26 # ------------------------------------------------------------------------------------------------------------------
27 # Set-up custom signal handling
31 # ------------------------------------------------------------------------------------------------------------------
34 os.environ["CARLA_NSM_NAME"] = "Carla-Rack"
36 host = initHost(initName, libPrefix, False, False, True)
37 host.processMode = ENGINE_PROCESS_MODE_CONTINUOUS_RACK
38 host.processModeForced = True
39 loadHostSettings(host)
41 # ------------------------------------------------------------------------------------------------------------------
44 gui = HostWindow(host, not(LADISH_APP_NAME or NSM_URL))
46 # ------------------------------------------------------------------------------------------------------------------
51 # ------------------------------------------------------------------------------------------------------------------