Skip to content

Added basic qos for readers and writers - #15

Merged
esteve merged 1 commit into
masterfrom
qos
Aug 7, 2015
Merged

esteve merged 1 commit into
masterfrom
qos

Conversation

@esteve

@esteve esteve commented Jun 19, 2015

Copy link
Copy Markdown
Member

Connects to ros2/ros2#66

@esteve esteve added the in progress Actively being worked on (Kanban column) label Jun 19, 2015
Comment thread rmw/include/rmw/types.h Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

These constants should be prefixed with something like RMW_QOS_POLICY_.

@dirk-thomas

Copy link
Copy Markdown
Member

How does that work when two entities use different options? Does it make sense to cover that in a test?

@esteve
esteve force-pushed the qos branch 2 times, most recently from 538c937 to a8a6e10 Compare June 25, 2015 22:50
@esteve esteve added in review Waiting for review (Kanban column) and removed in progress Actively being worked on (Kanban column) labels Jul 30, 2015
Comment thread rmw/include/rmw/types.h Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Should those policies be defined somewhere else? A separate package seems overkill but at least a separate header (e.g. policies.h)?

I am also not sure about all the values. Why a depth of 5 for sensor data? Why is the default "keep all" and "reliable"?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I'll move the QoS profiles elsewhere, does qos_profiles.h sound good? Values are currently a bit arbitrary, I'm going to run tests and see which ones make sense. In any case, I can change the default ones now to something else that you think make more sense.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

qos_profiles.h sounds good to me.

Should the variables then all start with rmw_qos_profile_?

@esteve

esteve commented Jul 30, 2015

Copy link
Copy Markdown
Member Author

Comment thread rmw/include/rmw/qos_profiles.h Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Wrong year.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

2014 was a great year! :-)

But fixed.

@esteve
esteve force-pushed the qos branch 3 times, most recently from 2e98f24 to 17fc103 Compare August 4, 2015 18:57
Comment thread rmw/include/rmw/qos_profiles.h Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Does this needs any visibility macros for Windows?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

This PR fails on Windows because of the struct initialization syntax, I'll fix it and check if it needs the visibility macros:

http://ci.ros2.org/job/ros2_batch_ci_windows/101/console

@wjwwood

wjwwood commented Aug 4, 2015

Copy link
Copy Markdown
Member

+1

1 similar comment
@tfoote

tfoote commented Aug 5, 2015

Copy link
Copy Markdown

+1

@esteve
esteve force-pushed the qos branch 4 times, most recently from 029cb0f to 72f515f Compare August 6, 2015 16:27
Comment thread rmw/include/rmw/rmw.h Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Should this be one line above for alphabetical order?

@dirk-thomas

Copy link
Copy Markdown
Member

lgtm (beside the minor comment)

esteve added a commit that referenced this pull request Aug 7, 2015
Added support for QoS profiles
@esteve
esteve merged commit daf7dca into master Aug 7, 2015
@esteve
esteve deleted the qos branch August 7, 2015 15:48
@esteve esteve removed the in review Waiting for review (Kanban column) label Aug 7, 2015
mauropasse pushed a commit to mauropasse/rmw that referenced this pull request Feb 15, 2021
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.

4 participants