Public Member Functions | |
def | __init__ |
def | deserialize |
def | deserialize_numpy |
def | serialize |
def | serialize_numpy |
Public Attributes | |
analog_input | |
battery | |
bottom | |
bumper | |
buttons | |
charger | |
cliff | |
current | |
digital_input | |
header | |
left_encoder | |
left_pwm | |
right_encoder | |
right_pwm | |
time_stamp | |
wheel_drop | |
Static Public Attributes | |
int | ADAPTER = 16 |
int | Button0 = 1 |
int | Button1 = 2 |
int | Button2 = 4 |
int | CHARGED = 2 |
int | CHARGING = 6 |
int | DISCHARGING = 0 |
Private Member Functions | |
def | _get_types |
Static Private Attributes | |
list | __slots__ = ['header','time_stamp','bumper','wheel_drop','cliff','left_encoder','right_encoder','left_pwm','right_pwm','buttons','charger','battery','bottom','current','digital_input','analog_input'] |
string | _full_text |
_has_header = True | |
string | _md5sum = "98cbcd372761832ea3a9c795bb69a09f" |
list | _slot_types = ['std_msgs/Header','uint16','uint8','uint8','uint8','uint16','uint16','int8','int8','uint8','uint8','uint8','uint16[]','uint8[]','uint16','uint16[]'] |
string | _type = "kobuki_comms/SensorState" |
Definition at line 9 of file _SensorState.py.
def kobuki_comms.msg._SensorState.SensorState.__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,time_stamp,bumper,wheel_drop,cliff,left_encoder,right_encoder,left_pwm,right_pwm,buttons,charger,battery,bottom,current,digital_input,analog_input :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 94 of file _SensorState.py.
def kobuki_comms.msg._SensorState.SensorState._get_types | ( | self | ) | [private] |
internal API method
Definition at line 161 of file _SensorState.py.
def kobuki_comms.msg._SensorState.SensorState.deserialize | ( | self, | |
str | |||
) |
unpack serialized message in str into this message instance :param str: byte array of serialized message, ``str``
Definition at line 202 of file _SensorState.py.
def kobuki_comms.msg._SensorState.SensorState.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 295 of file _SensorState.py.
def kobuki_comms.msg._SensorState.SensorState.serialize | ( | self, | |
buff | |||
) |
serialize message into buffer :param buff: buffer, ``StringIO``
Definition at line 167 of file _SensorState.py.
def kobuki_comms.msg._SensorState.SensorState.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 259 of file _SensorState.py.
list kobuki_comms::msg::_SensorState.SensorState::__slots__ = ['header','time_stamp','bumper','wheel_drop','cliff','left_encoder','right_encoder','left_pwm','right_pwm','buttons','charger','battery','bottom','current','digital_input','analog_input'] [static, private] |
Definition at line 91 of file _SensorState.py.
string kobuki_comms::msg::_SensorState.SensorState::_full_text [static, private] |
Definition at line 13 of file _SensorState.py.
kobuki_comms::msg::_SensorState.SensorState::_has_header = True [static, private] |
Definition at line 12 of file _SensorState.py.
string kobuki_comms::msg::_SensorState.SensorState::_md5sum = "98cbcd372761832ea3a9c795bb69a09f" [static, private] |
Definition at line 10 of file _SensorState.py.
list kobuki_comms::msg::_SensorState.SensorState::_slot_types = ['std_msgs/Header','uint16','uint8','uint8','uint8','uint16','uint16','int8','int8','uint8','uint8','uint8','uint16[]','uint8[]','uint16','uint16[]'] [static, private] |
Definition at line 92 of file _SensorState.py.
string kobuki_comms::msg::_SensorState.SensorState::_type = "kobuki_comms/SensorState" [static, private] |
Definition at line 11 of file _SensorState.py.
int kobuki_comms::msg::_SensorState.SensorState::ADAPTER = 16 [static] |
Definition at line 86 of file _SensorState.py.
Definition at line 106 of file _SensorState.py.
Definition at line 106 of file _SensorState.py.
Definition at line 106 of file _SensorState.py.
Definition at line 106 of file _SensorState.py.
int kobuki_comms::msg::_SensorState.SensorState::Button0 = 1 [static] |
Definition at line 83 of file _SensorState.py.
int kobuki_comms::msg::_SensorState.SensorState::Button1 = 2 [static] |
Definition at line 84 of file _SensorState.py.
int kobuki_comms::msg::_SensorState.SensorState::Button2 = 4 [static] |
Definition at line 85 of file _SensorState.py.
Definition at line 106 of file _SensorState.py.
int kobuki_comms::msg::_SensorState.SensorState::CHARGED = 2 [static] |
Definition at line 88 of file _SensorState.py.
Definition at line 106 of file _SensorState.py.
int kobuki_comms::msg::_SensorState.SensorState::CHARGING = 6 [static] |
Definition at line 89 of file _SensorState.py.
Definition at line 106 of file _SensorState.py.
Definition at line 106 of file _SensorState.py.
Definition at line 106 of file _SensorState.py.
int kobuki_comms::msg::_SensorState.SensorState::DISCHARGING = 0 [static] |
Definition at line 87 of file _SensorState.py.
Definition at line 106 of file _SensorState.py.
Definition at line 106 of file _SensorState.py.
Definition at line 106 of file _SensorState.py.
Definition at line 106 of file _SensorState.py.
Definition at line 106 of file _SensorState.py.
Definition at line 106 of file _SensorState.py.
Definition at line 106 of file _SensorState.py.