text: # This Python file uses the following encoding: utf-8
  """autogenerated by genpy from test/node_set_visibilityRequest.msg. Do not edit."""
  import sys
  python3 = True if sys.hexversion > 0x03000000 else False
  import genpy
  import struct
  
  
  class node_set_visibilityRequest(genpy.Message):
    _md5sum = "66754c396b86bd9c8375b973a4e698ec"
    _type = "test/node_set_visibilityRequest"
    _has_header = False #flag to mark the presence of a Header object
    _full_text = """uint64 node
  uint64 from
  uint8 visible
  """
    __slots__ = ['node','from_','visible']
    _slot_types = ['uint64','uint64','uint8']
  
    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:
         node,from_,visible
  
      :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(node_set_visibilityRequest, self).__init__(*args, **kwds)
        #message fields cannot be None, assign default values for those that are
        if self.node is None:
          self.node = 0
        if self.from_ is None:
          self.from_ = 0
        if self.visible is None:
          self.visible = 0
      else:
        self.node = 0
        self.from_ = 0
        self.visible = 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_2QB().pack(_x.node, _x.from_, _x.visible))
      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``
      """
      try:
        end = 0
        _x = self
        start = end
        end += 17
        (_x.node, _x.from_, _x.visible,) = _get_struct_2QB().unpack(str[start:end])
        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_2QB().pack(_x.node, _x.from_, _x.visible))
      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
      """
      try:
        end = 0
        _x = self
        start = end
        end += 17
        (_x.node, _x.from_, _x.visible,) = _get_struct_2QB().unpack(str[start:end])
        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_2QB = None
  def _get_struct_2QB():
      global _struct_2QB
      if _struct_2QB is None:
          _struct_2QB = struct.Struct("<2QB")
      return _struct_2QB
  # This Python file uses the following encoding: utf-8
  """autogenerated by genpy from test/node_set_visibilityResponse.msg. Do not edit."""
  import sys
  python3 = True if sys.hexversion > 0x03000000 else False
  import genpy
  import struct
  
  
  class node_set_visibilityResponse(genpy.Message):
    _md5sum = "0b13460cb14006d3852674b4c614f25f"
    _type = "test/node_set_visibilityResponse"
    _has_header = False #flag to mark the presence of a Header object
    _full_text = """int8 success
  
  """
    __slots__ = ['success']
    _slot_types = ['int8']
  
    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:
         success
  
      :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(node_set_visibilityResponse, self).__init__(*args, **kwds)
        #message fields cannot be None, assign default values for those that are
        if self.success is None:
          self.success = 0
      else:
        self.success = 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:
        buff.write(_get_struct_b().pack(self.success))
      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``
      """
      try:
        end = 0
        start = end
        end += 1
        (self.success,) = _get_struct_b().unpack(str[start:end])
        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:
        buff.write(_get_struct_b().pack(self.success))
      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
      """
      try:
        end = 0
        start = end
        end += 1
        (self.success,) = _get_struct_b().unpack(str[start:end])
        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 node_set_visibility(object):
    _type          = 'test/node_set_visibility'
    _md5sum = 'b6fcfa2c79ae79467e085318b3617289'
    _request_class  = node_set_visibilityRequest
    _response_class = node_set_visibilityResponse
  