gndev
lvl.1
United States
Offline
|
djiuser_lK23fQ5Z7hEe Posted at 4-14 03:21
Thank you. I will try it.
In addition, if real-time data is received by phone, is there a way to transmit the contents of the phone to another device such as a laptop?
The app running on the mobile device and connected to the RC by USB will use MSDK to gather realtime data from the drone. To answer your follow-up question, that same app can also connect to other devices at the same time (e.g. a server in the cloud or a laptop on the LAN). Essentially you can open a socket to (or listen for incoming connection from) any other addressable network device.
Since, in the default case, the mobile device connects to the RC by USB, you unfortunatley can not use USB to connect to a computer. In this default case, you have to use an IP network (e.g. wifi or cellular). However, this is not a restriction if you use the DJI SmartController because the app runs on the Smart RC and the Smart RC can connect to your computer by USB while the app is running. This is also not a restriction if you use the DJI Wireless Bridge app because your custom app runs on mobile device A connected by USB to the computer, and device A communicates over the wifi LAN to mobile device B running the wireless bridge app which is then connected to the RC by USB. In either of those cases, you could use (if you're using Android) the adb tool to logcat dump all log output from your app and pipe it into another program for processing.
It gets complicated, and I might be wrong about some of the above, and there might be a simple solution I'm unaware of.
|
|