Go to the documentation of this file.00001 """autogenerated by genpy from pr2_gripper_sensor_msgs/PR2GripperSlipServoCommand.msg. Do not edit."""
00002 import sys
00003 python3 = True if sys.hexversion > 0x03000000 else False
00004 import genpy
00005 import struct
00006
00007
00008 class PR2GripperSlipServoCommand(genpy.Message):
00009 _md5sum = "d41d8cd98f00b204e9800998ecf8427e"
00010 _type = "pr2_gripper_sensor_msgs/PR2GripperSlipServoCommand"
00011 _has_header = False
00012 _full_text = """# this command is currently blank, but may see additional variable
00013 # additions in the future
00014
00015 # see the param server documentation for a list of variables that effect
00016 # slip servo performance
00017 """
00018 __slots__ = []
00019 _slot_types = []
00020
00021 def __init__(self, *args, **kwds):
00022 """
00023 Constructor. Any message fields that are implicitly/explicitly
00024 set to None will be assigned a default value. The recommend
00025 use is keyword arguments as this is more robust to future message
00026 changes. You cannot mix in-order arguments and keyword arguments.
00027
00028 The available fields are:
00029
00030
00031 :param args: complete set of field values, in .msg order
00032 :param kwds: use keyword arguments corresponding to message field names
00033 to set specific fields.
00034 """
00035 if args or kwds:
00036 super(PR2GripperSlipServoCommand, self).__init__(*args, **kwds)
00037
00038 def _get_types(self):
00039 """
00040 internal API method
00041 """
00042 return self._slot_types
00043
00044 def serialize(self, buff):
00045 """
00046 serialize message into buffer
00047 :param buff: buffer, ``StringIO``
00048 """
00049 try:
00050 pass
00051 except struct.error as se: self._check_types(se)
00052 except TypeError as te: self._check_types(te)
00053
00054 def deserialize(self, str):
00055 """
00056 unpack serialized message in str into this message instance
00057 :param str: byte array of serialized message, ``str``
00058 """
00059 try:
00060 end = 0
00061 return self
00062 except struct.error as e:
00063 raise genpy.DeserializationError(e)
00064
00065
00066 def serialize_numpy(self, buff, numpy):
00067 """
00068 serialize message with numpy array types into buffer
00069 :param buff: buffer, ``StringIO``
00070 :param numpy: numpy python module
00071 """
00072 try:
00073 pass
00074 except struct.error as se: self._check_types(se)
00075 except TypeError as te: self._check_types(te)
00076
00077 def deserialize_numpy(self, str, numpy):
00078 """
00079 unpack serialized message in str into this message instance using numpy for array types
00080 :param str: byte array of serialized message, ``str``
00081 :param numpy: numpy python module
00082 """
00083 try:
00084 end = 0
00085 return self
00086 except struct.error as e:
00087 raise genpy.DeserializationError(e)
00088
00089 _struct_I = genpy.struct_I