Skip to content

Commit 1cab2dc

Browse files
committed
system: fix indentin, improve spacing
1 parent f72fa8f commit 1cab2dc

File tree

1 file changed

+14
-6
lines changed

1 file changed

+14
-6
lines changed

mavsdk/system.py

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -230,13 +230,21 @@ def _start_mavsdk_server(system_address=None):
230230
stderr=subprocess.DEVNULL)
231231
except FileNotFoundError:
232232
print("""
233-
It seems like this installation does not provide an embedded 'mavsdk_server' binary. If you installed from pip, it means that 'mavsdk_server' is not distributed for your platform (yet). You will need to get and run it manually:
233+
This installation does not provide an embedded 'mavsdk_server' binary.
234+
If you installed using pip, this means that 'mavsdk_server' is not distributed
235+
for your platform yet (e.g. arm).
234236
235-
1. Download 'mavsdk_server' from releases: https://github.com/mavlink/mavsdk/releases (or build it from source).
236-
2. Run it, e.g. on port 50051: './mavsdk_server -p 50051'.
237-
3. Set the 'mavsdk_server_address' and port when creating the System:
238-
'drone = System(mavsdk_server_address='localhost', port=50051)'
239-
""")
237+
You will need to get and run the 'mavsdk_server' binary manually:
238+
239+
1. Download 'mavsdk_server' from: https://github.com/mavlink/mavsdk/releases
240+
or build it from source.
241+
242+
2. Run it, e.g. on port 50051:
243+
'./mavsdk_server -p 50051'
244+
245+
3. Set the 'mavsdk_server_address' and port when creating the System:
246+
'drone = System(mavsdk_server_address='localhost', port=50051)'
247+
""")
240248
sys.exit(1)
241249

242250
def cleanup():

0 commit comments

Comments
 (0)