Skip to content

use node interfaces instead of pure node#57

Merged
nathanhhughes merged 2 commits intomainfrom
feature/node_interfaces
Aug 15, 2025
Merged

use node interfaces instead of pure node#57
nathanhhughes merged 2 commits intomainfrom
feature/node_interfaces

Conversation

@nathanhhughes
Copy link
Copy Markdown
Collaborator

@Schmluk ran into a case where I wanted the dynamic configs but didn't have a pointer to the underlying node, so refactored the server to use the node interfaces. This works on ROS2 Humble (unlike Ianvs) and hopefully also Jazzy (which I'm going to test soon)

@nathanhhughes nathanhhughes requested a review from Schmluk August 14, 2025 19:24
Copy link
Copy Markdown
Collaborator

@Schmluk Schmluk left a comment

Choose a reason for hiding this comment

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

LGTM!

Few minor things:

  • Would be nice to test on Jazzy, otherwise good to go!
  • Do the demos build + run?
  • Do docs need updating?

@nathanhhughes
Copy link
Copy Markdown
Collaborator Author

Confirmed it builds on Jazzy and the demo runs on both Humble and Jazzy. The change should hopefully be transparent to whoever uses the server (passing a full node to the constructor still works) and I didn't see anything in the docs that needed to be updated

@nathanhhughes nathanhhughes merged commit 03d14ea into main Aug 15, 2025
1 check passed
@nathanhhughes nathanhhughes deleted the feature/node_interfaces branch August 15, 2025 15:25
@Schmluk
Copy link
Copy Markdown
Collaborator

Schmluk commented Aug 15, 2025

Many thanks! Looks much cleaner!

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.

2 participants