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

rclpy QoS Demos (Liveliness, Lifespan, Deadline) #338

Merged
merged 9 commits into from
May 21, 2019

Conversation

emersonknapp
Copy link
Contributor

@emersonknapp emersonknapp commented May 17, 2019

Add demos for QoS policies in rclpy, for parity with the C++ quality_of_service_demo

  • Moves both c++ and Python demos under the same directory
  • Renames C++ demos to quality_of_service_demo_cpp

Emerson Knapp added 4 commits May 17, 2019 13:19
Signed-off-by: Emerson Knapp <eknapp@amazon.com>
Signed-off-by: Emerson Knapp <eknapp@amazon.com>
Signed-off-by: Emerson Knapp <eknapp@amazon.com>
…istory messages when a subscriber comes online, lifespan setting or no

Signed-off-by: Emerson Knapp <eknapp@amazon.com>
from rclpy.qos_event import PublisherEventCallbacks
from rclpy.qos_event import SubscriptionEventCallbacks

POLICY_MAP = {
Copy link
Member

Choose a reason for hiding this comment

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

I recently did something similar for reliability/durability in ros2topic: https://github.com/ros2/ros2cli/blob/a2d73c07f0245744e3d8e08d153752058470c9b4/ros2topic/ros2topic/api/__init__.py#L143

Would it make sense to centralize these in rclpy?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It makes sense to me to centralize it. I can take a crack at that today.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Note: I have created
ros2/rclpy#352
ros2/ros2cli#240
to address this, but I won't change this PR until that has been agreed on. This will work as-is for the moment.

Copy link
Member

Choose a reason for hiding this comment

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

We can apply this change his in a follow-up PR.

Emerson Knapp added 4 commits May 17, 2019 16:53
Signed-off-by: Emerson Knapp <eknapp@amazon.com>
Signed-off-by: Emerson Knapp <eknapp@amazon.com>
…. Rename cpp cmake project name

Signed-off-by: Emerson Knapp <eknapp@amazon.com>
Signed-off-by: Emerson Knapp <eknapp@amazon.com>
@emersonknapp emersonknapp marked this pull request as ready for review May 18, 2019 00:32
@emersonknapp
Copy link
Contributor Author

emersonknapp commented May 18, 2019

I have taken this out of draft, it is now ready for review - a few notes on limitations

@emersonknapp
Copy link
Contributor Author

@dirk-thomas is this something that we want to track on the distro freeze board? https://github.com/orgs/ros2/projects/5

@dirk-thomas
Copy link
Member

is this something that we want to track on the distro freeze board?

This needs to land as soon as possible to be considered during the testing phase. The distro freeze is too late to aim for for this to land.

@emersonknapp
Copy link
Contributor Author

@jacobperron @sloretz could either of you take a look at this PR? or suggest somebody appropriate to review it?

Signed-off-by: Emerson Knapp <eknapp@amazon.com>
Copy link
Member

@jacobperron jacobperron left a comment

Choose a reason for hiding this comment

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

LGTM

@jacobperron
Copy link
Member

  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status
  • Windows Build Status

@jacobperron
Copy link
Member

macOS Build Status
Windows: Build Status

@jacobperron jacobperron merged commit 06629b3 into ros2:master May 21, 2019
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.

None yet

4 participants