Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Badge fix and Jetson install #629

Merged
merged 3 commits into from
Oct 16, 2023
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
29 changes: 29 additions & 0 deletions mavsdk/source/jetson-nano-install.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
.. _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
Loading