Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Add node interfaces to motion_ref_handlers and sync clients #370

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
Loading
from

Conversation

pariaspe
Copy link
Member

@pariaspe pariaspe commented Dec 4, 2023

Basic Info

Info Please fill out this column
Issue(s) this addresses #369
ROS2 version tested on Humble
Aerial platform tested on Ignition

Description of contribution in a few bullet points

  • Motion reference handlers and synchronous client uses node interfaces to extend compatibility to other Nodes (not only as2::Node). Constructors with as2::Node arguments are kept to maintain compatibility.

Description of documentation updates required from your changes

  • Update API with new methods

@codecov-commenter
Copy link

codecov-commenter commented Dec 4, 2023

Codecov Report

Attention: 98 lines in your changes are missing coverage. Please review.

Comparison is base (8999e71) 1.97% compared to head (a20c723) 1.97%.

❗ Current head a20c723 differs from pull request most recent head 6dff077. Consider uploading reports for the commit 6dff077 to get more accurate results

Files Patch % Lines
...reference_handlers/src/basic_motion_references.cpp 0.00% 26 Missing ⚠️
..._motion_reference_handlers/src/position_motion.cpp 0.00% 16 Missing ⚠️
as2_motion_reference_handlers/src/speed_motion.cpp 0.00% 16 Missing ⚠️
...reference_handlers/src/speed_in_a_plane_motion.cpp 0.00% 14 Missing ⚠️
...otion_reference_handlers/src/trajectory_motion.cpp 0.00% 14 Missing ⚠️
as2_motion_reference_handlers/src/hover_motion.cpp 0.00% 12 Missing ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@          Coverage Diff           @@
##            main    #370    +/-   ##
======================================
  Coverage   1.97%   1.97%            
======================================
  Files        103     103            
  Lines       5626    5759   +133     
  Branches     181     198    +17     
======================================
+ Hits         111     114     +3     
- Misses      5405    5521   +116     
- Partials     110     124    +14     
Flag Coverage Δ
unittests 1.97% <0.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@miferco97 miferco97 requested review from miferco97 and removed request for miferco97 December 5, 2023 17:08
@RPS98 RPS98 requested review from RPS98 and removed request for RPS98 January 25, 2024 15:37
@miferco97
Copy link
Member

@pariaspe is this really worth it? it seems to be very messy in comparison with the former approach. Did you see any benefit from using this?

@pariaspe
Copy link
Member Author

pariaspe commented May 6, 2024

@pariaspe is this really worth it? it seems to be very messy in comparison with the former approach. Did you see any benefit from using this?

Mainly, it will work for every Node (as2::Node, rclcpp::Node, rclcpp::LifecycleNode or whatever). I just overloaded constructors to extend the supported nodes, it won't break the existing use of it.
Future ROS 2 releases include NodeInterfaces class, which simplifies the syntax.

@miferco97
Copy link
Member

Working on it on branch 369-node-interfaces-arguments-updated

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.

[as2_motion_reference_handlers, as2_core] Use NodeInterfaces arguments instead of Node
3 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.