Open wataru-okumura opened 1 week ago
Hi @wataru-okumura It appears that the key difference between stream.py and stream_one.py is that stream.py (the multiple stream toggle script) is applying rclpy.spin_until_future_complete
a single time for all streams, whilst stream_one ply applies it for each individual stream.
I have not seen this particular method used with the RealSense ROS wrapper before. However, given how these stream enable parameters are usually set individually in launch file or launch command, I would expect the same to be the case for rclpy. And stream.py does not seem to be a bad way of implementing it.
Issue Description
Thanks again. When I try to switch between multiple streams enable as in the code I gave you (stream.py) There is no response from realsenes-ros and it locks up. Is this a limitation of the device? Is it a software glitch?
By the way, if I send one parameter at a time like stream_one.py, it works fine. stream.zip
terminal1
terminal2