djiuser_Dgxs5DgahQMF
lvl.1
India
Offline
|
Spacemarine Posted at 8-21 01:50
Hi, it is possible to using seekbar to control the drone flight. Frankly speaking, when you using joystick, you are actually connects the joystick behaviour to sendVirtualStickFlightControlData function. You just need to write a algorithm to link your seekbar with this function. Think about it, when the seekbar is used, how you are going to call the sendVirtualStickFlightControlData function.
Link:https://developer.dji.com/api-reference/android-api/Components/FlightController/DJIFlightController.html?search=sendvir&i=0&#djiflightcontroller_virtualstickcontrolmodecategory_sendvirtualstickflightcontroldata_inline
Thankyou for your response. This will definitely help. |
|