diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 00000000..782500ad --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,177 @@ +name: PyPi Upload + +on: + push: + branches: + - 'master' + - 'develop' + tags: + - 'v*' + pull_request: + branches: + - '*' + +jobs: + ubuntu20: + name: Ubuntu 20.04 x86_64 + runs-on: ubuntu-20.04 + steps: + - uses: actions/checkout@v1 + with: + submodules: recursive + + - name: Get tags + run: | + git fetch --tags + echo $? + git tag --list + + - name: Install patchelf + run: sudo apt-get install -y patchelf python3-pip + + - name: Install prerequisites + run: | + pip3 install -r requirements.txt -r requirements-dev.txt + pip3 install auditwheel + + - name: Create wheel + run: | + python3 setup.py bdist_wheel + mkdir wheelhouse + export PATH=$PATH:$HOME/.local/bin + auditwheel repair --plat manylinux2014_x86_64 dist/*.whl + + - name: Check the artifacts + run: | + ls -lh "wheelhouse/" + + - name: Upload to PyPi + if: startsWith(github.ref, 'refs/tags/') + run: | + TWINE_NON_INTERACTIVE=1 twine upload wheelhouse/*.whl + + ubuntu20-other: + name: Ubuntu 20.04 ${{ matrix.arch }} + runs-on: ubuntu-20.04 + + strategy: + matrix: + include: + - arch: armv6l + - arch: armv7l + - arch: aarch64 + + steps: + - uses: actions/checkout@v1 + with: + submodules: recursive + + - name: Get tags + run: | + git fetch --tags + echo $? + git tag --list + + - name: Install patchelf + run: sudo apt-get install -y patchelf python3-pip + + - name: Install prerequisites + run: | + pip3 install -r requirements.txt -r requirements-dev.txt + + - name: Create wheel + run: | + export MAVSDK_SERVER_ARCH=${{ matrix.arch }} + python3 setup.py bdist_wheel + ls dist/*any.whl | sed -e 'p;s/any/linux_${{ matrix.arch }}/' | xargs -n2 mv + + - name: Check the artifacts + run: | + ls -lh "dist/" + + - name: Upload to PyPi + if: startsWith(github.ref, 'refs/tags/') + run: | + TWINE_NON_INTERACTIVE=1 twine upload dist/*.whl + + macOS: + name: macOS + runs-on: macos-latest + steps: + - uses: actions/checkout@v1 + with: + submodules: recursive + + - name: Get tags + run: | + git fetch --tags + echo $? + git tag --list + + - name: Install prerequisites + run: | + pip3 install -r requirements.txt -r requirements-dev.txt + pip3 install delocate twine + + - name: Create wheel + run: | + python3 setup.py bdist_wheel + delocate-wheel -w wheelhouse -v dist/*.whl + ls wheelhouse/*any.whl | sed -e 'p;s/any/macosx_10_9_x86_64/' | xargs -n2 mv + + - name: Check the artifacts + run: | + ls -lh "wheelhouse/" + + - name: Upload to PyPi + if: startsWith(github.ref, 'refs/tags/') + run: | + TWINE_NON_INTERACTIVE=1 twine upload wheelhouse/*.whl + + Windows: + name: Windows (${{ matrix.arch }}) + runs-on: windows-latest + + strategy: + matrix: + include: + - arch: x86 + wheel_arch: win32 + - arch: x64 + wheel_arch: win_amd64 + + steps: + - uses: actions/checkout@v1 + with: + submodules: recursive + + - name: Get tags + run: | + git fetch --tags + echo $? + git tag --list + + - name: Set up Python + uses: actions/setup-python@v2 + with: + python-version: 3.7 + architecture: ${{ matrix.arch }} + + - name: Install prerequisites + run: | + pip3 install -r requirements.txt -r requirements-dev.txt + pip3 install twine wheel + + - name: Create wheel + run: | + python setup.py bdist_wheel + Dir "dist/" | rename-item -NewName {$_.name -replace '-any.whl','-${{ matrix.wheel_arch }}.whl'} + + - name: Check the artifacts + run: | + ls "dist/" + + - name: Upload to PyPi + if: startsWith(github.ref, 'refs/tags/') + run: | + TWINE_NON_INTERACTIVE=1 twine upload dist/*.whl diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index d5a653d7..00000000 --- a/.travis.yml +++ /dev/null @@ -1,128 +0,0 @@ -language: python -branches: - only: - - master - - "/^\\d+\\.\\d+\\.\\d+$/" -matrix: - fast_finish: true - include: - - os: linux - name: linux (pure wheel) - dist: bionic - python: - - 3.6 - - 3.7 - before_install: - python3 --version; - pip3 --version; - env: - - BUILD_TARGET=linux_pure_wheel - - PYTHON_BIN=python3 - - MAVSDK_BUILD_PURE=ON - addons: - apt: - packages: - - patchelf - - os: linux - name: Linux - dist: bionic - python: - - 3.6 - - 3.7 - before_install: - python3 --version; - pip3 --version; - env: - - BUILD_TARGET=linux - - PYTHON_BIN=python3 - addons: - apt: - packages: - - patchelf - - os: osx - name: macOS - osx_image: xcode11.2 - language: shell # python not working - before_install: - python3 --version; - pip3 --version; - env: - - BUILD_TARGET=macos - - PYTHON_BIN=python3 - - os: windows - language: shell # python not supported yet - name: windows64 - before_install: - choco install python3 --version=3.7.5; - python -m pip install --upgrade pip; - python --version; - pip3 --version; - env: - - BUILD_TARGET=windows64 - - PATH=/c/Python37:/c/Python37/Scripts:$PATH - - PYTHON_BIN=python - - os: windows - language: shell # python not supported yet - name: windows32 - before_install: - choco install python3 --forcex86 --version=3.7.5; - python -m pip install --upgrade pip; - python --version; - pip3 --version; - env: - - BUILD_TARGET=windows32 - - PATH=/c/Python37:/c/Python37/Scripts:$PATH - - PYTHON_BIN=python -install: -- set -e -- pip3 install -r requirements.txt -r requirements-dev.txt -- pip3 install auditwheel twine -- if [[ "${BUILD_TARGET}" = "linux" ]]; then - pip3 install sphinx numpydoc s3cmd; - fi -- if [[ "${BUILD_TARGET}" = "macos" ]]; then - pip3 install delocate; - fi -script: -- set -e -- $PYTHON_BIN setup.py bdist_wheel -- if [[ "${BUILD_TARGET}" = "linux_pure_wheel" ]]; then - mkdir wheelhouse; - mv dist/*.whl wheelhouse; - fi -- if [[ "${BUILD_TARGET}" = "linux" ]]; then - auditwheel repair --plat manylinux2010_x86_64 dist/*.whl; - make -C mavsdk html; - fi -- if [[ "${BUILD_TARGET}" = "macos" ]]; then - delocate-wheel -w wheelhouse -v dist/*.whl; - ls wheelhouse/*any.whl | sed -e 'p;s/any/macosx_10_9_x86_64/' | xargs -n2 mv; - fi -- if [[ "${BUILD_TARGET}" = "windows64" ]]; then - mkdir wheelhouse; - ls dist/*any.whl | sed -e 'p;s/any/win_amd64/' | xargs -n2 cp; - mv dist/*win_amd64.whl wheelhouse/; - fi -- if [[ "${BUILD_TARGET}" = "windows32" ]]; then - mkdir wheelhouse; - ls dist/*any.whl | sed -e 'p;s/any/win32/' | xargs -n2 cp; - mv dist/*win32.whl wheelhouse/; - fi -- if [[ ! -z "${TRAVIS_TAG}" ]]; then - echo "Deploying to PyPi"; - TWINE_NON_INTERACTIVE=1 twine upload wheelhouse/*.whl; - else - echo "Not deploying without git tag."; - fi -- if [[ "${BUILD_TARGET}" = "linux" ]] && [[ ! -z "${TRAVIS_TAG}" ]]; then - echo "Uploading docs"; - other/tools/upload_docs.sh; - else - echo "Not uploading docs without git tag."; - fi -env: - global: - - secure: cpJLKiOqUTYB1ozkVus4SlPBP/XJ1uUxfMKos+XLWxEVOTguLIW+bKhLfquY9+PlY2rajl5jxxzrX5RZOgZR0fbHHh9FAzioWhzEEUQb76IKnDD7St8J6Pq65bO1Vk8o0sdtQ+ht8+RK54TJL6d8jxVh4RNV3txBB6wFzkFcw5WTDxgWr/+HsYfC9IQkIXGf8NJmvdCUBunL2xDULZ3rlPzEG/YmXjR79g51juNWvZjDKFjLmpHe/qN8VSws1QrI7tKtTtNrNutlAVnOWSlcnJspzex0WfG4EINyjJH7WQZppLiax55jWSBAzxee3/7jXyDVDOJBPl8JT/GyqoQL/qHDmiJuHm53Ktpgg0saGlcSuYuA643PVVJ2Q1SerTtboukJIfNi08GykSPLIbT6PHqhB7NzaA+rWXWgTIoMUyPQ38M+/2lpVqNc6fwAClAbYrJKxyiH7g6GLShV5/UOqDWK18OGGYnpWs+X2eFPXFXLVfZ540VvqlZimwMd6PZuB6RpgKBcBPH1FMac1dE0+FaNHHHj9KNONkiTfzJCFEThwTtS0z3xrKzq8q8iAmbbhTKMJjwID0hpdKdfvzxkPW7IJiW/zG5X2WBL5gB2bhKhpkiozZCuO087aPxPx6Y+Jua5nt3hm3p1tVqZD3hX+SNv4ymHXfsyeIvweLKi0QQ= - - secure: CiOtzgly9Rl0KwaA3W3FJTzSaUoSpRVPgSRj+x9UdmDBKHm9dvW3kc5amsUKzx7jF9qb2Cuyw2Bg9kmq7SIIqvvN14/3NkzTb2aDpE+f/O627asKJlrr5CuQtmwFX//ZjLIeLFPySBj/Oz1SUz39hqtRVkyTAPfvxiVu52AQveXqyxhcgC5ALI/kIAVaWeKBqH8f6PJ5HUphL2u+QOO1/r88tEumbmVUA6tvQZxHUsu7tU1SOwB4SAfCwTfwJ8h0ZUEicuTkUB3KJc6gDWF8i2AUi1akrysAO4DDd606K1APA7QusTq+PP16tG23ul6kmme8SNRXZUouqGv902giif3TZdJqSyoPkih4TTUUeQ47xBQ81EJba5lXbEZIu4N3Soxl6RSa6O85LNuc9XKxNSEbruRWROxg+hMBh+8403S4NlWfxnri4SwM8iM98psWjTGyl/JLLNU7JJniiuBY5coEV65XzP/6gnAdo1TGy3kdolnTeocT1Nrx0WSH8LxZM6LhWdt2uV1eJK4NT2MhxW8CI/S6BGiwZV/31+HfMUoseEjYPPaGFDazIWtC6WWlPRFLsk1cktNjK+/KxDThkVBW+kkiGrqifRi8u+TNjWLRJbotNnDq5RYipvXjCIurl1UlPIDx6l7JnJjknblu35JjjOevOn/WDIJdpDTODdw= - - secure: "i463L2HfNTEHibQlvpyHRwN/x5F4s2bgCrcdltECTFUIFIFz8Q8Anh3RdRxQ5YGFMhkGNRYInWSRi39GiVUC2hK2CpWDsM8pCGVSZrXPo6kyS7V0n8xtJ97OzEfSreFDJxdOBhwVub8qZs5/CL8BdgTOESMEzFhbyqwH7Pl/JZtSkMcOaTdTbZ1N90Q8qDcqnviQicbNdlwKoGlEPc+sCe73o+6WX0bUOeQ4v6llFYJaTw/sbxRE8jDtIGI6IofOg/7NakhJmy3YJxRIQrvMlzW/cTMkmfXXaTorrbwic9oTsUKRNattM45lmzYXQR5qXMftDVcEPxZEQkq6Zz3/MQphsE4UvkoFMzThmdH3KLofmXrHxZq4HOKvDfyVGSrVSv6h2eRAIBxSuF5rxxz1VH8J3vY1k03Ep8/Re1FMJIMcVk/LVKl9xNuKTvJuEMZqutQeokMllbwJAv6oMgpEaMQkE+b/QWugKPcF+45xmsPolUYBccxzZV1qO+SCAfjGIUMtkYkEERx0+fIxHAuY8Mib94RXdF3xU0YpBm7ECvxAyKryq2M+610zr3dzXtGYS5P5LM6+VsQ4MOi4bVWiSWYJlGSCWGSsdzR0DWKoMHseph/b89zgNmdQDF0fjFqAtDbmpm+fGhBC4q8WaDzWoiKfJp7yH8i20IpFUVo+Slo=" - - secure: "VcVAbynPBZLJmOHQAge4vx+knaL6ysNAu3W941or/5ZKZB/X4F1uYxgmxKBZ/JKzIVQgSKW8C/1mredWXOAnukxoGla5ZAqY6LovMXLPx+RuwbBPWfocviGGxxldGKygKbMPh7WE3yvVJJtDCo8BV5wil3wmrVHo4fU+xva9I/cJ5oyt+bUv9u75ZE1IY9BkrN9jNvU9e06cp4rqBtkHjEffhw45p9O+vp559xLfzb5n4paWp0BV1IXB2PrOr/HE/O9jr9Pr9SmVKkqEdb20OIKcbHNarQpQCExOd8ML5XTMzVSvdF1nFwzHtP8ss/ec2khBUizcQWzKO2fyJKJbpeuJTaFhvEAtwZ47Gztqa2Z26jZK2vzG3JE1hPrp5cUk6qDgYb6BpH5s5ZC9g1lJseN9GZhbyj2Vgnxd8G12u6jeIX/kgHFbcYMavinR9WH8sL9fChQAsf+QSCdFtb/hZjZJtOnNKPs24qXlOXMK31NBtgrOYRzIhiw1pyxXqAdg01/ub0lUfjf2TahRhk8njRWZ2Qd7IJFUMSc1Y0X+Zc26oTNaLUOn6rTYZrWXjvkvh0CVCCrHuiENUg3xRvT1qW58wRpADORk11zz/ZheQjb2PatV9H6R6b65XSa5BsJq5TBnYmB8XGeOBQ7TEGmN7qu67/ncAmY0lLd7/ZdD5Ak=" diff --git a/MAVSDK_SERVER_VERSION b/MAVSDK_SERVER_VERSION index c173e42d..865dd1a0 100644 --- a/MAVSDK_SERVER_VERSION +++ b/MAVSDK_SERVER_VERSION @@ -1 +1 @@ -v0.30.1 +v0.33.1 diff --git a/README.md b/README.md index 98754a11..36301301 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # MAVSDK-Python -[![Build Status](https://travis-ci.org/mavlink/MAVSDK-Python.svg?branch=master)](https://travis-ci.org/mavlink/MAVSDK-Python) +[![GitHub Actions Status](https://github.com/mavlink/MAVSDK-Python/workflows/PyPi Upload/badge.svg?branch=master)](https://github.com/mavlink/MAVSDK-Python/actions?query=branch%3Amaster) This is the Python wrapper for MAVSDK. diff --git a/mavsdk/action_pb2.py b/mavsdk/action_pb2.py index 09b9570b..b7442c8c 100644 --- a/mavsdk/action_pb2.py +++ b/mavsdk/action_pb2.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: action/action.proto - +"""Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection diff --git a/mavsdk/action_pb2_grpc.py b/mavsdk/action_pb2_grpc.py index f411f90f..b87ee84b 100644 --- a/mavsdk/action_pb2_grpc.py +++ b/mavsdk/action_pb2_grpc.py @@ -406,6 +406,7 @@ def Arm(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -414,7 +415,7 @@ def Arm(request, action_dot_action__pb2.ArmRequest.SerializeToString, action_dot_action__pb2.ArmResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def Disarm(request, @@ -422,6 +423,7 @@ def Disarm(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -430,7 +432,7 @@ def Disarm(request, action_dot_action__pb2.DisarmRequest.SerializeToString, action_dot_action__pb2.DisarmResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def Takeoff(request, @@ -438,6 +440,7 @@ def Takeoff(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -446,7 +449,7 @@ def Takeoff(request, action_dot_action__pb2.TakeoffRequest.SerializeToString, action_dot_action__pb2.TakeoffResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def Land(request, @@ -454,6 +457,7 @@ def Land(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -462,7 +466,7 @@ def Land(request, action_dot_action__pb2.LandRequest.SerializeToString, action_dot_action__pb2.LandResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def Reboot(request, @@ -470,6 +474,7 @@ def Reboot(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -478,7 +483,7 @@ def Reboot(request, action_dot_action__pb2.RebootRequest.SerializeToString, action_dot_action__pb2.RebootResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def Shutdown(request, @@ -486,6 +491,7 @@ def Shutdown(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -494,7 +500,7 @@ def Shutdown(request, action_dot_action__pb2.ShutdownRequest.SerializeToString, action_dot_action__pb2.ShutdownResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def Terminate(request, @@ -502,6 +508,7 @@ def Terminate(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -510,7 +517,7 @@ def Terminate(request, action_dot_action__pb2.TerminateRequest.SerializeToString, action_dot_action__pb2.TerminateResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def Kill(request, @@ -518,6 +525,7 @@ def Kill(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -526,7 +534,7 @@ def Kill(request, action_dot_action__pb2.KillRequest.SerializeToString, action_dot_action__pb2.KillResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ReturnToLaunch(request, @@ -534,6 +542,7 @@ def ReturnToLaunch(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -542,7 +551,7 @@ def ReturnToLaunch(request, action_dot_action__pb2.ReturnToLaunchRequest.SerializeToString, action_dot_action__pb2.ReturnToLaunchResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GotoLocation(request, @@ -550,6 +559,7 @@ def GotoLocation(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -558,7 +568,7 @@ def GotoLocation(request, action_dot_action__pb2.GotoLocationRequest.SerializeToString, action_dot_action__pb2.GotoLocationResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def TransitionToFixedwing(request, @@ -566,6 +576,7 @@ def TransitionToFixedwing(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -574,7 +585,7 @@ def TransitionToFixedwing(request, action_dot_action__pb2.TransitionToFixedwingRequest.SerializeToString, action_dot_action__pb2.TransitionToFixedwingResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def TransitionToMulticopter(request, @@ -582,6 +593,7 @@ def TransitionToMulticopter(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -590,7 +602,7 @@ def TransitionToMulticopter(request, action_dot_action__pb2.TransitionToMulticopterRequest.SerializeToString, action_dot_action__pb2.TransitionToMulticopterResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetTakeoffAltitude(request, @@ -598,6 +610,7 @@ def GetTakeoffAltitude(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -606,7 +619,7 @@ def GetTakeoffAltitude(request, action_dot_action__pb2.GetTakeoffAltitudeRequest.SerializeToString, action_dot_action__pb2.GetTakeoffAltitudeResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SetTakeoffAltitude(request, @@ -614,6 +627,7 @@ def SetTakeoffAltitude(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -622,7 +636,7 @@ def SetTakeoffAltitude(request, action_dot_action__pb2.SetTakeoffAltitudeRequest.SerializeToString, action_dot_action__pb2.SetTakeoffAltitudeResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetMaximumSpeed(request, @@ -630,6 +644,7 @@ def GetMaximumSpeed(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -638,7 +653,7 @@ def GetMaximumSpeed(request, action_dot_action__pb2.GetMaximumSpeedRequest.SerializeToString, action_dot_action__pb2.GetMaximumSpeedResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SetMaximumSpeed(request, @@ -646,6 +661,7 @@ def SetMaximumSpeed(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -654,7 +670,7 @@ def SetMaximumSpeed(request, action_dot_action__pb2.SetMaximumSpeedRequest.SerializeToString, action_dot_action__pb2.SetMaximumSpeedResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetReturnToLaunchAltitude(request, @@ -662,6 +678,7 @@ def GetReturnToLaunchAltitude(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -670,7 +687,7 @@ def GetReturnToLaunchAltitude(request, action_dot_action__pb2.GetReturnToLaunchAltitudeRequest.SerializeToString, action_dot_action__pb2.GetReturnToLaunchAltitudeResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SetReturnToLaunchAltitude(request, @@ -678,6 +695,7 @@ def SetReturnToLaunchAltitude(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -686,4 +704,4 @@ def SetReturnToLaunchAltitude(request, action_dot_action__pb2.SetReturnToLaunchAltitudeRequest.SerializeToString, action_dot_action__pb2.SetReturnToLaunchAltitudeResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/mavsdk/calibration_pb2.py b/mavsdk/calibration_pb2.py index 8e1581bc..a0cb4079 100644 --- a/mavsdk/calibration_pb2.py +++ b/mavsdk/calibration_pb2.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: calibration/calibration.proto - +"""Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection diff --git a/mavsdk/calibration_pb2_grpc.py b/mavsdk/calibration_pb2_grpc.py index 972d1fa4..c373f1a7 100644 --- a/mavsdk/calibration_pb2_grpc.py +++ b/mavsdk/calibration_pb2_grpc.py @@ -143,6 +143,7 @@ def SubscribeCalibrateGyro(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -151,7 +152,7 @@ def SubscribeCalibrateGyro(request, calibration_dot_calibration__pb2.SubscribeCalibrateGyroRequest.SerializeToString, calibration_dot_calibration__pb2.CalibrateGyroResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SubscribeCalibrateAccelerometer(request, @@ -159,6 +160,7 @@ def SubscribeCalibrateAccelerometer(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -167,7 +169,7 @@ def SubscribeCalibrateAccelerometer(request, calibration_dot_calibration__pb2.SubscribeCalibrateAccelerometerRequest.SerializeToString, calibration_dot_calibration__pb2.CalibrateAccelerometerResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SubscribeCalibrateMagnetometer(request, @@ -175,6 +177,7 @@ def SubscribeCalibrateMagnetometer(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -183,7 +186,7 @@ def SubscribeCalibrateMagnetometer(request, calibration_dot_calibration__pb2.SubscribeCalibrateMagnetometerRequest.SerializeToString, calibration_dot_calibration__pb2.CalibrateMagnetometerResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SubscribeCalibrateLevelHorizon(request, @@ -191,6 +194,7 @@ def SubscribeCalibrateLevelHorizon(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -199,7 +203,7 @@ def SubscribeCalibrateLevelHorizon(request, calibration_dot_calibration__pb2.SubscribeCalibrateLevelHorizonRequest.SerializeToString, calibration_dot_calibration__pb2.CalibrateLevelHorizonResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SubscribeCalibrateGimbalAccelerometer(request, @@ -207,6 +211,7 @@ def SubscribeCalibrateGimbalAccelerometer(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -215,7 +220,7 @@ def SubscribeCalibrateGimbalAccelerometer(request, calibration_dot_calibration__pb2.SubscribeCalibrateGimbalAccelerometerRequest.SerializeToString, calibration_dot_calibration__pb2.CalibrateGimbalAccelerometerResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def Cancel(request, @@ -223,6 +228,7 @@ def Cancel(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -231,4 +237,4 @@ def Cancel(request, calibration_dot_calibration__pb2.CancelRequest.SerializeToString, calibration_dot_calibration__pb2.CancelResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/mavsdk/camera_pb2.py b/mavsdk/camera_pb2.py index 9368da1a..12ec5ff1 100644 --- a/mavsdk/camera_pb2.py +++ b/mavsdk/camera_pb2.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: camera/camera.proto - +"""Generated protocol buffer code.""" from google.protobuf.internal import enum_type_wrapper from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message diff --git a/mavsdk/camera_pb2_grpc.py b/mavsdk/camera_pb2_grpc.py index 4e4f4078..2e29bb8d 100644 --- a/mavsdk/camera_pb2_grpc.py +++ b/mavsdk/camera_pb2_grpc.py @@ -392,6 +392,7 @@ def TakePhoto(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -400,7 +401,7 @@ def TakePhoto(request, camera_dot_camera__pb2.TakePhotoRequest.SerializeToString, camera_dot_camera__pb2.TakePhotoResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def StartPhotoInterval(request, @@ -408,6 +409,7 @@ def StartPhotoInterval(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -416,7 +418,7 @@ def StartPhotoInterval(request, camera_dot_camera__pb2.StartPhotoIntervalRequest.SerializeToString, camera_dot_camera__pb2.StartPhotoIntervalResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def StopPhotoInterval(request, @@ -424,6 +426,7 @@ def StopPhotoInterval(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -432,7 +435,7 @@ def StopPhotoInterval(request, camera_dot_camera__pb2.StopPhotoIntervalRequest.SerializeToString, camera_dot_camera__pb2.StopPhotoIntervalResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def StartVideo(request, @@ -440,6 +443,7 @@ def StartVideo(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -448,7 +452,7 @@ def StartVideo(request, camera_dot_camera__pb2.StartVideoRequest.SerializeToString, camera_dot_camera__pb2.StartVideoResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def StopVideo(request, @@ -456,6 +460,7 @@ def StopVideo(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -464,7 +469,7 @@ def StopVideo(request, camera_dot_camera__pb2.StopVideoRequest.SerializeToString, camera_dot_camera__pb2.StopVideoResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def StartVideoStreaming(request, @@ -472,6 +477,7 @@ def StartVideoStreaming(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -480,7 +486,7 @@ def StartVideoStreaming(request, camera_dot_camera__pb2.StartVideoStreamingRequest.SerializeToString, camera_dot_camera__pb2.StartVideoStreamingResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def StopVideoStreaming(request, @@ -488,6 +494,7 @@ def StopVideoStreaming(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -496,7 +503,7 @@ def StopVideoStreaming(request, camera_dot_camera__pb2.StopVideoStreamingRequest.SerializeToString, camera_dot_camera__pb2.StopVideoStreamingResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SetMode(request, @@ -504,6 +511,7 @@ def SetMode(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -512,7 +520,7 @@ def SetMode(request, camera_dot_camera__pb2.SetModeRequest.SerializeToString, camera_dot_camera__pb2.SetModeResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SubscribeMode(request, @@ -520,6 +528,7 @@ def SubscribeMode(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -528,7 +537,7 @@ def SubscribeMode(request, camera_dot_camera__pb2.SubscribeModeRequest.SerializeToString, camera_dot_camera__pb2.ModeResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SubscribeInformation(request, @@ -536,6 +545,7 @@ def SubscribeInformation(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -544,7 +554,7 @@ def SubscribeInformation(request, camera_dot_camera__pb2.SubscribeInformationRequest.SerializeToString, camera_dot_camera__pb2.InformationResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SubscribeVideoStreamInfo(request, @@ -552,6 +562,7 @@ def SubscribeVideoStreamInfo(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -560,7 +571,7 @@ def SubscribeVideoStreamInfo(request, camera_dot_camera__pb2.SubscribeVideoStreamInfoRequest.SerializeToString, camera_dot_camera__pb2.VideoStreamInfoResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SubscribeCaptureInfo(request, @@ -568,6 +579,7 @@ def SubscribeCaptureInfo(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -576,7 +588,7 @@ def SubscribeCaptureInfo(request, camera_dot_camera__pb2.SubscribeCaptureInfoRequest.SerializeToString, camera_dot_camera__pb2.CaptureInfoResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SubscribeStatus(request, @@ -584,6 +596,7 @@ def SubscribeStatus(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -592,7 +605,7 @@ def SubscribeStatus(request, camera_dot_camera__pb2.SubscribeStatusRequest.SerializeToString, camera_dot_camera__pb2.StatusResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SubscribeCurrentSettings(request, @@ -600,6 +613,7 @@ def SubscribeCurrentSettings(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -608,7 +622,7 @@ def SubscribeCurrentSettings(request, camera_dot_camera__pb2.SubscribeCurrentSettingsRequest.SerializeToString, camera_dot_camera__pb2.CurrentSettingsResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SubscribePossibleSettingOptions(request, @@ -616,6 +630,7 @@ def SubscribePossibleSettingOptions(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -624,7 +639,7 @@ def SubscribePossibleSettingOptions(request, camera_dot_camera__pb2.SubscribePossibleSettingOptionsRequest.SerializeToString, camera_dot_camera__pb2.PossibleSettingOptionsResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SetSetting(request, @@ -632,6 +647,7 @@ def SetSetting(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -640,7 +656,7 @@ def SetSetting(request, camera_dot_camera__pb2.SetSettingRequest.SerializeToString, camera_dot_camera__pb2.SetSettingResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetSetting(request, @@ -648,6 +664,7 @@ def GetSetting(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -656,7 +673,7 @@ def GetSetting(request, camera_dot_camera__pb2.GetSettingRequest.SerializeToString, camera_dot_camera__pb2.GetSettingResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def FormatStorage(request, @@ -664,6 +681,7 @@ def FormatStorage(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -672,4 +690,4 @@ def FormatStorage(request, camera_dot_camera__pb2.FormatStorageRequest.SerializeToString, camera_dot_camera__pb2.FormatStorageResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/mavsdk/core_pb2.py b/mavsdk/core_pb2.py index ecfc8c0d..5670c44a 100644 --- a/mavsdk/core_pb2.py +++ b/mavsdk/core_pb2.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: core/core.proto - +"""Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection diff --git a/mavsdk/core_pb2_grpc.py b/mavsdk/core_pb2_grpc.py index c82cd3a5..404841b9 100644 --- a/mavsdk/core_pb2_grpc.py +++ b/mavsdk/core_pb2_grpc.py @@ -75,6 +75,7 @@ def SubscribeConnectionState(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -83,7 +84,7 @@ def SubscribeConnectionState(request, core_dot_core__pb2.SubscribeConnectionStateRequest.SerializeToString, core_dot_core__pb2.ConnectionStateResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ListRunningPlugins(request, @@ -91,6 +92,7 @@ def ListRunningPlugins(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -99,4 +101,4 @@ def ListRunningPlugins(request, core_dot_core__pb2.ListRunningPluginsRequest.SerializeToString, core_dot_core__pb2.ListRunningPluginsResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/mavsdk/failure_pb2.py b/mavsdk/failure_pb2.py index 98c1a9f8..4618e68f 100644 --- a/mavsdk/failure_pb2.py +++ b/mavsdk/failure_pb2.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: failure/failure.proto - +"""Generated protocol buffer code.""" from google.protobuf.internal import enum_type_wrapper from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message diff --git a/mavsdk/failure_pb2_grpc.py b/mavsdk/failure_pb2_grpc.py index 0a53867d..495dd8a3 100644 --- a/mavsdk/failure_pb2_grpc.py +++ b/mavsdk/failure_pb2_grpc.py @@ -58,6 +58,7 @@ def Inject(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -66,4 +67,4 @@ def Inject(request, failure_dot_failure__pb2.InjectRequest.SerializeToString, failure_dot_failure__pb2.InjectResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/mavsdk/follow_me_pb2.py b/mavsdk/follow_me_pb2.py index 1a8a4260..62af70d2 100644 --- a/mavsdk/follow_me_pb2.py +++ b/mavsdk/follow_me_pb2.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: follow_me/follow_me.proto - +"""Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection diff --git a/mavsdk/follow_me_pb2_grpc.py b/mavsdk/follow_me_pb2_grpc.py index d5d02e92..0d36c7e0 100644 --- a/mavsdk/follow_me_pb2_grpc.py +++ b/mavsdk/follow_me_pb2_grpc.py @@ -166,6 +166,7 @@ def GetConfig(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -174,7 +175,7 @@ def GetConfig(request, follow__me_dot_follow__me__pb2.GetConfigRequest.SerializeToString, follow__me_dot_follow__me__pb2.GetConfigResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SetConfig(request, @@ -182,6 +183,7 @@ def SetConfig(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -190,7 +192,7 @@ def SetConfig(request, follow__me_dot_follow__me__pb2.SetConfigRequest.SerializeToString, follow__me_dot_follow__me__pb2.SetConfigResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def IsActive(request, @@ -198,6 +200,7 @@ def IsActive(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -206,7 +209,7 @@ def IsActive(request, follow__me_dot_follow__me__pb2.IsActiveRequest.SerializeToString, follow__me_dot_follow__me__pb2.IsActiveResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SetTargetLocation(request, @@ -214,6 +217,7 @@ def SetTargetLocation(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -222,7 +226,7 @@ def SetTargetLocation(request, follow__me_dot_follow__me__pb2.SetTargetLocationRequest.SerializeToString, follow__me_dot_follow__me__pb2.SetTargetLocationResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetLastLocation(request, @@ -230,6 +234,7 @@ def GetLastLocation(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -238,7 +243,7 @@ def GetLastLocation(request, follow__me_dot_follow__me__pb2.GetLastLocationRequest.SerializeToString, follow__me_dot_follow__me__pb2.GetLastLocationResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def Start(request, @@ -246,6 +251,7 @@ def Start(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -254,7 +260,7 @@ def Start(request, follow__me_dot_follow__me__pb2.StartRequest.SerializeToString, follow__me_dot_follow__me__pb2.StartResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def Stop(request, @@ -262,6 +268,7 @@ def Stop(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -270,4 +277,4 @@ def Stop(request, follow__me_dot_follow__me__pb2.StopRequest.SerializeToString, follow__me_dot_follow__me__pb2.StopResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/mavsdk/ftp_pb2.py b/mavsdk/ftp_pb2.py index 8d2352f9..6a82de92 100644 --- a/mavsdk/ftp_pb2.py +++ b/mavsdk/ftp_pb2.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: ftp/ftp.proto - +"""Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection diff --git a/mavsdk/ftp_pb2_grpc.py b/mavsdk/ftp_pb2_grpc.py index 7354c5bf..d21e68e9 100644 --- a/mavsdk/ftp_pb2_grpc.py +++ b/mavsdk/ftp_pb2_grpc.py @@ -260,6 +260,7 @@ def Reset(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -268,7 +269,7 @@ def Reset(request, ftp_dot_ftp__pb2.ResetRequest.SerializeToString, ftp_dot_ftp__pb2.ResetResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SubscribeDownload(request, @@ -276,6 +277,7 @@ def SubscribeDownload(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -284,7 +286,7 @@ def SubscribeDownload(request, ftp_dot_ftp__pb2.SubscribeDownloadRequest.SerializeToString, ftp_dot_ftp__pb2.DownloadResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SubscribeUpload(request, @@ -292,6 +294,7 @@ def SubscribeUpload(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -300,7 +303,7 @@ def SubscribeUpload(request, ftp_dot_ftp__pb2.SubscribeUploadRequest.SerializeToString, ftp_dot_ftp__pb2.UploadResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ListDirectory(request, @@ -308,6 +311,7 @@ def ListDirectory(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -316,7 +320,7 @@ def ListDirectory(request, ftp_dot_ftp__pb2.ListDirectoryRequest.SerializeToString, ftp_dot_ftp__pb2.ListDirectoryResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def CreateDirectory(request, @@ -324,6 +328,7 @@ def CreateDirectory(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -332,7 +337,7 @@ def CreateDirectory(request, ftp_dot_ftp__pb2.CreateDirectoryRequest.SerializeToString, ftp_dot_ftp__pb2.CreateDirectoryResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def RemoveDirectory(request, @@ -340,6 +345,7 @@ def RemoveDirectory(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -348,7 +354,7 @@ def RemoveDirectory(request, ftp_dot_ftp__pb2.RemoveDirectoryRequest.SerializeToString, ftp_dot_ftp__pb2.RemoveDirectoryResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def RemoveFile(request, @@ -356,6 +362,7 @@ def RemoveFile(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -364,7 +371,7 @@ def RemoveFile(request, ftp_dot_ftp__pb2.RemoveFileRequest.SerializeToString, ftp_dot_ftp__pb2.RemoveFileResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def Rename(request, @@ -372,6 +379,7 @@ def Rename(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -380,7 +388,7 @@ def Rename(request, ftp_dot_ftp__pb2.RenameRequest.SerializeToString, ftp_dot_ftp__pb2.RenameResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def AreFilesIdentical(request, @@ -388,6 +396,7 @@ def AreFilesIdentical(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -396,7 +405,7 @@ def AreFilesIdentical(request, ftp_dot_ftp__pb2.AreFilesIdenticalRequest.SerializeToString, ftp_dot_ftp__pb2.AreFilesIdenticalResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SetRootDirectory(request, @@ -404,6 +413,7 @@ def SetRootDirectory(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -412,7 +422,7 @@ def SetRootDirectory(request, ftp_dot_ftp__pb2.SetRootDirectoryRequest.SerializeToString, ftp_dot_ftp__pb2.SetRootDirectoryResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SetTargetCompid(request, @@ -420,6 +430,7 @@ def SetTargetCompid(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -428,7 +439,7 @@ def SetTargetCompid(request, ftp_dot_ftp__pb2.SetTargetCompidRequest.SerializeToString, ftp_dot_ftp__pb2.SetTargetCompidResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetOurCompid(request, @@ -436,6 +447,7 @@ def GetOurCompid(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -444,4 +456,4 @@ def GetOurCompid(request, ftp_dot_ftp__pb2.GetOurCompidRequest.SerializeToString, ftp_dot_ftp__pb2.GetOurCompidResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/mavsdk/geofence_pb2.py b/mavsdk/geofence_pb2.py index 158b015e..8aae1995 100644 --- a/mavsdk/geofence_pb2.py +++ b/mavsdk/geofence_pb2.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: geofence/geofence.proto - +"""Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection diff --git a/mavsdk/geofence_pb2_grpc.py b/mavsdk/geofence_pb2_grpc.py index dd91a4fd..4e9797b3 100644 --- a/mavsdk/geofence_pb2_grpc.py +++ b/mavsdk/geofence_pb2_grpc.py @@ -62,6 +62,7 @@ def UploadGeofence(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -70,4 +71,4 @@ def UploadGeofence(request, geofence_dot_geofence__pb2.UploadGeofenceRequest.SerializeToString, geofence_dot_geofence__pb2.UploadGeofenceResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/mavsdk/gimbal_pb2.py b/mavsdk/gimbal_pb2.py index b58b4dd8..1a6cf128 100644 --- a/mavsdk/gimbal_pb2.py +++ b/mavsdk/gimbal_pb2.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: gimbal/gimbal.proto - +"""Generated protocol buffer code.""" from google.protobuf.internal import enum_type_wrapper from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message diff --git a/mavsdk/gimbal_pb2_grpc.py b/mavsdk/gimbal_pb2_grpc.py index 3f9011cd..4c1285b1 100644 --- a/mavsdk/gimbal_pb2_grpc.py +++ b/mavsdk/gimbal_pb2_grpc.py @@ -110,6 +110,7 @@ def SetPitchAndYaw(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -118,7 +119,7 @@ def SetPitchAndYaw(request, gimbal_dot_gimbal__pb2.SetPitchAndYawRequest.SerializeToString, gimbal_dot_gimbal__pb2.SetPitchAndYawResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SetMode(request, @@ -126,6 +127,7 @@ def SetMode(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -134,7 +136,7 @@ def SetMode(request, gimbal_dot_gimbal__pb2.SetModeRequest.SerializeToString, gimbal_dot_gimbal__pb2.SetModeResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SetRoiLocation(request, @@ -142,6 +144,7 @@ def SetRoiLocation(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -150,4 +153,4 @@ def SetRoiLocation(request, gimbal_dot_gimbal__pb2.SetRoiLocationRequest.SerializeToString, gimbal_dot_gimbal__pb2.SetRoiLocationResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/mavsdk/info_pb2.py b/mavsdk/info_pb2.py index dee00ade..f8b66be9 100644 --- a/mavsdk/info_pb2.py +++ b/mavsdk/info_pb2.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: info/info.proto - +"""Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection diff --git a/mavsdk/info_pb2_grpc.py b/mavsdk/info_pb2_grpc.py index 7b88e40f..9e16a5b8 100644 --- a/mavsdk/info_pb2_grpc.py +++ b/mavsdk/info_pb2_grpc.py @@ -126,6 +126,7 @@ def GetFlightInformation(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -134,7 +135,7 @@ def GetFlightInformation(request, info_dot_info__pb2.GetFlightInformationRequest.SerializeToString, info_dot_info__pb2.GetFlightInformationResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetIdentification(request, @@ -142,6 +143,7 @@ def GetIdentification(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -150,7 +152,7 @@ def GetIdentification(request, info_dot_info__pb2.GetIdentificationRequest.SerializeToString, info_dot_info__pb2.GetIdentificationResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetProduct(request, @@ -158,6 +160,7 @@ def GetProduct(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -166,7 +169,7 @@ def GetProduct(request, info_dot_info__pb2.GetProductRequest.SerializeToString, info_dot_info__pb2.GetProductResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetVersion(request, @@ -174,6 +177,7 @@ def GetVersion(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -182,7 +186,7 @@ def GetVersion(request, info_dot_info__pb2.GetVersionRequest.SerializeToString, info_dot_info__pb2.GetVersionResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetSpeedFactor(request, @@ -190,6 +194,7 @@ def GetSpeedFactor(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -198,4 +203,4 @@ def GetSpeedFactor(request, info_dot_info__pb2.GetSpeedFactorRequest.SerializeToString, info_dot_info__pb2.GetSpeedFactorResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/mavsdk/log_files_pb2.py b/mavsdk/log_files_pb2.py index 1babce22..fcf027df 100644 --- a/mavsdk/log_files_pb2.py +++ b/mavsdk/log_files_pb2.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: log_files/log_files.proto - +"""Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection diff --git a/mavsdk/log_files_pb2_grpc.py b/mavsdk/log_files_pb2_grpc.py index 4e30e973..784fc007 100644 --- a/mavsdk/log_files_pb2_grpc.py +++ b/mavsdk/log_files_pb2_grpc.py @@ -78,6 +78,7 @@ def GetEntries(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -86,7 +87,7 @@ def GetEntries(request, log__files_dot_log__files__pb2.GetEntriesRequest.SerializeToString, log__files_dot_log__files__pb2.GetEntriesResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SubscribeDownloadLogFile(request, @@ -94,6 +95,7 @@ def SubscribeDownloadLogFile(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -102,4 +104,4 @@ def SubscribeDownloadLogFile(request, log__files_dot_log__files__pb2.SubscribeDownloadLogFileRequest.SerializeToString, log__files_dot_log__files__pb2.DownloadLogFileResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/mavsdk/manual_control_pb2.py b/mavsdk/manual_control_pb2.py index b5a98076..d9120489 100644 --- a/mavsdk/manual_control_pb2.py +++ b/mavsdk/manual_control_pb2.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: manual_control/manual_control.proto - +"""Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection diff --git a/mavsdk/manual_control_pb2_grpc.py b/mavsdk/manual_control_pb2_grpc.py index d8df2864..e585168e 100644 --- a/mavsdk/manual_control_pb2_grpc.py +++ b/mavsdk/manual_control_pb2_grpc.py @@ -104,6 +104,7 @@ def StartPositionControl(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -112,7 +113,7 @@ def StartPositionControl(request, manual__control_dot_manual__control__pb2.StartPositionControlRequest.SerializeToString, manual__control_dot_manual__control__pb2.StartPositionControlResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def StartAltitudeControl(request, @@ -120,6 +121,7 @@ def StartAltitudeControl(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -128,7 +130,7 @@ def StartAltitudeControl(request, manual__control_dot_manual__control__pb2.StartAltitudeControlRequest.SerializeToString, manual__control_dot_manual__control__pb2.StartAltitudeControlResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SetManualControlInput(request, @@ -136,6 +138,7 @@ def SetManualControlInput(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -144,4 +147,4 @@ def SetManualControlInput(request, manual__control_dot_manual__control__pb2.SetManualControlInputRequest.SerializeToString, manual__control_dot_manual__control__pb2.SetManualControlInputResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/mavsdk/mavsdk_options_pb2.py b/mavsdk/mavsdk_options_pb2.py index 87e57fea..bf6ee1cd 100644 --- a/mavsdk/mavsdk_options_pb2.py +++ b/mavsdk/mavsdk_options_pb2.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: mavsdk_options.proto - +"""Generated protocol buffer code.""" from google.protobuf.internal import enum_type_wrapper from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message diff --git a/mavsdk/mission_pb2.py b/mavsdk/mission_pb2.py index 158b80bb..0e0b4f6b 100644 --- a/mavsdk/mission_pb2.py +++ b/mavsdk/mission_pb2.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: mission/mission.proto - +"""Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection diff --git a/mavsdk/mission_pb2_grpc.py b/mavsdk/mission_pb2_grpc.py index a85e8e8c..d41d85d8 100644 --- a/mavsdk/mission_pb2_grpc.py +++ b/mavsdk/mission_pb2_grpc.py @@ -303,6 +303,7 @@ def UploadMission(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -311,7 +312,7 @@ def UploadMission(request, mission_dot_mission__pb2.UploadMissionRequest.SerializeToString, mission_dot_mission__pb2.UploadMissionResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def CancelMissionUpload(request, @@ -319,6 +320,7 @@ def CancelMissionUpload(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -327,7 +329,7 @@ def CancelMissionUpload(request, mission_dot_mission__pb2.CancelMissionUploadRequest.SerializeToString, mission_dot_mission__pb2.CancelMissionUploadResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def DownloadMission(request, @@ -335,6 +337,7 @@ def DownloadMission(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -343,7 +346,7 @@ def DownloadMission(request, mission_dot_mission__pb2.DownloadMissionRequest.SerializeToString, mission_dot_mission__pb2.DownloadMissionResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def CancelMissionDownload(request, @@ -351,6 +354,7 @@ def CancelMissionDownload(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -359,7 +363,7 @@ def CancelMissionDownload(request, mission_dot_mission__pb2.CancelMissionDownloadRequest.SerializeToString, mission_dot_mission__pb2.CancelMissionDownloadResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def StartMission(request, @@ -367,6 +371,7 @@ def StartMission(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -375,7 +380,7 @@ def StartMission(request, mission_dot_mission__pb2.StartMissionRequest.SerializeToString, mission_dot_mission__pb2.StartMissionResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def PauseMission(request, @@ -383,6 +388,7 @@ def PauseMission(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -391,7 +397,7 @@ def PauseMission(request, mission_dot_mission__pb2.PauseMissionRequest.SerializeToString, mission_dot_mission__pb2.PauseMissionResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ClearMission(request, @@ -399,6 +405,7 @@ def ClearMission(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -407,7 +414,7 @@ def ClearMission(request, mission_dot_mission__pb2.ClearMissionRequest.SerializeToString, mission_dot_mission__pb2.ClearMissionResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SetCurrentMissionItem(request, @@ -415,6 +422,7 @@ def SetCurrentMissionItem(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -423,7 +431,7 @@ def SetCurrentMissionItem(request, mission_dot_mission__pb2.SetCurrentMissionItemRequest.SerializeToString, mission_dot_mission__pb2.SetCurrentMissionItemResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def IsMissionFinished(request, @@ -431,6 +439,7 @@ def IsMissionFinished(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -439,7 +448,7 @@ def IsMissionFinished(request, mission_dot_mission__pb2.IsMissionFinishedRequest.SerializeToString, mission_dot_mission__pb2.IsMissionFinishedResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SubscribeMissionProgress(request, @@ -447,6 +456,7 @@ def SubscribeMissionProgress(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -455,7 +465,7 @@ def SubscribeMissionProgress(request, mission_dot_mission__pb2.SubscribeMissionProgressRequest.SerializeToString, mission_dot_mission__pb2.MissionProgressResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetReturnToLaunchAfterMission(request, @@ -463,6 +473,7 @@ def GetReturnToLaunchAfterMission(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -471,7 +482,7 @@ def GetReturnToLaunchAfterMission(request, mission_dot_mission__pb2.GetReturnToLaunchAfterMissionRequest.SerializeToString, mission_dot_mission__pb2.GetReturnToLaunchAfterMissionResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SetReturnToLaunchAfterMission(request, @@ -479,6 +490,7 @@ def SetReturnToLaunchAfterMission(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -487,7 +499,7 @@ def SetReturnToLaunchAfterMission(request, mission_dot_mission__pb2.SetReturnToLaunchAfterMissionRequest.SerializeToString, mission_dot_mission__pb2.SetReturnToLaunchAfterMissionResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ImportQgroundcontrolMission(request, @@ -495,6 +507,7 @@ def ImportQgroundcontrolMission(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -503,4 +516,4 @@ def ImportQgroundcontrolMission(request, mission_dot_mission__pb2.ImportQgroundcontrolMissionRequest.SerializeToString, mission_dot_mission__pb2.ImportQgroundcontrolMissionResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/mavsdk/mission_raw_pb2.py b/mavsdk/mission_raw_pb2.py index 9dbbc9a7..7f286b7b 100644 --- a/mavsdk/mission_raw_pb2.py +++ b/mavsdk/mission_raw_pb2.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: mission_raw/mission_raw.proto - +"""Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection diff --git a/mavsdk/mission_raw_pb2_grpc.py b/mavsdk/mission_raw_pb2_grpc.py index ffd35bfa..cbd7bf28 100644 --- a/mavsdk/mission_raw_pb2_grpc.py +++ b/mavsdk/mission_raw_pb2_grpc.py @@ -239,6 +239,7 @@ def UploadMission(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -247,7 +248,7 @@ def UploadMission(request, mission__raw_dot_mission__raw__pb2.UploadMissionRequest.SerializeToString, mission__raw_dot_mission__raw__pb2.UploadMissionResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def CancelMissionUpload(request, @@ -255,6 +256,7 @@ def CancelMissionUpload(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -263,7 +265,7 @@ def CancelMissionUpload(request, mission__raw_dot_mission__raw__pb2.CancelMissionUploadRequest.SerializeToString, mission__raw_dot_mission__raw__pb2.CancelMissionUploadResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def DownloadMission(request, @@ -271,6 +273,7 @@ def DownloadMission(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -279,7 +282,7 @@ def DownloadMission(request, mission__raw_dot_mission__raw__pb2.DownloadMissionRequest.SerializeToString, mission__raw_dot_mission__raw__pb2.DownloadMissionResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def CancelMissionDownload(request, @@ -287,6 +290,7 @@ def CancelMissionDownload(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -295,7 +299,7 @@ def CancelMissionDownload(request, mission__raw_dot_mission__raw__pb2.CancelMissionDownloadRequest.SerializeToString, mission__raw_dot_mission__raw__pb2.CancelMissionDownloadResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def StartMission(request, @@ -303,6 +307,7 @@ def StartMission(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -311,7 +316,7 @@ def StartMission(request, mission__raw_dot_mission__raw__pb2.StartMissionRequest.SerializeToString, mission__raw_dot_mission__raw__pb2.StartMissionResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def PauseMission(request, @@ -319,6 +324,7 @@ def PauseMission(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -327,7 +333,7 @@ def PauseMission(request, mission__raw_dot_mission__raw__pb2.PauseMissionRequest.SerializeToString, mission__raw_dot_mission__raw__pb2.PauseMissionResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def ClearMission(request, @@ -335,6 +341,7 @@ def ClearMission(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -343,7 +350,7 @@ def ClearMission(request, mission__raw_dot_mission__raw__pb2.ClearMissionRequest.SerializeToString, mission__raw_dot_mission__raw__pb2.ClearMissionResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SetCurrentMissionItem(request, @@ -351,6 +358,7 @@ def SetCurrentMissionItem(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -359,7 +367,7 @@ def SetCurrentMissionItem(request, mission__raw_dot_mission__raw__pb2.SetCurrentMissionItemRequest.SerializeToString, mission__raw_dot_mission__raw__pb2.SetCurrentMissionItemResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SubscribeMissionProgress(request, @@ -367,6 +375,7 @@ def SubscribeMissionProgress(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -375,7 +384,7 @@ def SubscribeMissionProgress(request, mission__raw_dot_mission__raw__pb2.SubscribeMissionProgressRequest.SerializeToString, mission__raw_dot_mission__raw__pb2.MissionProgressResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SubscribeMissionChanged(request, @@ -383,6 +392,7 @@ def SubscribeMissionChanged(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -391,4 +401,4 @@ def SubscribeMissionChanged(request, mission__raw_dot_mission__raw__pb2.SubscribeMissionChangedRequest.SerializeToString, mission__raw_dot_mission__raw__pb2.MissionChangedResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/mavsdk/mocap_pb2.py b/mavsdk/mocap_pb2.py index 9084d54b..a126b036 100644 --- a/mavsdk/mocap_pb2.py +++ b/mavsdk/mocap_pb2.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: mocap/mocap.proto - +"""Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection diff --git a/mavsdk/mocap_pb2_grpc.py b/mavsdk/mocap_pb2_grpc.py index 82be7876..d66b3f40 100644 --- a/mavsdk/mocap_pb2_grpc.py +++ b/mavsdk/mocap_pb2_grpc.py @@ -101,6 +101,7 @@ def SetVisionPositionEstimate(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -109,7 +110,7 @@ def SetVisionPositionEstimate(request, mocap_dot_mocap__pb2.SetVisionPositionEstimateRequest.SerializeToString, mocap_dot_mocap__pb2.SetVisionPositionEstimateResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SetAttitudePositionMocap(request, @@ -117,6 +118,7 @@ def SetAttitudePositionMocap(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -125,7 +127,7 @@ def SetAttitudePositionMocap(request, mocap_dot_mocap__pb2.SetAttitudePositionMocapRequest.SerializeToString, mocap_dot_mocap__pb2.SetAttitudePositionMocapResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SetOdometry(request, @@ -133,6 +135,7 @@ def SetOdometry(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -141,4 +144,4 @@ def SetOdometry(request, mocap_dot_mocap__pb2.SetOdometryRequest.SerializeToString, mocap_dot_mocap__pb2.SetOdometryResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/mavsdk/offboard_pb2.py b/mavsdk/offboard_pb2.py index 24fcd38a..671326fb 100644 --- a/mavsdk/offboard_pb2.py +++ b/mavsdk/offboard_pb2.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: offboard/offboard.proto - +"""Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection diff --git a/mavsdk/offboard_pb2_grpc.py b/mavsdk/offboard_pb2_grpc.py index aa041fa8..3ea8bcb6 100644 --- a/mavsdk/offboard_pb2_grpc.py +++ b/mavsdk/offboard_pb2_grpc.py @@ -235,6 +235,7 @@ def Start(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -243,7 +244,7 @@ def Start(request, offboard_dot_offboard__pb2.StartRequest.SerializeToString, offboard_dot_offboard__pb2.StartResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def Stop(request, @@ -251,6 +252,7 @@ def Stop(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -259,7 +261,7 @@ def Stop(request, offboard_dot_offboard__pb2.StopRequest.SerializeToString, offboard_dot_offboard__pb2.StopResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def IsActive(request, @@ -267,6 +269,7 @@ def IsActive(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -275,7 +278,7 @@ def IsActive(request, offboard_dot_offboard__pb2.IsActiveRequest.SerializeToString, offboard_dot_offboard__pb2.IsActiveResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SetAttitude(request, @@ -283,6 +286,7 @@ def SetAttitude(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -291,7 +295,7 @@ def SetAttitude(request, offboard_dot_offboard__pb2.SetAttitudeRequest.SerializeToString, offboard_dot_offboard__pb2.SetAttitudeResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SetActuatorControl(request, @@ -299,6 +303,7 @@ def SetActuatorControl(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -307,7 +312,7 @@ def SetActuatorControl(request, offboard_dot_offboard__pb2.SetActuatorControlRequest.SerializeToString, offboard_dot_offboard__pb2.SetActuatorControlResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SetAttitudeRate(request, @@ -315,6 +320,7 @@ def SetAttitudeRate(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -323,7 +329,7 @@ def SetAttitudeRate(request, offboard_dot_offboard__pb2.SetAttitudeRateRequest.SerializeToString, offboard_dot_offboard__pb2.SetAttitudeRateResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SetPositionNed(request, @@ -331,6 +337,7 @@ def SetPositionNed(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -339,7 +346,7 @@ def SetPositionNed(request, offboard_dot_offboard__pb2.SetPositionNedRequest.SerializeToString, offboard_dot_offboard__pb2.SetPositionNedResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SetVelocityBody(request, @@ -347,6 +354,7 @@ def SetVelocityBody(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -355,7 +363,7 @@ def SetVelocityBody(request, offboard_dot_offboard__pb2.SetVelocityBodyRequest.SerializeToString, offboard_dot_offboard__pb2.SetVelocityBodyResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SetVelocityNed(request, @@ -363,6 +371,7 @@ def SetVelocityNed(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -371,4 +380,4 @@ def SetVelocityNed(request, offboard_dot_offboard__pb2.SetVelocityNedRequest.SerializeToString, offboard_dot_offboard__pb2.SetVelocityNedResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/mavsdk/param_pb2.py b/mavsdk/param_pb2.py index 70166e80..4cd73c07 100644 --- a/mavsdk/param_pb2.py +++ b/mavsdk/param_pb2.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: param/param.proto - +"""Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection diff --git a/mavsdk/param_pb2_grpc.py b/mavsdk/param_pb2_grpc.py index f9f2ed99..b392bd28 100644 --- a/mavsdk/param_pb2_grpc.py +++ b/mavsdk/param_pb2_grpc.py @@ -139,6 +139,7 @@ def GetParamInt(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -147,7 +148,7 @@ def GetParamInt(request, param_dot_param__pb2.GetParamIntRequest.SerializeToString, param_dot_param__pb2.GetParamIntResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SetParamInt(request, @@ -155,6 +156,7 @@ def SetParamInt(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -163,7 +165,7 @@ def SetParamInt(request, param_dot_param__pb2.SetParamIntRequest.SerializeToString, param_dot_param__pb2.SetParamIntResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetParamFloat(request, @@ -171,6 +173,7 @@ def GetParamFloat(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -179,7 +182,7 @@ def GetParamFloat(request, param_dot_param__pb2.GetParamFloatRequest.SerializeToString, param_dot_param__pb2.GetParamFloatResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SetParamFloat(request, @@ -187,6 +190,7 @@ def SetParamFloat(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -195,7 +199,7 @@ def SetParamFloat(request, param_dot_param__pb2.SetParamFloatRequest.SerializeToString, param_dot_param__pb2.SetParamFloatResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetAllParams(request, @@ -203,6 +207,7 @@ def GetAllParams(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -211,4 +216,4 @@ def GetAllParams(request, param_dot_param__pb2.GetAllParamsRequest.SerializeToString, param_dot_param__pb2.GetAllParamsResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/mavsdk/shell_pb2.py b/mavsdk/shell_pb2.py index 1d2085d0..4a3bf2f8 100644 --- a/mavsdk/shell_pb2.py +++ b/mavsdk/shell_pb2.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: shell/shell.proto - +"""Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection diff --git a/mavsdk/shell_pb2_grpc.py b/mavsdk/shell_pb2_grpc.py index b79e12ff..1d112118 100644 --- a/mavsdk/shell_pb2_grpc.py +++ b/mavsdk/shell_pb2_grpc.py @@ -82,6 +82,7 @@ def Send(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -90,7 +91,7 @@ def Send(request, shell_dot_shell__pb2.SendRequest.SerializeToString, shell_dot_shell__pb2.SendResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SubscribeReceive(request, @@ -98,6 +99,7 @@ def SubscribeReceive(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -106,4 +108,4 @@ def SubscribeReceive(request, shell_dot_shell__pb2.SubscribeReceiveRequest.SerializeToString, shell_dot_shell__pb2.ReceiveResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/mavsdk/telemetry_pb2.py b/mavsdk/telemetry_pb2.py index 5a0cedc7..6b3046a2 100644 --- a/mavsdk/telemetry_pb2.py +++ b/mavsdk/telemetry_pb2.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: telemetry/telemetry.proto - +"""Generated protocol buffer code.""" from google.protobuf.internal import enum_type_wrapper from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message diff --git a/mavsdk/telemetry_pb2_grpc.py b/mavsdk/telemetry_pb2_grpc.py index ca2e577e..8c65e3bc 100644 --- a/mavsdk/telemetry_pb2_grpc.py +++ b/mavsdk/telemetry_pb2_grpc.py @@ -829,6 +829,7 @@ def SubscribePosition(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -837,7 +838,7 @@ def SubscribePosition(request, telemetry_dot_telemetry__pb2.SubscribePositionRequest.SerializeToString, telemetry_dot_telemetry__pb2.PositionResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SubscribeHome(request, @@ -845,6 +846,7 @@ def SubscribeHome(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -853,7 +855,7 @@ def SubscribeHome(request, telemetry_dot_telemetry__pb2.SubscribeHomeRequest.SerializeToString, telemetry_dot_telemetry__pb2.HomeResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SubscribeInAir(request, @@ -861,6 +863,7 @@ def SubscribeInAir(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -869,7 +872,7 @@ def SubscribeInAir(request, telemetry_dot_telemetry__pb2.SubscribeInAirRequest.SerializeToString, telemetry_dot_telemetry__pb2.InAirResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SubscribeLandedState(request, @@ -877,6 +880,7 @@ def SubscribeLandedState(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -885,7 +889,7 @@ def SubscribeLandedState(request, telemetry_dot_telemetry__pb2.SubscribeLandedStateRequest.SerializeToString, telemetry_dot_telemetry__pb2.LandedStateResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SubscribeArmed(request, @@ -893,6 +897,7 @@ def SubscribeArmed(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -901,7 +906,7 @@ def SubscribeArmed(request, telemetry_dot_telemetry__pb2.SubscribeArmedRequest.SerializeToString, telemetry_dot_telemetry__pb2.ArmedResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SubscribeAttitudeQuaternion(request, @@ -909,6 +914,7 @@ def SubscribeAttitudeQuaternion(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -917,7 +923,7 @@ def SubscribeAttitudeQuaternion(request, telemetry_dot_telemetry__pb2.SubscribeAttitudeQuaternionRequest.SerializeToString, telemetry_dot_telemetry__pb2.AttitudeQuaternionResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SubscribeAttitudeEuler(request, @@ -925,6 +931,7 @@ def SubscribeAttitudeEuler(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -933,7 +940,7 @@ def SubscribeAttitudeEuler(request, telemetry_dot_telemetry__pb2.SubscribeAttitudeEulerRequest.SerializeToString, telemetry_dot_telemetry__pb2.AttitudeEulerResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SubscribeAttitudeAngularVelocityBody(request, @@ -941,6 +948,7 @@ def SubscribeAttitudeAngularVelocityBody(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -949,7 +957,7 @@ def SubscribeAttitudeAngularVelocityBody(request, telemetry_dot_telemetry__pb2.SubscribeAttitudeAngularVelocityBodyRequest.SerializeToString, telemetry_dot_telemetry__pb2.AttitudeAngularVelocityBodyResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SubscribeCameraAttitudeQuaternion(request, @@ -957,6 +965,7 @@ def SubscribeCameraAttitudeQuaternion(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -965,7 +974,7 @@ def SubscribeCameraAttitudeQuaternion(request, telemetry_dot_telemetry__pb2.SubscribeCameraAttitudeQuaternionRequest.SerializeToString, telemetry_dot_telemetry__pb2.CameraAttitudeQuaternionResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SubscribeCameraAttitudeEuler(request, @@ -973,6 +982,7 @@ def SubscribeCameraAttitudeEuler(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -981,7 +991,7 @@ def SubscribeCameraAttitudeEuler(request, telemetry_dot_telemetry__pb2.SubscribeCameraAttitudeEulerRequest.SerializeToString, telemetry_dot_telemetry__pb2.CameraAttitudeEulerResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SubscribeVelocityNed(request, @@ -989,6 +999,7 @@ def SubscribeVelocityNed(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -997,7 +1008,7 @@ def SubscribeVelocityNed(request, telemetry_dot_telemetry__pb2.SubscribeVelocityNedRequest.SerializeToString, telemetry_dot_telemetry__pb2.VelocityNedResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SubscribeGpsInfo(request, @@ -1005,6 +1016,7 @@ def SubscribeGpsInfo(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -1013,7 +1025,7 @@ def SubscribeGpsInfo(request, telemetry_dot_telemetry__pb2.SubscribeGpsInfoRequest.SerializeToString, telemetry_dot_telemetry__pb2.GpsInfoResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SubscribeBattery(request, @@ -1021,6 +1033,7 @@ def SubscribeBattery(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -1029,7 +1042,7 @@ def SubscribeBattery(request, telemetry_dot_telemetry__pb2.SubscribeBatteryRequest.SerializeToString, telemetry_dot_telemetry__pb2.BatteryResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SubscribeFlightMode(request, @@ -1037,6 +1050,7 @@ def SubscribeFlightMode(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -1045,7 +1059,7 @@ def SubscribeFlightMode(request, telemetry_dot_telemetry__pb2.SubscribeFlightModeRequest.SerializeToString, telemetry_dot_telemetry__pb2.FlightModeResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SubscribeHealth(request, @@ -1053,6 +1067,7 @@ def SubscribeHealth(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -1061,7 +1076,7 @@ def SubscribeHealth(request, telemetry_dot_telemetry__pb2.SubscribeHealthRequest.SerializeToString, telemetry_dot_telemetry__pb2.HealthResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SubscribeRcStatus(request, @@ -1069,6 +1084,7 @@ def SubscribeRcStatus(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -1077,7 +1093,7 @@ def SubscribeRcStatus(request, telemetry_dot_telemetry__pb2.SubscribeRcStatusRequest.SerializeToString, telemetry_dot_telemetry__pb2.RcStatusResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SubscribeStatusText(request, @@ -1085,6 +1101,7 @@ def SubscribeStatusText(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -1093,7 +1110,7 @@ def SubscribeStatusText(request, telemetry_dot_telemetry__pb2.SubscribeStatusTextRequest.SerializeToString, telemetry_dot_telemetry__pb2.StatusTextResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SubscribeActuatorControlTarget(request, @@ -1101,6 +1118,7 @@ def SubscribeActuatorControlTarget(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -1109,7 +1127,7 @@ def SubscribeActuatorControlTarget(request, telemetry_dot_telemetry__pb2.SubscribeActuatorControlTargetRequest.SerializeToString, telemetry_dot_telemetry__pb2.ActuatorControlTargetResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SubscribeActuatorOutputStatus(request, @@ -1117,6 +1135,7 @@ def SubscribeActuatorOutputStatus(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -1125,7 +1144,7 @@ def SubscribeActuatorOutputStatus(request, telemetry_dot_telemetry__pb2.SubscribeActuatorOutputStatusRequest.SerializeToString, telemetry_dot_telemetry__pb2.ActuatorOutputStatusResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SubscribeOdometry(request, @@ -1133,6 +1152,7 @@ def SubscribeOdometry(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -1141,7 +1161,7 @@ def SubscribeOdometry(request, telemetry_dot_telemetry__pb2.SubscribeOdometryRequest.SerializeToString, telemetry_dot_telemetry__pb2.OdometryResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SubscribePositionVelocityNed(request, @@ -1149,6 +1169,7 @@ def SubscribePositionVelocityNed(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -1157,7 +1178,7 @@ def SubscribePositionVelocityNed(request, telemetry_dot_telemetry__pb2.SubscribePositionVelocityNedRequest.SerializeToString, telemetry_dot_telemetry__pb2.PositionVelocityNedResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SubscribeGroundTruth(request, @@ -1165,6 +1186,7 @@ def SubscribeGroundTruth(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -1173,7 +1195,7 @@ def SubscribeGroundTruth(request, telemetry_dot_telemetry__pb2.SubscribeGroundTruthRequest.SerializeToString, telemetry_dot_telemetry__pb2.GroundTruthResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SubscribeFixedwingMetrics(request, @@ -1181,6 +1203,7 @@ def SubscribeFixedwingMetrics(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -1189,7 +1212,7 @@ def SubscribeFixedwingMetrics(request, telemetry_dot_telemetry__pb2.SubscribeFixedwingMetricsRequest.SerializeToString, telemetry_dot_telemetry__pb2.FixedwingMetricsResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SubscribeImu(request, @@ -1197,6 +1220,7 @@ def SubscribeImu(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -1205,7 +1229,7 @@ def SubscribeImu(request, telemetry_dot_telemetry__pb2.SubscribeImuRequest.SerializeToString, telemetry_dot_telemetry__pb2.ImuResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SubscribeHealthAllOk(request, @@ -1213,6 +1237,7 @@ def SubscribeHealthAllOk(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -1221,7 +1246,7 @@ def SubscribeHealthAllOk(request, telemetry_dot_telemetry__pb2.SubscribeHealthAllOkRequest.SerializeToString, telemetry_dot_telemetry__pb2.HealthAllOkResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SubscribeUnixEpochTime(request, @@ -1229,6 +1254,7 @@ def SubscribeUnixEpochTime(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -1237,7 +1263,7 @@ def SubscribeUnixEpochTime(request, telemetry_dot_telemetry__pb2.SubscribeUnixEpochTimeRequest.SerializeToString, telemetry_dot_telemetry__pb2.UnixEpochTimeResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SubscribeDistanceSensor(request, @@ -1245,6 +1271,7 @@ def SubscribeDistanceSensor(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -1253,7 +1280,7 @@ def SubscribeDistanceSensor(request, telemetry_dot_telemetry__pb2.SubscribeDistanceSensorRequest.SerializeToString, telemetry_dot_telemetry__pb2.DistanceSensorResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SetRatePosition(request, @@ -1261,6 +1288,7 @@ def SetRatePosition(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -1269,7 +1297,7 @@ def SetRatePosition(request, telemetry_dot_telemetry__pb2.SetRatePositionRequest.SerializeToString, telemetry_dot_telemetry__pb2.SetRatePositionResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SetRateHome(request, @@ -1277,6 +1305,7 @@ def SetRateHome(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -1285,7 +1314,7 @@ def SetRateHome(request, telemetry_dot_telemetry__pb2.SetRateHomeRequest.SerializeToString, telemetry_dot_telemetry__pb2.SetRateHomeResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SetRateInAir(request, @@ -1293,6 +1322,7 @@ def SetRateInAir(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -1301,7 +1331,7 @@ def SetRateInAir(request, telemetry_dot_telemetry__pb2.SetRateInAirRequest.SerializeToString, telemetry_dot_telemetry__pb2.SetRateInAirResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SetRateLandedState(request, @@ -1309,6 +1339,7 @@ def SetRateLandedState(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -1317,7 +1348,7 @@ def SetRateLandedState(request, telemetry_dot_telemetry__pb2.SetRateLandedStateRequest.SerializeToString, telemetry_dot_telemetry__pb2.SetRateLandedStateResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SetRateAttitude(request, @@ -1325,6 +1356,7 @@ def SetRateAttitude(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -1333,7 +1365,7 @@ def SetRateAttitude(request, telemetry_dot_telemetry__pb2.SetRateAttitudeRequest.SerializeToString, telemetry_dot_telemetry__pb2.SetRateAttitudeResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SetRateCameraAttitude(request, @@ -1341,6 +1373,7 @@ def SetRateCameraAttitude(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -1349,7 +1382,7 @@ def SetRateCameraAttitude(request, telemetry_dot_telemetry__pb2.SetRateCameraAttitudeRequest.SerializeToString, telemetry_dot_telemetry__pb2.SetRateCameraAttitudeResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SetRateVelocityNed(request, @@ -1357,6 +1390,7 @@ def SetRateVelocityNed(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -1365,7 +1399,7 @@ def SetRateVelocityNed(request, telemetry_dot_telemetry__pb2.SetRateVelocityNedRequest.SerializeToString, telemetry_dot_telemetry__pb2.SetRateVelocityNedResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SetRateGpsInfo(request, @@ -1373,6 +1407,7 @@ def SetRateGpsInfo(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -1381,7 +1416,7 @@ def SetRateGpsInfo(request, telemetry_dot_telemetry__pb2.SetRateGpsInfoRequest.SerializeToString, telemetry_dot_telemetry__pb2.SetRateGpsInfoResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SetRateBattery(request, @@ -1389,6 +1424,7 @@ def SetRateBattery(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -1397,7 +1433,7 @@ def SetRateBattery(request, telemetry_dot_telemetry__pb2.SetRateBatteryRequest.SerializeToString, telemetry_dot_telemetry__pb2.SetRateBatteryResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SetRateRcStatus(request, @@ -1405,6 +1441,7 @@ def SetRateRcStatus(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -1413,7 +1450,7 @@ def SetRateRcStatus(request, telemetry_dot_telemetry__pb2.SetRateRcStatusRequest.SerializeToString, telemetry_dot_telemetry__pb2.SetRateRcStatusResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SetRateActuatorControlTarget(request, @@ -1421,6 +1458,7 @@ def SetRateActuatorControlTarget(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -1429,7 +1467,7 @@ def SetRateActuatorControlTarget(request, telemetry_dot_telemetry__pb2.SetRateActuatorControlTargetRequest.SerializeToString, telemetry_dot_telemetry__pb2.SetRateActuatorControlTargetResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SetRateActuatorOutputStatus(request, @@ -1437,6 +1475,7 @@ def SetRateActuatorOutputStatus(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -1445,7 +1484,7 @@ def SetRateActuatorOutputStatus(request, telemetry_dot_telemetry__pb2.SetRateActuatorOutputStatusRequest.SerializeToString, telemetry_dot_telemetry__pb2.SetRateActuatorOutputStatusResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SetRateOdometry(request, @@ -1453,6 +1492,7 @@ def SetRateOdometry(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -1461,7 +1501,7 @@ def SetRateOdometry(request, telemetry_dot_telemetry__pb2.SetRateOdometryRequest.SerializeToString, telemetry_dot_telemetry__pb2.SetRateOdometryResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SetRatePositionVelocityNed(request, @@ -1469,6 +1509,7 @@ def SetRatePositionVelocityNed(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -1477,7 +1518,7 @@ def SetRatePositionVelocityNed(request, telemetry_dot_telemetry__pb2.SetRatePositionVelocityNedRequest.SerializeToString, telemetry_dot_telemetry__pb2.SetRatePositionVelocityNedResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SetRateGroundTruth(request, @@ -1485,6 +1526,7 @@ def SetRateGroundTruth(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -1493,7 +1535,7 @@ def SetRateGroundTruth(request, telemetry_dot_telemetry__pb2.SetRateGroundTruthRequest.SerializeToString, telemetry_dot_telemetry__pb2.SetRateGroundTruthResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SetRateFixedwingMetrics(request, @@ -1501,6 +1543,7 @@ def SetRateFixedwingMetrics(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -1509,7 +1552,7 @@ def SetRateFixedwingMetrics(request, telemetry_dot_telemetry__pb2.SetRateFixedwingMetricsRequest.SerializeToString, telemetry_dot_telemetry__pb2.SetRateFixedwingMetricsResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SetRateImu(request, @@ -1517,6 +1560,7 @@ def SetRateImu(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -1525,7 +1569,7 @@ def SetRateImu(request, telemetry_dot_telemetry__pb2.SetRateImuRequest.SerializeToString, telemetry_dot_telemetry__pb2.SetRateImuResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SetRateUnixEpochTime(request, @@ -1533,6 +1577,7 @@ def SetRateUnixEpochTime(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -1541,7 +1586,7 @@ def SetRateUnixEpochTime(request, telemetry_dot_telemetry__pb2.SetRateUnixEpochTimeRequest.SerializeToString, telemetry_dot_telemetry__pb2.SetRateUnixEpochTimeResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def SetRateDistanceSensor(request, @@ -1549,6 +1594,7 @@ def SetRateDistanceSensor(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -1557,4 +1603,4 @@ def SetRateDistanceSensor(request, telemetry_dot_telemetry__pb2.SetRateDistanceSensorRequest.SerializeToString, telemetry_dot_telemetry__pb2.SetRateDistanceSensorResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/mavsdk/tune_pb2.py b/mavsdk/tune_pb2.py index 2eb173ba..54956efb 100644 --- a/mavsdk/tune_pb2.py +++ b/mavsdk/tune_pb2.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: tune/tune.proto - +"""Generated protocol buffer code.""" from google.protobuf.internal import enum_type_wrapper from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message diff --git a/mavsdk/tune_pb2_grpc.py b/mavsdk/tune_pb2_grpc.py index 34412760..6466f5c9 100644 --- a/mavsdk/tune_pb2_grpc.py +++ b/mavsdk/tune_pb2_grpc.py @@ -58,6 +58,7 @@ def PlayTune(request, options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -66,4 +67,4 @@ def PlayTune(request, tune_dot_tune__pb2.PlayTuneRequest.SerializeToString, tune_dot_tune__pb2.PlayTuneResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/setup.py b/setup.py index 71865818..9e7bfc15 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,6 @@ import urllib.request import os -import platform import stat import sys import subprocess @@ -53,8 +52,18 @@ def platform_suffix(self): """ Trying to detect the platform to know which `mavsdk_server` executable to download """ - if sys.platform.startswith('linux') and platform.machine() == "x86_64": - return 'manylinux2010-x64' + if sys.platform.startswith('linux') and 'MAVSDK_SERVER_ARCH' in os.environ: + if os.environ['MAVSDK_SERVER_ARCH'] == "armv6l": + return 'musl_armv6' + elif os.environ['MAVSDK_SERVER_ARCH'] == "armv7l": + return 'musl_armv7' + elif os.environ['MAVSDK_SERVER_ARCH'] == "aarch64": + return 'musl_aarch64' + else: + raise NotImplementedError( + f"Error: unknown MAVSDK_SERVER_ARCH: {os.environ['MAVSDK_SERVER_ARCH']}") + elif sys.platform.startswith('linux'): + return 'musl_x86_64' elif sys.platform.startswith('darwin'): return 'macos' elif sys.platform.startswith('win'):