I want to set pitch value time based.


#1

Product:
Product version: [X.X.X]
SDK version: [X.X.X]
Use of libARController: [YES] (Only for ARSDK)
SDK platform: [iOS]
Reproductible with the official app: [NO]

I have parrot mambo drone and I want to set time based cmd
Like I set time 20 seconds so drone will fly forward or backward till 20 seconds

Thanks


#2

The PARROT drone maintains its orientation (combination of Pitch, Roll, Rotation speed and Vertical Speed) for a minimum of 0.5 seconds, after which it returns to the hovering state.

You can keep sending the PCMD command in a loop that runs for 20 seconds. This will make the drone move in the desired direction for 20 seconds.