You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
ros2 launch realsense2_camera rs_launch.py
terminal2
pyhon stream.py
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: