Skip to main content

Community-maintained DJI RoboMaster Python SDK fork with Python 3.14+ support

Project description

RoboMaster-SDK

Gitter

Learn more about the RoboMaster Education Robot: https://www.dji.com/robomaster-ep

RoboMaster Developer Guide: https://robomaster-dev.rtfd.io/

Gitee link for RoboMaster SDK download: https://gitee.com/xitinglin/RoboMaster-SDK

Python support

This fork targets CPython 3.14 and newer.

PyPI distribution name: robomaster-sdk-modern.

The original DJI repository was built around Python 3.6-3.8 era tooling. This fork updates the package metadata, runtime compatibility, and media-extension build path for modern interpreters.

Source installation

Install from PyPI:

python -m pip install robomaster-sdk-modern

Install from a local checkout:

python -m pip install .

Install the optional QR-code helper used by examples/01_robot/05_sta_conn_helper.py:

python -m pip install MyQR

Media streaming support

Video and audio streaming use the libmedia_codec extension module.

  • setup.py installs the pure-Python package dependencies.
  • setup_with_lib.py builds the SDK together with libmedia_codec.
  • lib/libmedia_codec now expects a modern external pybind11 installation instead of the vendored legacy snapshot.

Build prerequisites for source installs with media support:

  • CMake 3.15+
  • pybind11 3.0.3+
  • FFmpeg and Opus development libraries on Linux/macOS
  • Visual C++ build tools on Windows

Compatibility changes in this fork

  • Replaced audioop usage with a NumPy-based PCM resampler because audioop was removed in Python 3.13.
  • Replaced netifaces and netaddr subnet discovery with psutil plus the standard library.
  • Updated package minimums to versions that publish Python 3.14-compatible wheels.

Release workflow

pyproject.toml is now the canonical build metadata for the forked distribution.

Build and upload with:

python -m pip install .[release]
python -m build
python -m twine upload dist/*

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

robomaster_sdk_modern-0.1.1.69.tar.gz (88.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

robomaster_sdk_modern-0.1.1.69-py3-none-any.whl (115.6 kB view details)

Uploaded Python 3

File details

Details for the file robomaster_sdk_modern-0.1.1.69.tar.gz.

File metadata

  • Download URL: robomaster_sdk_modern-0.1.1.69.tar.gz
  • Upload date:
  • Size: 88.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for robomaster_sdk_modern-0.1.1.69.tar.gz
Algorithm Hash digest
SHA256 c6a1c3f69e62c8f9697b2090fe75d45d84fa90bd1440e2a29304f72579d06cc5
MD5 e4f1e0e5dd06a5fc6eedca90eff4579e
BLAKE2b-256 ecd5627dc3f7eb8bd2c7dc0fe7244a1bedc3282911f3b62ac5934023a0bceee1

See more details on using hashes here.

Provenance

The following attestation bundles were made for robomaster_sdk_modern-0.1.1.69.tar.gz:

Publisher: publish-pypi.yml on MrDaviesKellett/RoboMaster-SDK

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file robomaster_sdk_modern-0.1.1.69-py3-none-any.whl.

File metadata

File hashes

Hashes for robomaster_sdk_modern-0.1.1.69-py3-none-any.whl
Algorithm Hash digest
SHA256 fdceb72471536960698f9bb469af501da8e6273a4ea69c1913e79a95a78386ea
MD5 7980337fc4a56272b8c8a149de72add8
BLAKE2b-256 6926cd9dad5ea1c708e11b5564fedd4d16ec9edbdeef69d265a39aea1e944da1

See more details on using hashes here.

Provenance

The following attestation bundles were made for robomaster_sdk_modern-0.1.1.69-py3-none-any.whl:

Publisher: publish-pypi.yml on MrDaviesKellett/RoboMaster-SDK

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page