Quadcopter code, old and new