intel / ros2_intel_realsense

This project is deprecated and no more maintained. Please visit https://github.com/IntelRealSense/realsense-ros for ROS2 wrapper.
Apache License 2.0
139 stars 95 forks source link

Using ros2 lifecycle to restart stream after camera re-connection #139

Open AndreasAZiegler opened 3 years ago

AndreasAZiegler commented 3 years ago

Currently, if I have to unplug the camera and plug it in again, I have to restart the ros2 camera node. It would be nice if the camera node would automatically come back when the camera is connected again. Using the lifecycle functionality of ROS2, this seems to be possible.