Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose qos setting for /rosout #253

Closed
wants to merge 1 commit into from

Conversation

Ada-King
Copy link

Related issue 581

Signed-off-by: Ada-King Bingtao.Du@sony.com

Signed-off-by: Ada-King <Bingtao.Du@sony.com>
@Ada-King Ada-King force-pushed the topic-expose-qos-setting branch from e457d98 to 0bf952b Compare July 21, 2020 12:15
@@ -61,6 +61,20 @@ static const rmw_qos_profile_t rmw_qos_profile_default =
false
};

static const rmw_qos_profile_t rmw_rosout_qos_profile_default =
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
static const rmw_qos_profile_t rmw_rosout_qos_profile_default =
static const rmw_qos_profile_t rmw_qos_profile_rosout_default =

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this expected to be used for ros2cli profile such as ros2 topic echo --qos-profile rosout_default /rosout?

Copy link
Author

@Ada-King Ada-King Jul 22, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't familiar with the roscli code, but i think it can be used after expanding the code about parsing user input.
I will check it later.

@@ -430,6 +430,9 @@ enum RMW_PUBLIC_TYPE rmw_qos_liveliness_policy_t
/// QoS Lifespan default, 0s indicate lifespan policies are not tracked or enforced
#define RMW_QOS_LIFESPAN_DEFAULT {0, 0}

/// Rosout QoS Lifespan default, 10s indicate lifespan policies are tracked
#define RMW_ROSOUT_QOS_LIFESPAN_DEFAULT {10, 0}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not so convinced that we introduce specific default value only for rosout. instead of this, could we just specify {10, 0}?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, i think it make more sense, i will modity it.

Copy link
Member

@ivanpauno ivanpauno left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see the value of defining the default rosout topic qos here

@Ada-King
Copy link
Author

I don't see the value of defining the default rosout topic qos here

The definition of default rosout qos profile has been moved to rcl layer, so i will close this PR. And the 722 needs you to re-check.
Besides, i have completed the rclcpp layer, i will create a new PR after the internal code-review.

@Ada-King Ada-King closed this Jul 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants