-
Notifications
You must be signed in to change notification settings - Fork 433
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
Fixed errors when creating a custom subscriber. #2727
base: rolling
Are you sure you want to change the base?
Conversation
5dbd654
to
07f410e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i think that allowing the user application to create the custom subscription inherited from rclcpp::Subscriber
would be nice.
but this PR targets to humble
, and there are many test failures.
can you address that retargeting this PR against rolling
that is the main development branch and all test failures?
note that, since this is breaking ABI change, we cannot backport this to already released distros that are jazzy and humble.
No, it doesn't break the API because there are template parameters in the function signature. There are no parameters in the internal call stack. Please take a look:
|
@bks-ol ah i see, this does not change templated parameter, since it is already there.
but this is still what we need to do to proceed this PR. |
68f5ecc
to
ff1cf21
Compare
I have fixed the errors and would like to get your feedback. I can make another pull request to rolling later, but for now I need a merge with humble, okay? :) |
I do not think so 😓 usually we fix the problem in rolling, and then if that is ABI/API compatible (it does not break the user space), we can work on the backport after soak time... |
Yeah, we need to get it into |
Signed-off-by: olesya <[email protected]>
Signed-off-by: olesya <[email protected]>
Signed-off-by: olesya <[email protected]>
ff1cf21
to
34ce012
Compare
@bks-ol Out of curiosity, why do you need to inherit from rclcpp::Subscription in the first place ? |
It was impossible to create a custom subscriber inherited from rclcpp::Subscriber, I fixed this bug and added a test to check correctness.