Skip to content

Commit

Permalink
Merge pull request #147 from mavlink/pr-fix-server-args
Browse files Browse the repository at this point in the history
Update to v0.23.0 server and set default args
  • Loading branch information
julianoes authored Dec 19, 2019
2 parents f5d0112 + 66e05fd commit 7d97870
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion MAVSDK_SERVER_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v0.22.0
v0.23.0
4 changes: 2 additions & 2 deletions mavsdk/system.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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,
Expand Down

0 comments on commit 7d97870

Please sign in to comment.