Closed cuthate closed 1 year ago
I recommend you look at the documentation for the Robomaster S1/EP.
Robomaster S1 programming Guide
This API can only be used in the robot. To use a python API from outside the robot you need an EP or a hacked S1.
I am using EP I also have a look at the documentation
e.g. I can't execute in sdk -> variable_b = robot_ctrl.get_battery_percentage()
(My English is not good, I use google translate, sorry)
The code you showed is for the internal robot API, not the external SDK. It will not work with the external SDK. Documentation for the external SDK is here .
Note this repository has no relationship to the Python SDK whatsoever.
ok... i got it... I want to use the functions of the api and implement it in the sdk... because i want to use raspberry pi control
Or is there a way to call programs in dji from sdk?
How can I edit and use python api in windows (.py)? E.g pidPitch = rm_ctrl.PIDCtrl() pidYaw = rm_ctrl.PIDCtrl()