Hello,
in our use case, we regularly plug / un-plug cameras (D435) to our system. We need to adapt the number of realsense-ros nodes running according to the current number of embedded cameras, at runtime without re-launching our whole ROS application.
Previously, with ROS1, we used to simply kill / launch the realsense-ros nodes with system calls.
ROS2 offers the possibility to use LifecycleNodes (ROS2 design documentation here and a demo here). We would be super interested in using realsense-ros nodes as lifecycle nodes, especially for two reasons:
- easily activate / deactivate the realsense-ros nodes at runtime (while our system is in some kind of a sleep mode)
- easily configure / unconfigure a realsense-ros node at runtime (depending of the number of cameras being added / removed to our system)
(By "activate / deactivate / configure / unconfigure" I am directly referring to the lifecycle node's states transitions (see doc link above), and by "easily", I mean that these transitions can be triggered by an external node of our own, which would be able to ask the lifecycle realsense-ros node to change from a state to another)
Well my question is: are you considering to make realsense-ros a ROS2 lifecycle node? If so, any idea of the time it will take until it would be implemented?
If this is not part of your plans for now, would you still accept a pull request to implement this? Even if, obviously, there would be a lot of discussions to have about the design of it, before implementing anything.
I am just asking to know if lifecycle nodes are something you could consider at some point, or if there is just no room for lifecycle nodes in realsense-ros development.
Thank you!
Hello,
in our use case, we regularly plug / un-plug cameras (D435) to our system. We need to adapt the number of realsense-ros nodes running according to the current number of embedded cameras, at runtime without re-launching our whole ROS application.
Previously, with ROS1, we used to simply kill / launch the realsense-ros nodes with system calls.
ROS2 offers the possibility to use LifecycleNodes (ROS2 design documentation here and a demo here). We would be super interested in using realsense-ros nodes as lifecycle nodes, especially for two reasons:
(By "activate / deactivate / configure / unconfigure" I am directly referring to the lifecycle node's states transitions (see doc link above), and by "easily", I mean that these transitions can be triggered by an external node of our own, which would be able to ask the lifecycle realsense-ros node to change from a state to another)
Well my question is: are you considering to make realsense-ros a ROS2 lifecycle node? If so, any idea of the time it will take until it would be implemented?
If this is not part of your plans for now, would you still accept a pull request to implement this? Even if, obviously, there would be a lot of discussions to have about the design of it, before implementing anything.
I am just asking to know if lifecycle nodes are something you could consider at some point, or if there is just no room for lifecycle nodes in realsense-ros development.
Thank you!