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_app import (
12 from carla_host import (
18 from carla_shared import (
19 handleInitialCommandLineArguments,
23 # ----------------------------------------------------------------------------------------------------------------------
26 if __name__ == '__main__':
29 # ------------------------------------------------------------------------------------------------------------------
32 initName, libPrefix = handleInitialCommandLineArguments(__file__ if "__file__" in dir() else None)
34 # ------------------------------------------------------------------------------------------------------------------
37 app = CarlaApplication("Carla2", libPrefix)
39 # ------------------------------------------------------------------------------------------------------------------
40 # Set-up custom signal handling
44 # ------------------------------------------------------------------------------------------------------------------
47 host = initHost(initName, libPrefix, False, False, True)
48 loadHostSettings(host)
50 # ------------------------------------------------------------------------------------------------------------------
53 gui = HostWindow(host, True)
55 # ------------------------------------------------------------------------------------------------------------------
60 # ------------------------------------------------------------------------------------------------------------------