Skip to content

Commit 7d97870

Browse files
authored
Merge pull request #147 from mavlink/pr-fix-server-args
Update to v0.23.0 server and set default args
2 parents f5d0112 + 66e05fd commit 7d97870

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

MAVSDK_SERVER_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v0.22.0
1+
v0.23.0

mavsdk/system.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ def shell(self) -> Shell:
140140
if "shell" not in self._plugins:
141141
raise RuntimeError("Shell plugin has not been initialized! Did you run `System.connect()`?")
142142
return self._plugins["shell"]
143-
143+
144144
@property
145145
def mocap(self) -> Mocap:
146146
if "mocap" not in self._plugins:
@@ -163,7 +163,7 @@ def _start_mavsdk_server(system_address=None):
163163
from importlib_resources import path
164164

165165
with path(bin, 'mavsdk_server') as backend:
166-
bin_path_and_args = [os.fspath(backend)]
166+
bin_path_and_args = [os.fspath(backend), "-p", "50051"]
167167
if system_address:
168168
bin_path_and_args.append(system_address)
169169
p = subprocess.Popen(bin_path_and_args,

0 commit comments

Comments
 (0)