Skip to content

Add Topic Statistics Dependencies#896

Closed
dabonnie wants to merge 1 commit intoros2:masterfrom
aws-ros-dev:dabonnie/add-topic-statistics-dependencies
Closed

Add Topic Statistics Dependencies#896
dabonnie wants to merge 1 commit intoros2:masterfrom
aws-ros-dev:dabonnie/add-topic-statistics-dependencies

Conversation

@dabonnie
Copy link
Copy Markdown

Adds dependencies required by ros2/rclcpp#1050

This is ready to merge once https://github.com/ros-tooling/aws-roadmap/issues/248 and https://github.com/ros-tooling/aws-roadmap/issues/249 are complete

Signed-off-by: Devin Bonnie dbbonnie@amazon.com

Signed-off-by: Prajakta Gokhale <prajaktg@amazon.com>
@prajakta-gokhale prajakta-gokhale force-pushed the dabonnie/add-topic-statistics-dependencies branch from 6b2364f to 17cfcdf Compare April 15, 2020 01:41
@prajakta-gokhale
Copy link
Copy Markdown

With https://github.com/ros-tooling/metrics_statistics_msgs/pull/1 merged, we have one dependency of Topic Statistics in this new repo. Adding it to the ros2.repos file.

@prajakta-gokhale
Copy link
Copy Markdown

@wjwwood @thomas-moulard please take a look!

Copy link
Copy Markdown
Member

@wjwwood wjwwood left a comment

Choose a reason for hiding this comment

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

lgtm, we should ensure that CI passes with this new repository.

Should we wait to add the other library's repository?

@jacobperron @nuclearsandwich FYI in case this impacts releases

@prajakta-gokhale
Copy link
Copy Markdown

prajakta-gokhale commented Apr 15, 2020

Should we wait to add the other library's repository?

We spit it into 2 PRs so that once we merge this we can run CI easily for the other one. libstatistics_collector(#897) depends on metrics_statistics_msgs (this PR).

@prajakta-gokhale
Copy link
Copy Markdown

prajakta-gokhale commented Apr 15, 2020

@jacobperron could you please start CI for this PR?

Never mind, found the correct params to start the job.

@prajakta-gokhale
Copy link
Copy Markdown

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

@prajakta-gokhale
Copy link
Copy Markdown

Package only CI:

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

@dirk-thomas
Copy link
Copy Markdown
Member

Interfaces which are being used by the client libraries are defined in rcl_interfaces. Why should we introduce a second package which becomes a dependency of rcl (currently rclcpp but clearly it will need to be pished down into rcl in the future)?

@dirk-thomas dirk-thomas added the more-information-needed Further information is required label Apr 16, 2020
@dabonnie
Copy link
Copy Markdown
Author

dabonnie commented Apr 16, 2020

Interfaces which are being used by the client libraries are defined in rcl_interfaces. Why should we introduce a second package which becomes a dependency of rcl (currently rclcpp but clearly it will need to be pished down into rcl in the future)?

Hi @dirk-thomas: the dependency was introduced in this rclcpp PR (ros2/rclcpp#1050), where metrics_statistics_msgs is an rclcpp dependency. We discussed this offline with @wjwwood and we came to the conclusion that introducing the dependency as a separate repo (via https://github.com/ros-tooling/aws-roadmap/issues/249) was fine, with another reason being Topic Statistics is currently a C++ feature only.

@dirk-thomas
Copy link
Copy Markdown
Member

another reason being Topic Statistics is currently a C++ feature only.

Obviously that is only a short term state. As soon as possible the feature will be pushed down into rcl in order to provide the same statistics in other client libraries like rclpy. And at that point I question the decision to have two interface packages: rcl_interfaces and something containing interfaces for rcl but with a different name. Imo it goes against the rational we settled on to create rcl_interfaces in the first place.

@wjwwood
Copy link
Copy Markdown
Member

wjwwood commented Apr 16, 2020

I also advised putting this logic into rcl as the statistics feature isn't nearly as useful if only part of your system can contribute to it. I think this is a result of not having time to push it down. When this is a feature of rcl, I agree it would make sense to put it in rcl_interfaces. I would also support putting the new messages in rcl_interfaces now, to be honest. I just didn't push the point.

@dirk-thomas
Copy link
Copy Markdown
Member

Lets not create a Foxy-only message package then but move the interfaces into rcl_interfaces now. That makes sure that code using them doesn't have to be changed / broken in G-turtle.

@wjwwood
Copy link
Copy Markdown
Member

wjwwood commented Apr 16, 2020

Sounds good to me, @dabonnie can you guys do that then? Sorry for the back and forth.

@prajakta-gokhale
Copy link
Copy Markdown

We don't have a plan to add topic statistics to rclpy yet, but I agree that in the long run having the messages for it in rcl is the right thing to do.

We will close this PR and move code from metrics_statistics_msgs to rcl_interfaces.

@prajakta-gokhale
Copy link
Copy Markdown

Opened ros2/rcl_interfaces#98. @dabonnie we can close this.

@dabonnie
Copy link
Copy Markdown
Author

Hey @dirk-thomas and @wjwwood can you please review ros2/rcl_interfaces#98? I'll close this given the PR in rcl_interfaces.

@dabonnie dabonnie closed this Apr 16, 2020
@prajakta-gokhale prajakta-gokhale deleted the dabonnie/add-topic-statistics-dependencies branch April 17, 2020 02:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

more-information-needed Further information is required

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants