Welcome to the Robolink Community forum!
Make CoDrone Flip via Python
RBass last edited by
My students want to write Python code to make the CoDrone flip. We have noticed that if the drone is hovering and you hold it (carefully) and shake it back and forth it will stop any running code. This is a nice feature, but I now wonder if that gyro (or some other) sensor will abort the code if we try to make it flip. The plan is to get it ascending, make it pitch hard and then cut power (mostly), let it coast under the angular momentum, and then re-engage the motors to catch itself before it crashes. They will be trying it today with a blanket under it as a safety net, but I was wondering if this can even work and/or is there a better way. The Python library does not seem to have a flip sequence (but I think the Arduino does). Any advice?