M2P Custom tracking Algorithm
1133 4 2021-1-23
Uploading and Loding Picture ...(0/1)
o(^-^)o
take a hike
lvl.4
Israel
Offline

Hi,

I am an experianced C++ developer, I have aquiered a M2P and would like to implement specific algorithms on it related with tracking
Is this really possible with any of the given SDKs ?
Any specific SDK I should explore ?

Any begginer pointers would be appreciated
2021-1-23
Use props
想养一条边牧
lvl.3
Flight distance : 1155 ft
Hong Kong
Offline

As I know, the M2P was supported by the WindowsSDK and MobileSDK, and you need to fetch the video stream frame first and implement your algorithms.
Here is the DJI SDK developer website. maybe you can have a look.
2021-1-24
Use props
take a hike
lvl.4
Israel
Offline

想养一条边牧 Posted at 1-24 22:39
As I know, the M2P was supported by the WindowsSDK and MobileSDK, and you need to fetch the video stream frame first and implement your algorithms.
Here is the DJI SDK developer website. maybe you can have a look.

So in essence, tracking is done externally to the drone? eg. on the RC? doesn't the latency has advert implications on eg. tracking ?
2021-1-24
Use props
想养一条边牧
lvl.3
Flight distance : 1155 ft
Hong Kong
Offline

take a hike Posted at 1-24 23:03
So in essence, tracking is done externally to the drone? eg. on the RC? doesn't the latency has advert implications on eg. tracking ?

Yes, tracking is done externally to the drone, implement the logic in your device mobile/ PC.
The latency should be tested by yourself, I haven't tested more on this.
2021-1-26
Use props
Mats Bohlinsson
lvl.4
Flight distance : 1838077 ft
  • >>>
Sweden
Offline

take a hike Posted at 2021-1-24 23:03
So in essence, tracking is done externally to the drone? eg. on the RC? doesn't the latency has advert implications on eg. tracking ?

Activetrack is running internally, on the drone.

I've done a custom tracking alg on android, then you stcuked to externally.
You will get some lag.
100-200ms delay from live view to a decoded mp4 -> bmp in app
xxx image processing (which can be from 100ms to seconds, I used yolov4, was about 1-2 second on phone.
100ms to send commands back.

I think it's hard to get better looptime than 300ms, but you might be able to do a better solution. I just did a quick hack to test it.


2022-1-5
Use props
Advanced
You need to log in before you can reply Login | Register now

Credit Rules