Skip to content

Commit a64c09c

Browse files
authored
Merge pull request #777 from HB-Stratos/patch-1
Update index.rst to include tip about enabling mavsdk-server debug output
2 parents 7ae6753 + 9a5b6a1 commit a64c09c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

mavsdk/source/index.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,14 @@ The examples assume that the embedded ``mavsdk_server`` binary can be run. In so
6969
Debug connection issues
7070
-----------------------
7171

72+
.. note::
73+
By default mavsdk-python will not print any output from mavsdk-server. If you are experiencing connection issues, it can pay to enable forwarding of the mavsdk-server output into the python console. You can do so with this piece of code at the top of your file:
74+
75+
.. code:: python
76+
77+
import logging
78+
logging.basicConfig(level=logging.DEBUG)
79+
7280
In order to get more debugging information, it is possible to run the mavsdk_server binary separately.
7381

7482
For this case, let's assume the example was like this:

0 commit comments

Comments
 (0)