Flow deck initiation

Post Reply
Posts: 28
Joined: Fri Jul 28, 2017 9:07 pm

Flow deck initiation

Post by zhanghaijason » Fri Dec 14, 2018 8:24 pm

I have beeing using the flow deck to control the CF2. I am wondering if there is anything I can do to initiate the flow deck mode by changing parameters automatically instead of pressing the button on controller.


Posts: 1754
Joined: Mon Jan 28, 2013 7:17 pm
Location: Sweden

Re: Flow deck initiation

Post by tobias » Tue Dec 18, 2018 9:54 am

Yes you can most likely do this by changing some code. However whats the context., do you fly manually or want to fly with scripts? If manually how would you like the take off/land functionality to work?

Posts: 1832
Joined: Tue Feb 06, 2007 12:36 pm

Re: Flow deck initiation

Post by arnaud » Tue Dec 18, 2018 10:07 am


What to do depends of what is your goal. If you want to make you Crazyflie autonomous, you can control the Crazyflie from a python script or by modifying the firmware itself.

Making a python script is the easiest and is most likely what you want to start with. In that case you will still have a computer controlling the Crazyflie using the radio but the control will be done autonomously by your script. There is a couple of example using the flow in the crazyflie lib example folder. The easiest being the motion commander demo and the lower level the flow seqence example. There is also the push example that works with the multiranger deck.

Making the Crazyflie fully autonomous is also possible but there is much less out of the box support for it. The easiest currently is to make a dummy deck driver and force its activation with a compile flag. We have an implementation of the multiranger push demo that works autonomously in the Crazyflie, it has been put in the Crazyflie experimental git repos. It could be used as a starting point if you want to make your Crazyflie completely autonomous.

Post Reply