rosbridge_library.internal.message_conversion module
- exception rosbridge_library.internal.message_conversion.FieldTypeMismatchException(roottype, fields, expected_type, found_type)
Bases:
Exception
- exception rosbridge_library.internal.message_conversion.InvalidMessageException(inst)
Bases:
Exception
- exception rosbridge_library.internal.message_conversion.NonexistentFieldException(basetype, fields)
Bases:
Exception
- rosbridge_library.internal.message_conversion.configure(node_handle=None)
- rosbridge_library.internal.message_conversion.extract_values(inst)
- rosbridge_library.internal.message_conversion.get_encoder()
- rosbridge_library.internal.message_conversion.msg_class_type_repr(msg_class)
Return a string representation of a ROS2 message type from a class representation.
- rosbridge_library.internal.message_conversion.msg_instance_type_repr(msg_inst)
Return a string representation of a ROS2 message type from a message instance.
- rosbridge_library.internal.message_conversion.populate_instance(msg, inst, clock=None)
Populate a ROS message instance with the provided values.
Return an instance of the provided class, with its fields populated according to the values in msg.