Skip to content

Conversation

@jcmonteiro
Copy link
Contributor

All message filters used to work only with rclcpp::Node instances. It is not possible to use them with rclcpp_lifecycle::LifecycleNode instances.

@fmrico
Copy link

fmrico commented May 26, 2020

Hi @jcmonteiro

I see that this PR is waiting to be accepted since August. I wonder if it can be merged. It could benefit some improvements in nav2 that I am working on, among others.

@dirk-thomas @tfoote

Thanks
Francisco

@dirk-thomas dirk-thomas requested review from mjcarroll and tfoote May 26, 2020 18:05
@jcmonteiro
Copy link
Contributor Author

jcmonteiro commented May 26, 2020

Hello,

I had to return to ros melodic after changing jobs, so it's been a while since I've used ros2. Nonetheless, I've used this fork a lot in my previous job without problems, in particular with my other PR #38.

@mjcarroll
Copy link
Member

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

@Michael-Equi
Copy link

Is this going to be merged in anytime soon? @mjcarroll @tfoote

Copy link
Contributor

@tfoote tfoote left a comment

Choose a reason for hiding this comment

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

Looks good to me. @Karsten1987 do you have any concerns?

@ivanpauno
Copy link
Member

@Karsten1987 ping from waffle meeting

Copy link

@Karsten1987 Karsten1987 left a comment

Choose a reason for hiding this comment

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

Sorry for being late here, that initial tagging somehow got lost in between all GH notifications.

The code looks good to me, I am requesting changes though because I think the rclcpp_lifecycle dependency is purely related to tests. See inline comments for details.


<build_depend>builtin_interfaces</build_depend>
<build_depend>rclcpp</build_depend>
<build_depend>rclcpp_lifecycle</build_depend>

Choose a reason for hiding this comment

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

I think rclcpp_lifecycle should be listed as a test_depend only.

find_package(ament_cmake_python REQUIRED)
find_package(ament_cmake_ros REQUIRED)
find_package(rclcpp REQUIRED)
find_package(rclcpp_lifecycle REQUIRED)

Choose a reason for hiding this comment

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

I think this call to find_package(rclcpp_lifecycle REQUIRED) should be under the BUILD_TESTING section and only be used when building tests.

@allenh1
Copy link
Contributor

allenh1 commented Jun 14, 2021

Any update on this patch? I would be glad to drive it forward if @jcmonteiro no longer wants to push this forward

@jcmonteiro
Copy link
Contributor Author

Hi @allenh1. According to the previous comments, I believe the changes should be minor. If you can take them, I'd be glad to see this PR merged 😊

@allenh1
Copy link
Contributor

allenh1 commented Jun 14, 2021

I believe the changes should be minor. If you can take them, I'd be glad to see this PR merged

Absolutely. There were a few extra changes that needed to be made (that have been made to message filters since you submitted this patch). I haven't addressed @Karsten1987's review points yet, but I think he's absolutely right about the dependency so I'll push that on my branch.

Would people prefer I submit a different PR or hijack this one?

@jcmonteiro
Copy link
Contributor Author

I believe it would be better to push into this PR since it has already gone through a review process.

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.

8 participants