I’m working on an application where drone commands are sent from a web application to an android application connected to a SkyController and drone. Hardcoded movement values are sent from the web application to the android application where an action handler executes the corresponding ManualCopterPilotingItf methods to set the drone movement in question, I.e:
private ManualCopterPilotingItf mFlightControl;
mFlightControl = mDrone.getPilotingItf(ManualCopterPilotingItf.class);
- mFlightControl.setYawRotationSpeed (yaw)
I make sure that the ManualCopterPilotingItf interface is active before setting the movement. However, no drone movement can be seen when I test it in Sphinx. Comparing the implementation with the groundsdk-demo, I can find little difference from my implementation, apart from that the demo is executing its commands in an activity. I have a RTH/Land/Takeoff/Camera zoom function in the same action handler that works just fine. So it doesn’t seem like there’s a problem with the drone connection.
Is there something I’m missing that is specific to the drone movement controls in contrast to the functions mentioned. Any tips on how I can debug this issue further to find the problem.