@@ -155,12 +155,15 @@ rmw_create_subscription(
155155 }
156156 subscriber_req = uxr_buffer_create_subscriber_xml (
157157 & custom_node -> context -> session ,
158- custom_node -> context -> reliable_output , custom_subscription -> subscriber_id ,
159- custom_node -> participant_id , rmw_uxrce_xml_buffer , UXR_REPLACE );
158+ * custom_node -> context -> entity_creation_output ,
159+ custom_subscription -> subscriber_id ,
160+ custom_node -> participant_id ,
161+ rmw_uxrce_xml_buffer ,
162+ UXR_REPLACE );
160163#elif defined(MICRO_XRCEDDS_USE_REFS )
161164 subscriber_req = uxr_buffer_create_subscriber_xml (
162165 & custom_node -> context -> session ,
163- custom_node -> context -> reliable_output ,
166+ * custom_node -> context -> entity_creation_output ,
164167 custom_subscription -> subscriber_id ,
165168 custom_node -> participant_id ,
166169 "" ,
@@ -185,7 +188,7 @@ rmw_create_subscription(
185188
186189 datareader_req = uxr_buffer_create_datareader_xml (
187190 & custom_node -> context -> session ,
188- custom_node -> context -> reliable_output ,
191+ * custom_node -> context -> entity_creation_output ,
189192 custom_subscription -> datareader_id ,
190193 custom_subscription -> subscriber_id ,
191194 rmw_uxrce_xml_buffer ,
@@ -198,7 +201,7 @@ rmw_create_subscription(
198201
199202 datareader_req = uxr_buffer_create_datareader_ref (
200203 & custom_node -> context -> session ,
201- custom_node -> context -> reliable_output ,
204+ * custom_node -> context -> entity_creation_output ,
202205 custom_subscription -> datareader_id ,
203206 custom_subscription -> subscriber_id ,
204207 rmw_uxrce_profile_name ,
@@ -231,7 +234,8 @@ rmw_create_subscription(
231234
232235 custom_subscription -> subscription_request = uxr_buffer_request_data (
233236 & custom_node -> context -> session ,
234- custom_node -> context -> reliable_output , custom_subscription -> datareader_id ,
237+ * custom_node -> context -> entity_creation_output ,
238+ custom_subscription -> datareader_id ,
235239 custom_subscription -> stream_id , & delivery_control );
236240 }
237241 return rmw_subscription ;
@@ -297,12 +301,12 @@ rmw_destroy_subscription(rmw_node_t * node, rmw_subscription_t * subscription)
297301 uint16_t delete_datareader =
298302 uxr_buffer_delete_entity (
299303 & custom_subscription -> owner_node -> context -> session ,
300- custom_subscription -> owner_node -> context -> reliable_output ,
304+ * custom_node -> context -> entity_creation_output ,
301305 custom_subscription -> datareader_id );
302306 uint16_t delete_subscriber =
303307 uxr_buffer_delete_entity (
304308 & custom_subscription -> owner_node -> context -> session ,
305- custom_subscription -> owner_node -> context -> reliable_output ,
309+ * custom_node -> context -> entity_creation_output ,
306310 custom_subscription -> subscriber_id );
307311
308312 uint16_t requests [] = {delete_datareader , delete_subscriber };
0 commit comments