From 9a5b6a1b126f31ce51d513ae1a4b8db4176cc7c3 Mon Sep 17 00:00:00 2001 From: HB-Stratos <56313836+HB-Stratos@users.noreply.github.com> Date: Tue, 22 Jul 2025 01:30:16 +0200 Subject: [PATCH] Update index.rst to include tip about enabling mavsdk-server debug output. --- mavsdk/source/index.rst | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/mavsdk/source/index.rst b/mavsdk/source/index.rst index 73f1e951..218f5cbe 100644 --- a/mavsdk/source/index.rst +++ b/mavsdk/source/index.rst @@ -69,6 +69,14 @@ The examples assume that the embedded ``mavsdk_server`` binary can be run. In so Debug connection issues ----------------------- +.. note:: + 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: + + .. code:: python + + import logging + logging.basicConfig(level=logging.DEBUG) + In order to get more debugging information, it is possible to run the mavsdk_server binary separately. For this case, let's assume the example was like this: