@@ -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 ;
@@ -300,12 +304,12 @@ rmw_destroy_subscription(rmw_node_t * node, rmw_subscription_t * subscription)
300304 uint16_t delete_datareader =
301305 uxr_buffer_delete_entity (
302306 & custom_subscription -> owner_node -> context -> session ,
303- custom_subscription -> owner_node -> context -> reliable_output ,
307+ * custom_node -> context -> entity_creation_output ,
304308 custom_subscription -> datareader_id );
305309 uint16_t delete_subscriber =
306310 uxr_buffer_delete_entity (
307311 & custom_subscription -> owner_node -> context -> session ,
308- custom_subscription -> owner_node -> context -> reliable_output ,
312+ * custom_node -> context -> entity_creation_output ,
309313 custom_subscription -> subscriber_id );
310314
311315 uint16_t requests [] = {delete_datareader , delete_subscriber };
0 commit comments