This function immediately stops all commands and motors, so the drone will stop flying immediately. The function will also reset the flight motion variables to 0. NOTE: If you want to take off and emergency stop, it is recommended to run a
time.sleep() in between the
emergency_stop(), because the CoDrone Mini might miss the emergency_stop() command.