solutionhacker Member Licensed User Feb 25, 2019 #1 Hello Erel, Thank you for your wonderful DJI Drones library! It is a great implementation and this gave me many good ideas. I have a DJI Phantom 3 standard and I see that on the DJI mobile SDK documentation that virtual sticks can be used to control the drone using the app. I want to make an app that can fly the drone with the phone's accelerometer. My Phantom 3 connects to the remove via WiFi and not the micro USB. Do you have any code or suggestions that I can achieve this using your library? Thanks in advance!
Hello Erel, Thank you for your wonderful DJI Drones library! It is a great implementation and this gave me many good ideas. I have a DJI Phantom 3 standard and I see that on the DJI mobile SDK documentation that virtual sticks can be used to control the drone using the app. I want to make an app that can fly the drone with the phone's accelerometer. My Phantom 3 connects to the remove via WiFi and not the micro USB. Do you have any code or suggestions that I can achieve this using your library? Thanks in advance!
Erel B4X founder Staff member Licensed User Longtime User Feb 25, 2019 #2 The virtual sticks API was not wrapped. If you are familiar with JavaObject then you can probably access this API with JavaObject. The API is documented here: https://developer.dji.com/api-refer...gory_sendvirtualstickflightcontroldata_inline It is more advanced than most other features. Upvote 0
The virtual sticks API was not wrapped. If you are familiar with JavaObject then you can probably access this API with JavaObject. The API is documented here: https://developer.dji.com/api-refer...gory_sendvirtualstickflightcontroldata_inline It is more advanced than most other features.
solutionhacker Member Licensed User Feb 25, 2019 #3 Thanks! I will explore that API and try writing the functionality with JavaObject. I am thinking of using a Timer to get the data sent between 5~25 Hz as noted by the documentation. It is definitely a bit tricky. Is there any chance you may release an updated wrapper for that in the future? Upvote 0
Thanks! I will explore that API and try writing the functionality with JavaObject. I am thinking of using a Timer to get the data sent between 5~25 Hz as noted by the documentation. It is definitely a bit tricky. Is there any chance you may release an updated wrapper for that in the future?
freedom2000 Well-Known Member Licensed User Longtime User Mar 7, 2021 #4 Hi, Did you succeed in using virtual Joysticks ? I would like to try to use this feature to control a mavic mini (to substitute to waypoints for instance, or even to interface the drone with a real joystick). I found these links which seems to demonstrate that this integration is quite feasible : https://forum.dji.com/forum.php?mod=viewthread&tid=215176 And these impressive videos : But I am not familiar with javaobject... I don't know where to start ! Upvote 0
Hi, Did you succeed in using virtual Joysticks ? I would like to try to use this feature to control a mavic mini (to substitute to waypoints for instance, or even to interface the drone with a real joystick). I found these links which seems to demonstrate that this integration is quite feasible : https://forum.dji.com/forum.php?mod=viewthread&tid=215176 And these impressive videos : But I am not familiar with javaobject... I don't know where to start !