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.70.tar.gz (90.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.70-py3-none-any.whl (116.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: robomaster_sdk_modern-0.1.1.70.tar.gz
  • Upload date:
  • Size: 90.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.70.tar.gz
Algorithm Hash digest
SHA256 14e1998c5029040fe87effe846d5cc61f939b023bb5f7a5956f39c9b42b8ed5c
MD5 33e741e14b752e1a74df3cb643492f2f
BLAKE2b-256 c867267a57742f49c55efc0e98a6e84fa976986c648de07d88509fb4f7770268

See more details on using hashes here.

Provenance

The following attestation bundles were made for robomaster_sdk_modern-0.1.1.70.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.70-py3-none-any.whl.

File metadata

File hashes

Hashes for robomaster_sdk_modern-0.1.1.70-py3-none-any.whl
Algorithm Hash digest
SHA256 5bfd5d5e782fbf63fa16603cc906f7438bee410452333dadc528942fd5363699
MD5 3b306657bb3de6a6e1cfef7bd252e007
BLAKE2b-256 7579af559f0913ad63d1308df24430301a22246dc566fa01dc9ecd1cfbc85e30

See more details on using hashes here.

Provenance

The following attestation bundles were made for robomaster_sdk_modern-0.1.1.70-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