def deserialize_numpy(self, str, numpy):
    '\n    unpack serialized message in str into this message instance using numpy for array types\n    :param str: byte array of serialized message, ``str``\n    :param numpy: numpy python module\n    '
    try:
        if (self.header is None):
            self.header = std_msgs.msg.Header()
        if (self.acc is None):
            self.acc = geometry_msgs.msg.Vector3()
        if (self.gyro is None):
            self.gyro = geometry_msgs.msg.Vector3()
        if (self.mag is None):
            self.mag = geometry_msgs.msg.Vector3()
        end = 0
        _x = self
        start = end
        end += 12
        (_x.header.seq, _x.header.stamp.secs, _x.header.stamp.nsecs) = _get_struct_3I().unpack(str[start:end])
        start = end
        end += 4
        (length,) = _struct_I.unpack(str[start:end])
        start = end
        end += length
        if python3:
            self.header.frame_id = str[start:end].decode('utf-8')
        else:
            self.header.frame_id = str[start:end]
        _x = self
        start = end
        end += 74
        (_x.sysid, _x.compid, _x.acc.x, _x.acc.y, _x.acc.z, _x.gyro.x, _x.gyro.y, _x.gyro.z, _x.mag.x, _x.mag.y, _x.mag.z) = _get_struct_2B9d().unpack(str[start:end])
        return self
    except struct.error as e:
        raise genpy.DeserializationError(e)
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
def deserialize_numpy(self, str, numpy):
    '\n    unpack serialized message in str into this message instance using numpy for array types\n    :param str: byte array of serialized message, ``str``\n    :param numpy: numpy python module\n    '
    try:
        if (self.header is None):
            self.header = std_msgs.msg.Header()
        if (self.acc is None):
            self.acc = geometry_msgs.msg.Vector3()
        if (self.gyro is None):
            self.gyro = geometry_msgs.msg.Vector3()
        if (self.mag is None):
            self.mag = geometry_msgs.msg.Vector3()
        end = 0
        _x = self
        start = end
        end += 12
        (_x.header.seq, _x.header.stamp.secs, _x.header.stamp.nsecs) = _get_struct_3I().unpack(str[start:end])
        start = end
        end += 4
        (length,) = _struct_I.unpack(str[start:end])
        start = end
        end += length
        if python3:
            self.header.frame_id = str[start:end].decode('utf-8')
        else:
            self.header.frame_id = str[start:end]
        _x = self
        start = end
        end += 74
        (_x.sysid, _x.compid, _x.acc.x, _x.acc.y, _x.acc.z, _x.gyro.x, _x.gyro.y, _x.gyro.z, _x.mag.x, _x.mag.y, _x.mag.z) = _get_struct_2B9d().unpack(str[start:end])
        return self
    except struct.error as e:
        raise genpy.DeserializationError(e)