Lag in setPCMD commands


#1

Product: [Bebop/Bebop2 Skycontroller]
Product version: Bebop2 & Skycontoller 1
SDK version: [3.11.0]
Use of libARController: [YES/NO] (Only for ARSDK)
SDK platform: [Android]
Reproductible with the official app: [NO]

Having an issue where movement commands using

ARDeviceController mDeviceController;

mDeviceController.getFeatureARDrone3().setPilotingPCMD(0,x,y,z,i,0)

it seems to have a long delay before bebop responds.

Connected to a bebop 2 though a skycontroller, there is about 1-2 second delay with sending movement commands when controlling the bebop though the phone. When, mDeviceController.getFeatureARDrone3().setPilotingPCMD(0,0,0,0,0,0) it seems to respond really fast. 

snippet of code

 if (ARCOMMANDS_SKYCONTROLLER_COPILOTINGSTATE_PILOTINGSOURCE_SOURCE_ENUM.ARCOMMANDS_SKYCONTROLLER_COPILOTINGSTATE_PILOTINGSOURCE_SOURCE_CONTROLLER == controlSource) {
            mDeviceController.getFeatureARDrone3().setPilotingPCMD((byte)0,(byte)(roll*100),(byte) (pitch*100),(byte)(yaw*100),(byte)(gaz*100), 0);
            mDeviceController.getFeatureARDrone3().setPilotingPCMDFlag((byte)1);

        }

Many Thanks

#2

Updating the SDK to 3.12.0 fixes this issue