Getting back to hovering state


Product: [Bebop2]
Product version: [4.0.3]
SDK version: [3.8.X]
Use of libARController: [NO] (Only for ARSDK)
SDK platform: [Unix]
Reproductible with the official app: [Not tried]


I want to control my Bebop from my unix computer. I figured out how to control the drone thanks to the SDK/Samples, but I want the drone to come back to the “Hovering” state when I don’t send commands.

The “Hovering” state happens just after the take-off and before any command is sent. In this state the drone is stable and doesn’t drift. Once a command is sent, the drone is in “Flying” state and even without command sent it stays in “Flying” state.

I search the available functions in the SDK but I wasn’t able to find something to do the trick.

Thanks for your help,




In the sample, when there is no event, we put back the piloting command values to 0.

In your code, do you reset to 0 the roll or pitch AND the flag when you want to hover?




I forgot to reset the flag.
Reset the flag effectively change the state!

Thanks for the fast answer!