def METHOD_NAME():
    import argparse
    parser = argparse.ArgumentParser(description="Guided mode example")
    parser.add_argument("-i", "--ac_id", dest='ac_id', default=0, type=int, help="aircraft ID")
    args = parser.parse_args()
    interface = None
    if args.ac_id > 0:
        ac_id = args.ac_id
    else:
        print("No aircraft ID specified, checking available aircrafts...")
        interface = IvyMessagesInterface("guided mode example")
        req = IvyRequester(interface)
        # hack: sleep briefly so that connections can be established
        sleep(0.1)
        aircrafts = req.get_aircrafts()
        if not aircrafts:
            print("No active aircrafts found, aborting...")
            sys.exit(1)
        elif len(aircrafts) == 1:
            ac_id = aircrafts[0]
        else:
            print("multiple aircrafts found: {}".format(aircrafts))
            print("please specify one on the commandline...")
            sys.exit(1)
    try:
        g = Guidance(ac_id, interface=interface)
        sleep(0.1)
        g.set_guided_mode()
        sleep(0.2)
        g.goto_ned(north=2.0, east=2.0, down=-3.0, heading=radians(90))
        sleep(10)
        g.goto_ned_relative(north=-2.0, east=-2.0, down=1.0, yaw=-radians(45))
        sleep(10)
        g.goto_body_relative(forward=0.0, right=1.0, down=0.0)
        sleep(10)
        g.move_at_ned_vel(north=0.5)
        sleep(3)
        g.move_at_body_vel(forward=-0.5)
        sleep(3)
        g.set_nav_mode()
        sleep(0.2)
    except KeyboardInterrupt:
        print("Stopping on request")
    g.shutdown()