Skip to content

Commit 66e05fd

Browse files
committed
Update to v0.23.0 server and set default args
With the new version we now need to specify the port of the grpc server.
1 parent f5d0112 commit 66e05fd

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)