diff --git a/MAVSDK_SERVER_VERSION b/MAVSDK_SERVER_VERSION index 4f279437..0c2a959e 100644 --- a/MAVSDK_SERVER_VERSION +++ b/MAVSDK_SERVER_VERSION @@ -1 +1 @@ -v0.22.0 +v0.23.0 diff --git a/mavsdk/system.py b/mavsdk/system.py index ea33283b..eae9e8ff 100644 --- a/mavsdk/system.py +++ b/mavsdk/system.py @@ -140,7 +140,7 @@ def shell(self) -> Shell: if "shell" not in self._plugins: raise RuntimeError("Shell plugin has not been initialized! Did you run `System.connect()`?") return self._plugins["shell"] - + @property def mocap(self) -> Mocap: if "mocap" not in self._plugins: @@ -163,7 +163,7 @@ def _start_mavsdk_server(system_address=None): from importlib_resources import path with path(bin, 'mavsdk_server') as backend: - bin_path_and_args = [os.fspath(backend)] + bin_path_and_args = [os.fspath(backend), "-p", "50051"] if system_address: bin_path_and_args.append(system_address) p = subprocess.Popen(bin_path_and_args,