From 4f7eba7550244308f57a7f119515fbd962a57b0f Mon Sep 17 00:00:00 2001 From: Diego Ferigo Date: Wed, 13 Oct 2021 13:01:56 +0200 Subject: [PATCH] Export IGN_GAZEBO_SERVER_CONFIG_PATH from Python --- scenario/bindings/__init__.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scenario/bindings/__init__.py b/scenario/bindings/__init__.py index da41fc360..8e4d1520c 100644 --- a/scenario/bindings/__init__.py +++ b/scenario/bindings/__init__.py @@ -60,6 +60,11 @@ def setup_gazebo_environment() -> None: os.environ["IGN_GAZEBO_SYSTEM_PLUGIN_PATH"] = ign_gazebo_system_plugin_path + # Do not load the default server plugins + # https://github.com/ignitionrobotics/ign-gazebo/pull/281 + if "IGN_GAZEBO_SERVER_CONFIG_PATH" not in os.environ: + os.environ["IGN_GAZEBO_SERVER_CONFIG_PATH"] = "" + def preload_tensorflow_shared_libraries() -> None: