Rewrite the robomaster library to make it compatible with the later version of Python
- It includes
libmedia_codec_ultrafor media decoding / encoding support (H264 / Opus). - Python Compatibility:
3.7~3.13
install by automator-script
- clone to local
cd Robomaster-SDK-Ultrasudo chmod 755 ./installer.sh./installer.sh
Manual Installation
- clone to local
- robomaster-sdk-ultra depends on
ffmpegandopuslibraries. Install them viahomebrewor system package manager- macOS (Apple Silicon / Intel):
brew install ffmpeg@4 opus - Linux (Ubuntu / Debian):
sudo apt update; sudo apt install ffmpeg libopus-dev
- macOS (Apple Silicon / Intel):
- install robomaster sdk ultra library:
cd Robomaster-SDK-Ultrapip install -e .
- install media decoder dependency:
cd robomaster_lib/libmedia_codec_ultrapip install -e .
- install pybind11 dependency:
cd pybind11pip install -e .
- start your
xxx.pywithfrom robomaster_ultra import xxx - details of the api-usage: Reference - robomaster documentaton
- Port into
Windowssystem (Crazy Difficult) - ...