rclpy.topic_endpoint_info module

class rclpy.topic_endpoint_info.TopicEndpointInfo(**kwargs)

Bases: object

Information on a topic endpoint.

property endpoint_gid

Get field ‘endpoint_gid’.

Returns:

endpoint_gid attribute

Return type:

list

property endpoint_type

Get field ‘endpoint_type’.

Returns:

endpoint_type attribute

Return type:

TopicEndpointTypeEnum

property node_name

Get field ‘node_name’.

Returns:

node_name attribute

Return type:

str

property node_namespace

Get field ‘node_namespace’.

Returns:

node_namespace attribute

Return type:

str

property qos_profile

Get field ‘qos_profile’.

Returns:

qos_profile attribute

Return type:

QoSProfile

property topic_type

Get field ‘topic_type’.

Returns:

topic_type attribute

Return type:

str

property topic_type_hash

Get field ‘topic_type_hash’.

Returns:

topic_type_hash attribute

Return type:

TypeHash

class rclpy.topic_endpoint_info.TopicEndpointTypeEnum(value)

Bases: IntEnum

Enum for possible types of topic endpoints.

This enum matches the one defined in rmw/types.h

INVALID = 0
PUBLISHER = 1
SUBSCRIPTION = 2