-
Notifications
You must be signed in to change notification settings - Fork 69
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
Conversation
Signed-off-by: Ada-King <Bingtao.Du@sony.com>
e457d98
to
0bf952b
Compare
@@ -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 = |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
static const rmw_qos_profile_t rmw_rosout_qos_profile_default = | |
static const rmw_qos_profile_t rmw_qos_profile_rosout_default = |
There was a problem hiding this comment.
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
?
There was a problem hiding this comment.
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} |
There was a problem hiding this comment.
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}
?
There was a problem hiding this comment.
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.
There was a problem hiding this 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
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. |
Related issue 581
Signed-off-by: Ada-King Bingtao.Du@sony.com