Skip to content

Include type hash in topic endpoint info (rep2011)#1104

Merged
clalancette merged 1 commit intoros2:rollingfrom
achim-k:achim-k/rep2011_type_hash
Jun 13, 2023
Merged

Include type hash in topic endpoint info (rep2011)#1104
clalancette merged 1 commit intoros2:rollingfrom
achim-k:achim-k/rep2011_type_hash

Conversation

@achim-k
Copy link
Copy Markdown
Contributor

@achim-k achim-k commented Apr 3, 2023

Part of ros2/ros2#1159

Features

  • Adds the TypeHash class
  • Adds the type hash to the TopicEndpointInfo class

This will print the type hash when printing out verbose topic information with rostopic info --verbose. Note that without the --no-daemon flag, ros2/ros2cli#816 is required which adds xmlrpc marshalling support for the new rclpy.type_hash.TypeHash class

@achim-k achim-k changed the title Include type hash in topic endpoint info Include type hash in topic endpoint info (rep2011) Apr 3, 2023
Copy link
Copy Markdown
Collaborator

@emersonknapp emersonknapp left a comment

Choose a reason for hiding this comment

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

LGTM - some small nitpicks you could address

Copy link
Copy Markdown
Contributor

@clalancette clalancette left a comment

Choose a reason for hiding this comment

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

This one looks good to me.

@achim-k Am I correct in thinking that this one has no other dependencies? If that's the case, then I'll go ahead and run CI on it.

@achim-k
Copy link
Copy Markdown
Contributor Author

achim-k commented Jun 8, 2023

@achim-k Am I correct in thinking that this one has no other dependencies?

Yes, that's correct.

@clalancette
Copy link
Copy Markdown
Contributor

CI:

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

@clalancette
Copy link
Copy Markdown
Contributor

@achim-k There were a bunch of test failures in here; can you take a look?

@achim-k
Copy link
Copy Markdown
Contributor Author

achim-k commented Jun 9, 2023

@achim-k Am I correct in thinking that this one has no other dependencies?

Yes, that's correct.

I was wrong. It depends on ros2/ros2cli#816 which adds marshalling support for the added TypeHash class. This is only required for runtime, but tests will fail without it.

@clalancette
Copy link
Copy Markdown
Contributor

I was wrong. It depends on ros2/ros2cli#816 which adds marshalling support for the added TypeHash class. This is only required for runtime, but tests will fail without it.

There also seems to be a flake8 issue in the tests, though it is in code that this doesn't touch. I'm going to rebase this to see if that improves the situation.

Signed-off-by: Hans-Joachim Krauch <achim.krauch@gmail.com>
@clalancette clalancette force-pushed the achim-k/rep2011_type_hash branch from df8837a to 0c94401 Compare June 9, 2023 12:41
@clalancette
Copy link
Copy Markdown
Contributor

New CI:

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

@clalancette
Copy link
Copy Markdown
Contributor

It looks like there are still test failures.

@achim-k
Copy link
Copy Markdown
Contributor Author

achim-k commented Jun 9, 2023

It looks like there are still test failures.

Pushed a fix to ros2/ros2cli#816

@clalancette
Copy link
Copy Markdown
Contributor

All right, here is another CI run:

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

@clalancette clalancette merged commit ecf8958 into ros2:rolling Jun 13, 2023
@clalancette
Copy link
Copy Markdown
Contributor

@Mergifyio backport iron

@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Jun 13, 2023

backport iron

✅ Backports have been created

Details

mergify bot pushed a commit that referenced this pull request Jun 13, 2023
Signed-off-by: Hans-Joachim Krauch <achim.krauch@gmail.com>
(cherry picked from commit ecf8958)
clalancette pushed a commit that referenced this pull request Jun 14, 2023
Signed-off-by: Hans-Joachim Krauch <achim.krauch@gmail.com>
(cherry picked from commit ecf8958)

Co-authored-by: Hans-Joachim Krauch <achim-k@users.noreply.github.com>
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