code: def cmd_position(self, args):
          '''position x-m y-m z-m'''
          if (len(args) != 3):
              print("Usage: position x y z (meters)")
              return
  
          if (len(args) == 3):
              x_m = float(args[0])
              y_m = float(args[1])
              z_m = float(args[2])
              print("x:%f, y:%f, z:%f" % (x_m, y_m, z_m))
              self.master.mav.set_position_target_local_ned_send(
                                        0,  # system time in milliseconds
                                        1,  # target system
                                        0,  # target component
                                        8,  # coordinate frame MAV_FRAME_BODY_NED
                                        3576,     # type mask (pos only)
                                        x_m, y_m, z_m,  # position x,y,z
                                        0, 0, 0,  # velocity x,y,z
                                        0, 0, 0,  # accel x,y,z
                                        0, 0f cmd_position(self, args):
          '''position x-m y-m z-m'''
          if (len(args) != 3):
              print("Usage: position x y z (meters)")
              return
  
          if (len(args) == 3):
              x_m = float(args[0])
              y_m = float(args[1])
              z_m = float(args[2])
              print("x:%f, y:%f, z:%f" % (x_m, y_m, z_m))
              self.master.mav.set_position_target_local_ned_send(
                                        0,  # system time in milliseconds
                                        1,  # target system
                                        0,  # target component
                                        8,  # coordinate frame MAV_FRAME_BODY_NED
                                        3576,     # type mask (pos only)
                                        x_m, y_m, z_m,  # position x,y,z
                                        0, 0, 0,  # velocity x,y,z
                                        0, 0, 0,  # accel x,y,z
                                        0, 0)
docs: position x-m y-m z-m