Skip to content
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

[Nav2 Core] Change all shared pointer references to shared pointers #2966

Closed
SteveMacenski opened this issue May 24, 2022 · 3 comments
Closed
Labels
enhancement New feature or request prehumble

Comments

@SteveMacenski
Copy link
Member

Currently, that won't actually increment the reference counter

@SteveMacenski SteveMacenski added enhancement New feature or request prehumble labels May 25, 2022
@naiveHobo
Copy link
Contributor

Hello! I'm trying to jump back into contributing to nav2 and just trying to get through some of the minor looking prehumble tickets for starters.

I don't see any shared pointer references in nav2_core, only const rclcpp_lifecycle::LifecycleNode::WeakPtr & parent. When the weak pointers are locked, it should increment the shared pointer counter correctly right?

Can you point me to the shared pointer references you're talking about?

@SteveMacenski
Copy link
Member Author

SteveMacenski commented May 27, 2022

Hi! Welcome back! I'd love some assistance

The 2 places are https://github.com/ros-planning/navigation2/blob/main/nav2_core/include/nav2_core/smoother.hpp#L50-L52 and https://github.com/ros-planning/navigation2/blob/main/nav2_core/include/nav2_core/controller.hpp#L77-L78

If interested we're havign a behavior tree related problem that's stumping most of us. In the tests, this line is hanging indefinitely in some situations. Related to the discussion in #2934, but the comment in #2962 (comment) is making me worried its actually more wide spread than we knew prior

@SteveMacenski
Copy link
Member Author

Found it #2934 (comment) 😉 but I know you could have found it too as the author of that hah.

But happy to have you around! Maybe ping me on slack and we can chat about what you might be interested in working on? But certainly helping on things in the issue tracker is always appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request prehumble
Projects
None yet
Development

No branches or pull requests

2 participants