text: """autogenerated by genmsg_py from AuctioneerServiceRequest.msg. Do not edit."""
  import roslib.message
  import struct
  
  import geometry_msgs.msg
  import auction_msgs.msg
  import roslib.rostime
  import std_msgs.msg
  
  class AuctioneerServiceRequest(roslib.message.Message):
    _md5sum = "c7bf0ccec44590484a6687d32dad126a"
    _type = "auction_srvs/AuctioneerServiceRequest"
    _has_header = False #flag to mark the presence of a Header object
    _full_text = """
  
  
  string sending_node
  string nodes_collected
  auction_msgs/Auction auction_data
  
  
  ================================================================================
  MSG: auction_msgs/Auction
  Header header
  string command
  string task_type_name
  string subject
  string metrics
  duration length
  geometry_msgs/Point task_location
  
  ================================================================================
  MSG: std_msgs/Header
  # Standard metadata for higher-level stamped data types.
  # This is generally used to communicate timestamped data 
  # in a particular coordinate frame.
  # 
  # sequence ID: consecutively increasing ID 
  uint32 seq
  #Two-integer timestamp that is expressed as:
  # * stamp.secs: seconds (stamp_secs) since epoch
  # * stamp.nsecs: nanoseconds since stamp_secs
  # time-handling sugar is provided by the client library
  time stamp
  #Frame this data is associated with
  # 0: no frame
  # 1: global frame
  string frame_id
  
  ================================================================================
  MSG: geometry_msgs/Point
  # This contains the position of a point in free space
  float64 x
  float64 y
  float64 z
  
  """
    __slots__ = ['sending_node','nodes_collected','auction_data']
    _slot_types = ['string','string','auction_msgs/Auction']
  
    def __init__(self, *args, **kwds):
      """
      Constructor. Any message fields that are implicitly/explicitly
      set to None will be assigned a default value. The recommend
      use is keyword arguments as this is more robust to future message
      changes.  You cannot mix in-order arguments and keyword arguments.
      
      The available fields are:
         sending_node,nodes_collected,auction_data
      
      @param args: complete set of field values, in .msg order
      @param kwds: use keyword arguments corresponding to message field names
      to set specific fields. 
      """
      if args or kwds:
        super(AuctioneerServiceRequest, self).__init__(*args, **kwds)
        #message fields cannot be None, assign default values for those that are
        if self.sending_node is None:
          self.sending_node = ''
        if self.nodes_collected is None:
          self.nodes_collected = ''
        if self.auction_data is None:
          self.auction_data = auction_msgs.msg.Auction()
      else:
        self.sending_node = ''
        self.nodes_collected = ''
        self.auction_data = auction_msgs.msg.Auction()
  
    def _get_types(self):
      """
      internal API method
      """
      return self._slot_types
  
    def serialize(self, buff):
      """
      serialize message into buffer
      @param buff: buffer
      @type  buff: StringIO
      """
      try:
        _x = self.sending_node
        length = len(_x)
        buff.write(struct.pack('<I%ss'%length, length, _x))
        _x = self.nodes_collected
        length = len(_x)
        buff.write(struct.pack('<I%ss'%length, length, _x))
        _x = self
        buff.write(_struct_3I.pack(_x.auction_data.header.seq, _x.auction_data.header.stamp.secs, _x.auction_data.header.stamp.nsecs))
        _x = self.auction_data.header.frame_id
        length = len(_x)
        buff.write(struct.pack('<I%ss'%length, length, _x))
        _x = self.auction_data.command
        length = len(_x)
        buff.write(struct.pack('<I%ss'%length, length, _x))
        _x = self.auction_data.task_type_name
        length = len(_x)
        buff.write(struct.pack('<I%ss'%length, length, _x))
        _x = self.auction_data.subject
        length = len(_x)
        buff.write(struct.pack('<I%ss'%length, length, _x))
        _x = self.auction_data.metrics
        length = len(_x)
        buff.write(struct.pack('<I%ss'%length, length, _x))
        _x = self
        buff.write(_struct_2i3d.pack(_x.auction_data.length.secs, _x.auction_data.length.nsecs, _x.auction_data.task_location.x, _x.auction_data.task_location.y, _x.auction_data.task_location.z))
      except struct.error as se: self._check_types(se)
      except TypeError as te: self._check_types(te)
  
    def deserialize(self, str):
      """
      unpack serialized message in str into this message instance
      @param str: byte array of serialized message
      @type  str: str
      """
      try:
        if self.auction_data is None:
          self.auction_data = auction_msgs.msg.Auction()
        end = 0
        start = end
        end += 4
        (length,) = _struct_I.unpack(str[start:end])
        start = end
        end += length
        self.sending_node = str[start:end]
        start = end
        end += 4
        (length,) = _struct_I.unpack(str[start:end])
        start = end
        end += length
        self.nodes_collected = str[start:end]
        _x = self
        start = end
        end += 12
        (_x.auction_data.header.seq, _x.auction_data.header.stamp.secs, _x.auction_data.header.stamp.nsecs,) = _struct_3I.unpack(str[start:end])
        start = end
        end += 4
        (length,) = _struct_I.unpack(str[start:end])
        start = end
        end += length
        self.auction_data.header.frame_id = str[start:end]
        start = end
        end += 4
        (length,) = _struct_I.unpack(str[start:end])
        start = end
        end += length
        self.auction_data.command = str[start:end]
        start = end
        end += 4
        (length,) = _struct_I.unpack(str[start:end])
        start = end
        end += length
        self.auction_data.task_type_name = str[start:end]
        start = end
        end += 4
        (length,) = _struct_I.unpack(str[start:end])
        start = end
        end += length
        self.auction_data.subject = str[start:end]
        start = end
        end += 4
        (length,) = _struct_I.unpack(str[start:end])
        start = end
        end += length
        self.auction_data.metrics = str[start:end]
        _x = self
        start = end
        end += 32
        (_x.auction_data.length.secs, _x.auction_data.length.nsecs, _x.auction_data.task_location.x, _x.auction_data.task_location.y, _x.auction_data.task_location.z,) = _struct_2i3d.unpack(str[start:end])
        return self
      except struct.error as e:
        raise roslib.message.DeserializationError(e) #most likely buffer underfill
  
  
    def serialize_numpy(self, buff, numpy):
      """
      serialize message with numpy array types into buffer
      @param buff: buffer
      @type  buff: StringIO
      @param numpy: numpy python module
      @type  numpy module
      """
      try:
        _x = self.sending_node
        length = len(_x)
        buff.write(struct.pack('<I%ss'%length, length, _x))
        _x = self.nodes_collected
        length = len(_x)
        buff.write(struct.pack('<I%ss'%length, length, _x))
        _x = self
        buff.write(_struct_3I.pack(_x.auction_data.header.seq, _x.auction_data.header.stamp.secs, _x.auction_data.header.stamp.nsecs))
        _x = self.auction_data.header.frame_id
        length = len(_x)
        buff.write(struct.pack('<I%ss'%length, length, _x))
        _x = self.auction_data.command
        length = len(_x)
        buff.write(struct.pack('<I%ss'%length, length, _x))
        _x = self.auction_data.task_type_name
        length = len(_x)
        buff.write(struct.pack('<I%ss'%length, length, _x))
        _x = self.auction_data.subject
        length = len(_x)
        buff.write(struct.pack('<I%ss'%length, length, _x))
        _x = self.auction_data.metrics
        length = len(_x)
        buff.write(struct.pack('<I%ss'%length, length, _x))
        _x = self
        buff.write(_struct_2i3d.pack(_x.auction_data.length.secs, _x.auction_data.length.nsecs, _x.auction_data.task_location.x, _x.auction_data.task_location.y, _x.auction_data.task_location.z))
      except struct.error as se: self._check_types(se)
      except TypeError as te: self._check_types(te)
  
    def deserialize_numpy(self, str, numpy):
      """
      unpack serialized message in str into this message instance using numpy for array types
      @param str: byte array of serialized message
      @type  str: str
      @param numpy: numpy python module
      @type  numpy: module
      """
      try:
        if self.auction_data is None:
          self.auction_data = auction_msgs.msg.Auction()
        end = 0
        start = end
        end += 4
        (length,) = _struct_I.unpack(str[start:end])
        start = end
        end += length
        self.sending_node = str[start:end]
        start = end
        end += 4
        (length,) = _struct_I.unpack(str[start:end])
        start = end
        end += length
        self.nodes_collected = str[start:end]
        _x = self
        start = end
        end += 12
        (_x.auction_data.header.seq, _x.auction_data.header.stamp.secs, _x.auction_data.header.stamp.nsecs,) = _struct_3I.unpack(str[start:end])
        start = end
        end += 4
        (length,) = _struct_I.unpack(str[start:end])
        start = end
        end += length
        self.auction_data.header.frame_id = str[start:end]
        start = end
        end += 4
        (length,) = _struct_I.unpack(str[start:end])
        start = end
        end += length
        self.auction_data.command = str[start:end]
        start = end
        end += 4
        (length,) = _struct_I.unpack(str[start:end])
        start = end
        end += length
        self.auction_data.task_type_name = str[start:end]
        start = end
        end += 4
        (length,) = _struct_I.unpack(str[start:end])
        start = end
        end += length
        self.auction_data.subject = str[start:end]
        start = end
        end += 4
        (length,) = _struct_I.unpack(str[start:end])
        start = end
        end += length
        self.auction_data.metrics = str[start:end]
        _x = self
        start = end
        end += 32
        (_x.auction_data.length.secs, _x.auction_data.length.nsecs, _x.auction_data.task_location.x, _x.auction_data.task_location.y, _x.auction_data.task_location.z,) = _struct_2i3d.unpack(str[start:end])
        return self
      except struct.error as e:
        raise roslib.message.DeserializationError(e) #most likely buffer underfill
  
  _struct_I = roslib.message.struct_I
  _struct_3I = struct.Struct("<3I")
  _struct_2i3d = struct.Struct("<2i3d")
  """autogenerated by genmsg_py from AuctioneerServiceResponse.msg. Do not edit."""
  import roslib.message
  import struct
  
  
  class AuctioneerServiceResponse(roslib.message.Message):
    _md5sum = "86ae97f3885efd6c482c364225af8d5b"
    _type = "auction_srvs/AuctioneerServiceResponse"
    _has_header = False #flag to mark the presence of a Header object
    _full_text = """
  
  
  string response_info
  string winner_id
  float64 winner_cost
  
  """
    __slots__ = ['response_info','winner_id','winner_cost']
    _slot_types = ['string','string','float64']
  
    def __init__(self, *args, **kwds):
      """
      Constructor. Any message fields that are implicitly/explicitly
      set to None will be assigned a default value. The recommend
      use is keyword arguments as this is more robust to future message
      changes.  You cannot mix in-order arguments and keyword arguments.
      
      The available fields are:
         response_info,winner_id,winner_cost
      
      @param args: complete set of field values, in .msg order
      @param kwds: use keyword arguments corresponding to message field names
      to set specific fields. 
      """
      if args or kwds:
        super(AuctioneerServiceResponse, self).__init__(*args, **kwds)
        #message fields cannot be None, assign default values for those that are
        if self.response_info is None:
          self.response_info = ''
        if self.winner_id is None:
          self.winner_id = ''
        if self.winner_cost is None:
          self.winner_cost = 0.
      else:
        self.response_info = ''
        self.winner_id = ''
        self.winner_cost = 0.
  
    def _get_types(self):
      """
      internal API method
      """
      return self._slot_types
  
    def serialize(self, buff):
      """
      serialize message into buffer
      @param buff: buffer
      @type  buff: StringIO
      """
      try:
        _x = self.response_info
        length = len(_x)
        buff.write(struct.pack('<I%ss'%length, length, _x))
        _x = self.winner_id
        length = len(_x)
        buff.write(struct.pack('<I%ss'%length, length, _x))
        buff.write(_struct_d.pack(self.winner_cost))
      except struct.error as se: self._check_types(se)
      except TypeError as te: self._check_types(te)
  
    def deserialize(self, str):
      """
      unpack serialized message in str into this message instance
      @param str: byte array of serialized message
      @type  str: str
      """
      try:
        end = 0
        start = end
        end += 4
        (length,) = _struct_I.unpack(str[start:end])
        start = end
        end += length
        self.response_info = str[start:end]
        start = end
        end += 4
        (length,) = _struct_I.unpack(str[start:end])
        start = end
        end += length
        self.winner_id = str[start:end]
        start = end
        end += 8
        (self.winner_cost,) = _struct_d.unpack(str[start:end])
        return self
      except struct.error as e:
        raise roslib.message.DeserializationError(e) #most likely buffer underfill
  
  
    def serialize_numpy(self, buff, numpy):
      """
      serialize message with numpy array types into buffer
      @param buff: buffer
      @type  buff: StringIO
      @param numpy: numpy python module
      @type  numpy module
      """
      try:
        _x = self.response_info
        length = len(_x)
        buff.write(struct.pack('<I%ss'%length, length, _x))
        _x = self.winner_id
        length = len(_x)
        buff.write(struct.pack('<I%ss'%length, length, _x))
        buff.write(_struct_d.pack(self.winner_cost))
      except struct.error as se: self._check_types(se)
      except TypeError as te: self._check_types(te)
  
    def deserialize_numpy(self, str, numpy):
      """
      unpack serialized message in str into this message instance using numpy for array types
      @param str: byte array of serialized message
      @type  str: str
      @param numpy: numpy python module
      @type  numpy: module
      """
      try:
        end = 0
        start = end
        end += 4
        (length,) = _struct_I.unpack(str[start:end])
        start = end
        end += length
        self.response_info = str[start:end]
        start = end
        end += 4
        (length,) = _struct_I.unpack(str[start:end])
        start = end
        end += length
        self.winner_id = str[start:end]
        start = end
        end += 8
        (self.winner_cost,) = _struct_d.unpack(str[start:end])
        return self
      except struct.error as e:
        raise roslib.message.DeserializationError(e) #most likely buffer underfill
  
  _struct_I = roslib.message.struct_I
  _struct_d = struct.Struct("<d")
  class AuctioneerService(roslib.message.ServiceDefinition):
    _type          = 'auction_srvs/AuctioneerService'
    _md5sum = 'c2995a3b557484c55996e3115ca3226e'
    _request_class  = AuctioneerServiceRequest
    _response_class = AuctioneerServiceResponse
  