Page 1 of 1

How to add a button to perform Flipping

Posted: Fri Dec 12, 2014 3:51 am
by Eric
Hi all,
I am a newbie to CrazyFlie. I am using the window 7 pc client and a Genetic USB joystick. I would like to ask how to program a flipping when I press a button ? Is there any way to assign this to a button and have it flip faster? :?:

Re: How to add a button to perform Flipping

Posted: Sun Dec 14, 2014 3:17 pm
by derf
Hi Eric,

Currently there is no easy way to execute a flip by the press of a button.
Flipping is definitely possible, but AFAIK nobody has turned this quite complex movement into a series of commands that can be sent to the Crazyflie.

Regards

Re: How to add a button to perform Flipping

Posted: Tue Dec 16, 2014 1:15 am
by whoenig
I believe flipping just from the client is actually impossible, due to the limited latency/bandwidth. However, there were people in the past who implemented the flip in the firmware here in the forum. I believe there was no source code though - just youtube videos.

Re: How to add a button to perform Flipping

Posted: Tue Dec 16, 2014 1:49 am
by chad
There's no code, but this post in particular gives a rough sketch of what you might need to do to accomplish fipping with the aid of a button. Admittedly, the poster is not performing the whole flip just at a button press. The button is simply handling some of the necessary actions... I just happened to be reading this earlier today.