BGA
Second Officer
United States
Offline
|
Ok, 2 things:
1 - It is very easy to circumvent the "protection" DJI added. I am going to mention how to do that below but, most likely, DJI will just do something else to block it again. So I recommend never updating the firmware again if you want to keep using this.
In the root.py script (the one that runs in the robot), just change the line:
x=root_me('subprocess')
To:
x=root_me('sub'+'process')
Yep, they are doing string matching with the "subprocess" string.
2 - This is the last time I even bother with the SDK (which, BTW, does not seem to be maintained at all) and, instead, I am doing my own thing that does not depend on it at all and still allows doing everything that it does plus more. It is in Go and the code is here:
https://github.com/brunoga/robomaster/tree/main/sdk2
It is in heavy development (and not fully complete) now so do not rely on the existing API for anything important as it will most likely change/break.
|
|