text: # This Python file uses the following encoding: utf-8
  """autogenerated by genpy from robotnik_msgs/SetBuzzerRequest.msg. Do not edit."""
  import codecs
  import sys
  python3 = True if sys.hexversion > 0x03000000 else False
  import genpy
  import struct
  
  
  class SetBuzzerRequest(genpy.Message):
    _md5sum = "7cb4f8ecf7ad9c3ff741117e0298b359"
    _type = "robotnik_msgs/SetBuzzerRequest"
    _has_header = False  # flag to mark the presence of a Header object
    _full_text = """bool enable
  float64 beep_freq
  float64 time_enabled
  """
    __slots__ = ['enable','beep_freq','time_enabled']
    _slot_types = ['bool','float64','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:
         enable,beep_freq,time_enabled
  
      :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(SetBuzzerRequest, self).__init__(*args, **kwds)
        # message fields cannot be None, assign default values for those that are
        if self.enable is None:
          self.enable = False
        if self.beep_freq is None:
          self.beep_freq = 0.
        if self.time_enabled is None:
          self.time_enabled = 0.
      else:
        self.enable = False
        self.beep_freq = 0.
        self.time_enabled = 0.
  
    def _get_types(self):
      """
      internal API method
      """
      return self._slot_types
  
    def serialize(self, buff):
      """
      serialize message into buffer
      :param buff: buffer, ``StringIO``
      """
      try:
        _x = self
        buff.write(_get_struct_B2d().pack(_x.enable, _x.beep_freq, _x.time_enabled))
      except struct.error as se: self._check_types(struct.error("%s: '%s' when writing '%s'" % (type(se), str(se), str(locals().get('_x', self)))))
      except TypeError as te: self._check_types(ValueError("%s: '%s' when writing '%s'" % (type(te), str(te), str(locals().get('_x', self)))))
  
    def deserialize(self, str):
      """
      unpack serialized message in str into this message instance
      :param str: byte array of serialized message, ``str``
      """
      if python3:
        codecs.lookup_error("rosmsg").msg_type = self._type
      try:
        end = 0
        _x = self
        start = end
        end += 17
        (_x.enable, _x.beep_freq, _x.time_enabled,) = _get_struct_B2d().unpack(str[start:end])
        self.enable = bool(self.enable)
        return self
      except struct.error as e:
        raise genpy.DeserializationError(e)  # most likely buffer underfill
  
  
    def serialize_numpy(self, buff, numpy):
      """
      serialize message with numpy array types into buffer
      :param buff: buffer, ``StringIO``
      :param numpy: numpy python module
      """
      try:
        _x = self
        buff.write(_get_struct_B2d().pack(_x.enable, _x.beep_freq, _x.time_enabled))
      except struct.error as se: self._check_types(struct.error("%s: '%s' when writing '%s'" % (type(se), str(se), str(locals().get('_x', self)))))
      except TypeError as te: self._check_types(ValueError("%s: '%s' when writing '%s'" % (type(te), str(te), str(locals().get('_x', self)))))
  
    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, ``str``
      :param numpy: numpy python module
      """
      if python3:
        codecs.lookup_error("rosmsg").msg_type = self._type
      try:
        end = 0
        _x = self
        start = end
        end += 17
        (_x.enable, _x.beep_freq, _x.time_enabled,) = _get_struct_B2d().unpack(str[start:end])
        self.enable = bool(self.enable)
        return self
      except struct.error as e:
        raise genpy.DeserializationError(e)  # most likely buffer underfill
  
  _struct_I = genpy.struct_I
  def _get_struct_I():
      global _struct_I
      return _struct_I
  _struct_B2d = None
  def _get_struct_B2d():
      global _struct_B2d
      if _struct_B2d is None:
          _struct_B2d = struct.Struct("<B2d")
      return _struct_B2d
  # This Python file uses the following encoding: utf-8
  """autogenerated by genpy from robotnik_msgs/SetBuzzerResponse.msg. Do not edit."""
  import codecs
  import sys
  python3 = True if sys.hexversion > 0x03000000 else False
  import genpy
  import struct
  
  
  class SetBuzzerResponse(genpy.Message):
    _md5sum = "61cb52ead9791e6a2cd0753b71d52c54"
    _type = "robotnik_msgs/SetBuzzerResponse"
    _has_header = False  # flag to mark the presence of a Header object
    _full_text = """string msg
  bool ret
  
  """
    __slots__ = ['msg','ret']
    _slot_types = ['string','bool']
  
    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:
         msg,ret
  
      :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(SetBuzzerResponse, self).__init__(*args, **kwds)
        # message fields cannot be None, assign default values for those that are
        if self.msg is None:
          self.msg = ''
        if self.ret is None:
          self.ret = False
      else:
        self.msg = ''
        self.ret = False
  
    def _get_types(self):
      """
      internal API method
      """
      return self._slot_types
  
    def serialize(self, buff):
      """
      serialize message into buffer
      :param buff: buffer, ``StringIO``
      """
      try:
        _x = self.msg
        length = len(_x)
        if python3 or type(_x) == unicode:
          _x = _x.encode('utf-8')
          length = len(_x)
        buff.write(struct.Struct('<I%ss'%length).pack(length, _x))
        _x = self.ret
        buff.write(_get_struct_B().pack(_x))
      except struct.error as se: self._check_types(struct.error("%s: '%s' when writing '%s'" % (type(se), str(se), str(locals().get('_x', self)))))
      except TypeError as te: self._check_types(ValueError("%s: '%s' when writing '%s'" % (type(te), str(te), str(locals().get('_x', self)))))
  
    def deserialize(self, str):
      """
      unpack serialized message in str into this message instance
      :param str: byte array of serialized message, ``str``
      """
      if python3:
        codecs.lookup_error("rosmsg").msg_type = self._type
      try:
        end = 0
        start = end
        end += 4
        (length,) = _struct_I.unpack(str[start:end])
        start = end
        end += length
        if python3:
          self.msg = str[start:end].decode('utf-8', 'rosmsg')
        else:
          self.msg = str[start:end]
        start = end
        end += 1
        (self.ret,) = _get_struct_B().unpack(str[start:end])
        self.ret = bool(self.ret)
        return self
      except struct.error as e:
        raise genpy.DeserializationError(e)  # most likely buffer underfill
  
  
    def serialize_numpy(self, buff, numpy):
      """
      serialize message with numpy array types into buffer
      :param buff: buffer, ``StringIO``
      :param numpy: numpy python module
      """
      try:
        _x = self.msg
        length = len(_x)
        if python3 or type(_x) == unicode:
          _x = _x.encode('utf-8')
          length = len(_x)
        buff.write(struct.Struct('<I%ss'%length).pack(length, _x))
        _x = self.ret
        buff.write(_get_struct_B().pack(_x))
      except struct.error as se: self._check_types(struct.error("%s: '%s' when writing '%s'" % (type(se), str(se), str(locals().get('_x', self)))))
      except TypeError as te: self._check_types(ValueError("%s: '%s' when writing '%s'" % (type(te), str(te), str(locals().get('_x', self)))))
  
    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, ``str``
      :param numpy: numpy python module
      """
      if python3:
        codecs.lookup_error("rosmsg").msg_type = self._type
      try:
        end = 0
        start = end
        end += 4
        (length,) = _struct_I.unpack(str[start:end])
        start = end
        end += length
        if python3:
          self.msg = str[start:end].decode('utf-8', 'rosmsg')
        else:
          self.msg = str[start:end]
        start = end
        end += 1
        (self.ret,) = _get_struct_B().unpack(str[start:end])
        self.ret = bool(self.ret)
        return self
      except struct.error as e:
        raise genpy.DeserializationError(e)  # most likely buffer underfill
  
  _struct_I = genpy.struct_I
  def _get_struct_I():
      global _struct_I
      return _struct_I
  _struct_B = None
  def _get_struct_B():
      global _struct_B
      if _struct_B is None:
          _struct_B = struct.Struct("<B")
      return _struct_B
  class SetBuzzer(object):
    _type          = 'robotnik_msgs/SetBuzzer'
    _md5sum = '41793a7387718993b9d0e132905ea3e3'
    _request_class  = SetBuzzerRequest
    _response_class = SetBuzzerResponse
  