Public Member Functions | |
def | __init__ |
def | deserialize |
def | deserialize_numpy |
def | serialize |
def | serialize_numpy |
Public Attributes | |
header | |
numberSensors | |
range | |
type | |
Static Public Attributes | |
int | INFRARED = 1 |
int | ULTRASOUND = 0 |
Private Member Functions | |
def | _get_types |
Static Private Attributes | |
list | __slots__ = ['header','type','numberSensors','range'] |
string | _full_text |
_has_header = True | |
string | _md5sum = "c9d1786e32e87107225d5ffacf468032" |
list | _slot_types = ['std_msgs/Header','int8','int8','float32[]'] |
string | _type = "corobot_msgs/RangeSensor" |
Definition at line 9 of file _RangeSensor.py.
def corobot_msgs.msg._RangeSensor.RangeSensor.__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: header,type,numberSensors,range :param args: complete set of field values, in .msg order :param kwds: use keyword arguments corresponding to message field names to set specific fields.
Definition at line 56 of file _RangeSensor.py.
def corobot_msgs.msg._RangeSensor.RangeSensor._get_types | ( | self | ) | [private] |
internal API method
Definition at line 87 of file _RangeSensor.py.
def corobot_msgs.msg._RangeSensor.RangeSensor.deserialize | ( | self, | |
str | |||
) |
unpack serialized message in str into this message instance :param str: byte array of serialized message, ``str``
Definition at line 116 of file _RangeSensor.py.
def corobot_msgs.msg._RangeSensor.RangeSensor.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
Definition at line 178 of file _RangeSensor.py.
def corobot_msgs.msg._RangeSensor.RangeSensor.serialize | ( | self, | |
buff | |||
) |
serialize message into buffer :param buff: buffer, ``StringIO``
Definition at line 93 of file _RangeSensor.py.
def corobot_msgs.msg._RangeSensor.RangeSensor.serialize_numpy | ( | self, | |
buff, | |||
numpy | |||
) |
serialize message with numpy array types into buffer :param buff: buffer, ``StringIO`` :param numpy: numpy python module
Definition at line 154 of file _RangeSensor.py.
list corobot_msgs::msg::_RangeSensor.RangeSensor::__slots__ = ['header','type','numberSensors','range'] [static, private] |
Definition at line 53 of file _RangeSensor.py.
string corobot_msgs::msg::_RangeSensor.RangeSensor::_full_text [static, private] |
Definition at line 13 of file _RangeSensor.py.
corobot_msgs::msg::_RangeSensor.RangeSensor::_has_header = True [static, private] |
Definition at line 12 of file _RangeSensor.py.
string corobot_msgs::msg::_RangeSensor.RangeSensor::_md5sum = "c9d1786e32e87107225d5ffacf468032" [static, private] |
Definition at line 10 of file _RangeSensor.py.
list corobot_msgs::msg::_RangeSensor.RangeSensor::_slot_types = ['std_msgs/Header','int8','int8','float32[]'] [static, private] |
Definition at line 54 of file _RangeSensor.py.
string corobot_msgs::msg::_RangeSensor.RangeSensor::_type = "corobot_msgs/RangeSensor" [static, private] |
Definition at line 11 of file _RangeSensor.py.
Definition at line 68 of file _RangeSensor.py.
int corobot_msgs::msg::_RangeSensor.RangeSensor::INFRARED = 1 [static] |
Definition at line 51 of file _RangeSensor.py.
Definition at line 68 of file _RangeSensor.py.
Definition at line 68 of file _RangeSensor.py.
Definition at line 68 of file _RangeSensor.py.
int corobot_msgs::msg::_RangeSensor.RangeSensor::ULTRASOUND = 0 [static] |
Definition at line 50 of file _RangeSensor.py.