Skip to content

Commit

Permalink
Merge pull request #629 from mavlink/pr-readme-and-jetson-install
Browse files Browse the repository at this point in the history
Badge fix and Jetson install
  • Loading branch information
julianoes authored Oct 16, 2023
2 parents b0a15f1 + 0598836 commit cd941eb
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
5 changes: 5 additions & 0 deletions mavsdk/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ MAVSDK-Python API reference

system
plugins/index
jetson-nano-install

Important Notes
---------------
Expand Down Expand Up @@ -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
----------------

Expand Down
40 changes: 40 additions & 0 deletions mavsdk/source/jetson-nano-install.rst
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit cd941eb

Please sign in to comment.