Public Member Functions | |
def | __init__ |
def | deserialize |
def | deserialize_numpy |
def | serialize |
def | serialize_numpy |
Public Attributes | |
state | |
Static Public Attributes | |
int | CLOSED = 0 |
int | OPENED = 1 |
int | RUNNING = 2 |
Private Member Functions | |
def | _get_types |
Static Private Attributes | |
list | __slots__ = ['state'] |
string | _full_text |
_has_header = False | |
string | _md5sum = "92d8e6361001072f038b293728a430f0" |
list | _slot_types = ['uint32'] |
string | _type = "art_msgs/DriverState" |
Definition at line 8 of file _DriverState.py.
def art_msgs.msg._DriverState.DriverState.__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: state :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 32 of file _DriverState.py.
def art_msgs.msg._DriverState.DriverState._get_types | ( | self | ) | [private] |
internal API method
Definition at line 54 of file _DriverState.py.
def art_msgs.msg._DriverState.DriverState.deserialize | ( | self, | |
str | |||
) |
unpack serialized message in str into this message instance :param str: byte array of serialized message, ``str``
Definition at line 70 of file _DriverState.py.
def art_msgs.msg._DriverState.DriverState.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 96 of file _DriverState.py.
def art_msgs.msg._DriverState.DriverState.serialize | ( | self, | |
buff | |||
) |
serialize message into buffer :param buff: buffer, ``StringIO``
Definition at line 60 of file _DriverState.py.
def art_msgs.msg._DriverState.DriverState.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 85 of file _DriverState.py.
list art_msgs::msg::_DriverState.DriverState::__slots__ = ['state'] [static, private] |
Definition at line 29 of file _DriverState.py.
string art_msgs::msg::_DriverState.DriverState::_full_text [static, private] |
"""# ART driver states -- similar to those in driver_base. # $Id: DriverState.msg 1161 2011-03-26 02:10:49Z jack.oquin $ # constants uint32 CLOSED = 0 # Not connected to the hardware uint32 OPENED = 1 # Passively connected to the hardware uint32 RUNNING = 2 # Sending hardware commands uint32 state """
Definition at line 12 of file _DriverState.py.
art_msgs::msg::_DriverState.DriverState::_has_header = False [static, private] |
Definition at line 11 of file _DriverState.py.
string art_msgs::msg::_DriverState.DriverState::_md5sum = "92d8e6361001072f038b293728a430f0" [static, private] |
Definition at line 9 of file _DriverState.py.
list art_msgs::msg::_DriverState.DriverState::_slot_types = ['uint32'] [static, private] |
Definition at line 30 of file _DriverState.py.
string art_msgs::msg::_DriverState.DriverState::_type = "art_msgs/DriverState" [static, private] |
Definition at line 10 of file _DriverState.py.
int art_msgs::msg::_DriverState.DriverState::CLOSED = 0 [static] |
Definition at line 25 of file _DriverState.py.
int art_msgs::msg::_DriverState.DriverState::OPENED = 1 [static] |
Definition at line 26 of file _DriverState.py.
int art_msgs::msg::_DriverState.DriverState::RUNNING = 2 [static] |
Definition at line 27 of file _DriverState.py.
Definition at line 44 of file _DriverState.py.