Please select Into the mobile phone version | Continue to access the computer ver.
RoboMaster S1/EP Text-Based Python SDK Released
2223 13 3-10 11:10
Uploading and Loding Picture ...(0/1)
o(^-^)o
rhoude57 - YUL
Second Officer
Canada
Offline

After much discussion on the topic, DJI has finally released its Text-based Python SDK for the RoboMaster S1 and EP.

The URL for the GitHub Repository is https://github.com/dji-sdk/RoboMaster-SDK
The URL for the RoboMaster SDK Developer Page is https://robomaster-dev.readthedocs.io/zh_CN/latest/

All the documentation material, at this time, is only available in Chinese, but Google Translate does a pretty good job at providing a usable translation.
Also, although the material targets the RoboMaster EP, most examples were written to work with the RoboMaster S1.

The SDK is not accessible through the RoboMaster app Lab. It runs entirely independently of it.  To use the SDK, you will need to install Python 3.x on your computer. I typically run Python through Visual Studio Code or Anaconda, or directly from a Command window.

Enjoy!

3-10 11:10
Use props
DJI Stephen
Super Moderator

Offline

Hello and good day rhoude57 - YUL. Thank you for reaching out and for sharing these information for the DJI Robomaster S1 with us. Great find and thank you for your valued support.
3-10 11:16
Use props
robos1
lvl.1

Singapore
Offline

Does the text-based commands also work on S1? I tried on my S1 but can't connect to the ports mentioned in cthe doc.
3-10 22:23
Use props
rhoude57 - YUL
Second Officer
Canada
Offline

robos1 Posted at 3-10 22:23
Does the text-based commands also work on S1? I tried on my S1 but can't connect to the ports mentioned in cthe doc.

It looks like DJI decided to keep messing with S1 owner's minds. They released the SDK, but there apparently is a software lock on the access to the SDK server running on the S1.
There is no word as to whether DJI plans to release either a Firmware update, which should have come out with the V1.1.0 apps and the SDK, or the "magic incantations" one must do to make the RMS1 do the SDK voodoo its supposed to do...
So frustrating...
3-10 22:56
Use props
ajjwncyahoo.com
lvl.1
United States
Offline

I downloaded the SDK and tried to run the file direct_connection.py and it returns an ImportError: No module named queue. I was planning to look into the documentation but if there's a software lock, then there's no use in trying I suppose. How did you know that there's a software lock? What test confirmed that for you?
3-11 09:44
Use props
rhoude57 - YUL
Second Officer
Canada
Offline

ajjwncyahoo.com Posted at 3-11 09:44
I downloaded the SDK and tried to run the file direct_connection.py and it returns an ImportError: No module named queue. I was planning to look into the documentation but if there's a software lock, then there's no use in trying I suppose. How did you know that there's a software lock? What test confirmed that for you?

The topic of the Softawa Lock on the RoboMaster S1 is discussed in this thread.

Rumours Concerning a Pending RMS1 SDK Beta Release

In order to access the SDK, you must gain root access to the  Intelligent Controller processor.
3-11 11:50
Use props
Mrluo0755
lvl.2
Flight distance : 390148 ft
  • >>>
Hong Kong
Offline

rhoude57 - YUL Posted at 3-11 11:50
The topic of the Softawa Lock on the RoboMaster S1 is discussed in this thread.

Rumours Concerning a Pending RMS1 SDK Beta Release
Hello, can you tell me more detial?
5-4 08:19
Use props
BGA
First Officer
United States
Offline

Mrluo0755 Posted at 5-4 08:19
Hello, can you tell me more detial?

The current S1 firmware does not include the SDK code at all. I am working on a way to get it back there but did not make much progress yet (other than confirming it is not there).
5-4 08:47
Use props
Mrluo0755
lvl.2
Flight distance : 390148 ft
  • >>>
Hong Kong
Offline

BGA Posted at 5-4 08:47
The current S1 firmware does not include the SDK code at all. I am working on a way to get it back there but did not make much progress yet (other than confirming it is not there).

It seem awesome! But I hope DJI will bring it to S1 officialy
5-4 09:26
Use props
djiuser_tyfGnJWeNrBg
lvl.1

China
Offline

I wrote a Python SDK and programing framework for Robomaster EP: github.com/nanmu42/robomasterpy

It turns out TCP API and live video streaming does make Robomaster more fun. I built a "goalkeeper" with OpenCV: youtube.com/watch?v=PTECVzH8z48

The code is open sourced, too: github.com/nanmu42/robo-playground#make-your-robomaster-a-goalkeeper

Hope you guys like it.
Hope your guys like it.
5-27 19:22
Use props
djiuser_tyfGnJWeNrBg
lvl.1

China
Offline

I am sorry to make the URLs mess, but it seems that I am not permitted to post pretier URL.
5-27 19:24
Use props
BGA
First Officer
United States
Offline

djiuser_tyfGnJWeNrBg Posted at 5-27 19:22
I wrote a Python SDK and programing framework for Robomaster EP: github.com/nanmu42/robomasterpy

It turns out TCP API and live video streaming does make Robomaster more fun. I built a "goalkeeper" with OpenCV: youtube.com/watch?v=PTECVzH8z48

Oh yes, the SDK really open things up. But until DJI officially release SDK support to the S1, it is useless to most of us.
5-28 13:48
Use props
Humberto1
New

Brazil
Offline

boa noite , alguem sabe me dizer onde compro o braço robotico do robomaster s1?
7-23 12:59
Use props
BGA
First Officer
United States
Offline

Humberto1 Posted at 7-23 12:59
boa noite , alguem sabe me dizer onde compro o braço robotico do robomaster s1?

There is no robotic arm for the S1. You most likely want the EP but it is only for sale in Asia.
7-23 19:30
Use props
Advanced
You need to log in before you can reply Login | Register now

Credit Rules