pass qos to rmw create pub/sub (#65)
This commit is contained in:
parent
8cd81a5a9a
commit
5733d36ed2
2 changed files with 2 additions and 2 deletions
|
@ -76,7 +76,7 @@ rcl_publisher_init(
|
|||
rcl_node_get_rmw_handle(node),
|
||||
type_support,
|
||||
topic_name,
|
||||
&rmw_qos_profile_default);
|
||||
&(options->qos));
|
||||
if (!publisher->impl->rmw_handle) {
|
||||
RCL_SET_ERROR_MSG(rmw_get_error_string_safe());
|
||||
goto fail;
|
||||
|
|
|
@ -70,7 +70,7 @@ rcl_subscription_init(
|
|||
rcl_node_get_rmw_handle(node),
|
||||
type_support,
|
||||
topic_name,
|
||||
&rmw_qos_profile_default,
|
||||
&(options->qos),
|
||||
options->ignore_local_publications);
|
||||
if (!subscription->impl->rmw_handle) {
|
||||
RCL_SET_ERROR_MSG(rmw_get_error_string_safe());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue