-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rs-enumerate-devices /realsense-viewer not working after launching realsense2_camera node #2016
Comments
Hi @joelbudu RealSense programs currently streaming with the camera should be closed before running another RealSense program, because the program that was run first will be blocking access to other applications using the streams that it currently has a 'claim' on. Unplugging the camera from the USB ports stops all currently active streams and so makes all streams available to use for the next program that enables those streams and 'claims' them. |
Dear @MartyG-RealSense . This issue happens even after closing the running application. |
I have seen a couple of past cases similar to your situation, where the Viewer does not work after first running RealSense ROS. The link below has one such case. Since librealsense and the RealSense ROS wrapper operate independently and you do not need the Viewer open in order to use the ROS wrapper, a simple workaround may be to not use librealsense programs in sessions where you are using RealSense ROS. The RealSense ROS wrapper publishes a topic called /diagnostics that you can check for camera information. |
Hi @joelbudu Do you require further assistance with this case, please? Thanks! |
I did realize based on the links you shared that these is some disparity between the version of librealsense installed and the realsense-ros package I have installed. I tried to build the latest realsesnse-ros from source but I'm receiving this warning now: [ INFO] [1628513177.458658821]: RealSense ROS v2.3.1 I'm not sure how to fix this. |
Update: @MartyG-RealSense Apparently I had another librealsense2 package installed: ros-melodic-librealsense2 that was also creating a conflict. With matching librealsense2 versions this works fine and there is no issue. Thank you very much for the guidance. |
Great news @joelbudu that you found a solution - thanks very much for the update :) |
rs-enumerate-devices /realsense-viewer doesn't seem to be working after launching a realsense2_camera node. It only works after physically disconnecting and reconnecting the USB cable.
The text was updated successfully, but these errors were encountered: