Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit 37117a9

Browse files
authored
typo fix for ConnextStaticSerializedDataSupport of subscription. (#475)
Signed-off-by: Tomoya.Fujita <Tomoya.Fujita@sony.com>
1 parent 2572187 commit 37117a9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

rmw_connext_cpp/src/rmw_subscription.cpp

+5-5
Original file line numberDiff line numberDiff line change
@@ -136,11 +136,11 @@ rmw_create_subscription(
136136
goto fail;
137137
}
138138
// This is a non-standard RTI Connext function
139-
// It allows to register an external type to a static data writer
140-
// In this case, we register the custom message type to a data writer,
141-
// which only publishes DDS_Octets
142-
// The purpose of this is to send only raw data DDS_Octets over the wire,
143-
// advertise the topic however with a type of the message, e.g. std_msgs::msg::dds_::String
139+
// It allows to register an external type to a static data reader
140+
// In this case, we register the custom message type to a data reader,
141+
// which only subscribes DDS_Octets
142+
// The purpose of this is to receive only raw data DDS_Octets over the wire,
143+
// subscribe the topic however with a type of the message, e.g. std_msgs::msg::dds_::String
144144
status = ConnextStaticSerializedDataSupport_register_external_type(
145145
participant, type_name.c_str(), type_code);
146146
if (status != DDS::RETCODE_OK) {

0 commit comments

Comments
 (0)