based off work done by omwdunkley on a crazyflie