Skip to content
This repository has been archived by the owner on Jul 19, 2024. It is now read-only.

ROS2 node does not get properly destroyed #36

Open
CharlesXu1124 opened this issue Dec 5, 2022 · 0 comments
Open

ROS2 node does not get properly destroyed #36

CharlesXu1124 opened this issue Dec 5, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@CharlesXu1124
Copy link

I was using the example listener script in the package to subscribe for my Lidar pointcloud2 data, while I was able to properly subscribe to it and visualize the points, every time I terminated the application in both Unity editor and hololens2 the node is not being properly terminated and became a zombie node in the background. This can be verified by using "ros2 node list" in the terminal, and these zombie nodes can only be destroyed if I manually close the unity editor/reboot hololens device. Do you know is there any way to cleanly close the application?

p.s. I was also looking at other ros2 Unity packages such as this one: https://github.com/RobotecAI/ros2cs, they do have to call a shutdown function to destroy the nodes properly so my guess is such a function might be missing

@CharlesXu1124 CharlesXu1124 added the bug Something isn't working label Dec 5, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant