00001 """autogenerated by genmsg_py from ArtHertz.msg. Do not edit."""
00002 import roslib.message
00003 import struct
00004
00005
00006 class ArtHertz(roslib.message.Message):
00007 _md5sum = "fe3d67243941cb078e664e9bc369f978"
00008 _type = "art_msgs/ArtHertz"
00009 _has_header = False
00010 _full_text = """# Real-time cycle rates for various ART vehicle nodes.
00011 # $Id: ArtHertz.msg 620 2010-09-25 01:11:51Z jack.oquin $
00012
00013 # All units are hertz (cycles/second). This is not a published
00014 # message, it defines multi-language constants.
00015
00016 float64 APPLANIX = 20.0
00017 float64 BRAKE = 20.0
00018 float64 COMMANDER = 10.0
00019 float64 IOADR = 10.0
00020 float64 LASER_FUSION = 10.0
00021 float64 LASER_NOISE = 10.0
00022 float64 MAPLANES = 5.0
00023 float64 NAVIGATOR = 20.0
00024 float64 OBSERVERS = 10.0
00025 float64 PILOT = 20.0
00026 float64 PSEUDO_LASER = 10.0
00027 float64 SICKFAST = 10.0
00028 float64 STEERING = 20.0
00029 float64 THROTTLE = 20.0
00030 float64 VEHICLE_TF = 5.0
00031
00032 """
00033
00034 APPLANIX = 20.0
00035 BRAKE = 20.0
00036 COMMANDER = 10.0
00037 IOADR = 10.0
00038 LASER_FUSION = 10.0
00039 LASER_NOISE = 10.0
00040 MAPLANES = 5.0
00041 NAVIGATOR = 20.0
00042 OBSERVERS = 10.0
00043 PILOT = 20.0
00044 PSEUDO_LASER = 10.0
00045 SICKFAST = 10.0
00046 STEERING = 20.0
00047 THROTTLE = 20.0
00048 VEHICLE_TF = 5.0
00049
00050 __slots__ = []
00051 _slot_types = []
00052
00053 def __init__(self, *args, **kwds):
00054 """
00055 Constructor. Any message fields that are implicitly/explicitly
00056 set to None will be assigned a default value. The recommend
00057 use is keyword arguments as this is more robust to future message
00058 changes. You cannot mix in-order arguments and keyword arguments.
00059
00060 The available fields are:
00061
00062
00063 @param args: complete set of field values, in .msg order
00064 @param kwds: use keyword arguments corresponding to message field names
00065 to set specific fields.
00066 """
00067 if args or kwds:
00068 super(ArtHertz, self).__init__(*args, **kwds)
00069
00070 def _get_types(self):
00071 """
00072 internal API method
00073 """
00074 return self._slot_types
00075
00076 def serialize(self, buff):
00077 """
00078 serialize message into buffer
00079 @param buff: buffer
00080 @type buff: StringIO
00081 """
00082 try:
00083 pass
00084 except struct.error, se: self._check_types(se)
00085 except TypeError, te: self._check_types(te)
00086
00087 def deserialize(self, str):
00088 """
00089 unpack serialized message in str into this message instance
00090 @param str: byte array of serialized message
00091 @type str: str
00092 """
00093 try:
00094 end = 0
00095 return self
00096 except struct.error, e:
00097 raise roslib.message.DeserializationError(e)
00098
00099
00100 def serialize_numpy(self, buff, numpy):
00101 """
00102 serialize message with numpy array types into buffer
00103 @param buff: buffer
00104 @type buff: StringIO
00105 @param numpy: numpy python module
00106 @type numpy module
00107 """
00108 try:
00109 pass
00110 except struct.error, se: self._check_types(se)
00111 except TypeError, te: self._check_types(te)
00112
00113 def deserialize_numpy(self, str, numpy):
00114 """
00115 unpack serialized message in str into this message instance using numpy for array types
00116 @param str: byte array of serialized message
00117 @type str: str
00118 @param numpy: numpy python module
00119 @type numpy: module
00120 """
00121 try:
00122 end = 0
00123 return self
00124 except struct.error, e:
00125 raise roslib.message.DeserializationError(e)
00126
00127 _struct_I = roslib.message.struct_I