Please select Into the mobile phone version | Continue to access the computer ver.
How to add basic function to PSDK linux sample application
218 1 2020-11-22
Uploading and Loding Picture ...(0/1)
o(^-^)o
sk_mooncity
lvl.1

United Kingdom
Offline

Hi,


- Can anyone tell me, how to initialize and add a basic functions which is given in the DJI PSDK tutorial 'Information Management ' to subscribes the "attitude quaternion" and "flight speed" in the PSDK sample/platform/linux/manifold2/application/main.c file?

- Can anyone tell me, How to modify the above mentioned sample main.c file to send a simple 'Hello World' message from third-party linux payload to DJI pilot app?


Sorry if i'm missing anything basic.


Thanks
sk


2020-11-22
Use props
懒猫吃鱼
lvl.2

South Africa
Offline

About 'Information Management ' to subscribes the "attitude quaternion" you can find the function on main.c:
PsdkTest_DataSubscriptionInit


if you want send message to floating window, you can call the API:
PsdkWidgetFloatingWindow_ShowMessage
subinit.png
2020-11-24
Use props
Advanced
You need to log in before you can reply Login | Register now

Credit Rules