diff --git a/README.md b/README.md index ed60ea3f..372622fa 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # MAVSDK-Python -[![GitHub Actions Status](https://github.com/mavlink/MAVSDK-Python/workflows/PyPi%20Upload/badge.svg?branch=main)](https://github.com/mavlink/MAVSDK-Python/actions?query=branch%3Amain) +[![GitHub Actions Status](https://github.com/mavlink/MAVSDK-Python/workflows/Check%20and%20PyPi%20Upload/badge.svg?branch=main)](https://github.com/mavlink/MAVSDK-Python/actions/workflows/main.yml?query=branch%3Amain) This is the Python wrapper for MAVSDK. diff --git a/mavsdk/source/index.rst b/mavsdk/source/index.rst index 28877384..373ab580 100644 --- a/mavsdk/source/index.rst +++ b/mavsdk/source/index.rst @@ -19,6 +19,7 @@ MAVSDK-Python API reference system plugins/index + jetson-nano-install Important Notes --------------- @@ -50,6 +51,10 @@ The package contains ``mavsdk_server`` already (previously called "backend"), wh Note: ``System()`` takes two named parameters: ``mavsdk_server_address`` and ``port``. When left empty, they default to ``None`` and ``50051``, respectively, and ``mavsdk_server -p 50051`` is run by ``await drone.connect()``. If ``mavsdk_server_address`` is set (e.g. to "localhost"), then ``await drone.connect()`` will not start the embedded ``mavsdk_server`` and will try to connect to a server running at this address. This is useful for platforms where ``mavsdk_server`` does not come embedded, for debugging purposes, and for running ``mavsdk_server`` in a place different than where the MAVSDK-Python script is run. +For specific platforms, check the detailed install instructions: + +* :ref:`jetson-nano-install` + Run the examples ---------------- diff --git a/mavsdk/source/jetson-nano-install.rst b/mavsdk/source/jetson-nano-install.rst new file mode 100644 index 00000000..91e029c3 --- /dev/null +++ b/mavsdk/source/jetson-nano-install.rst @@ -0,0 +1,40 @@ +.. _jetson-nano-install: + +Jetson Nano Install +=================== + +Ubuntu 18.04 +------------ + +To install MAVSDK-Python on a Jetson Nano with Ubuntu 18.04 (which is old and pas end-of-life, by the way), you need to get a newer version of Python 3 and make sure pip is up-to-date. + +Install Python 3.8: + +.. code:: bash + + sudo apt update + sudo apt install python3.8 + + +Upgrade pip: + +.. code:: bash + + python3.8 -m pip install --upgrade pip + +Now install mavsdk: + +.. code:: bash + + python3.8 -m pip install --upgrade mavsdk + +Ubuntu 20.04 +------------ + +The normal instructions should work with Ubuntu 20.04: + +Install mavsdk: + +.. code:: bash + + python3 -m pip install --upgrade mavsdk