-
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
I can't get aligned depth images of my D435i from another PC with the same ROS_DOMAIN_ID. #3251
Comments
Hi @iotakataoka A RealSense ROS user at #3072 (comment) who was using DDS and not getting an output from the aligned topics found that their problem was because the aligned images had high bandwidth and their network could not handle it. Is this case relevant to your own problem, please? |
This is certainly similar to my problem. It's possible that the network can't handle large amounts of data. Could lowering the resolution or compressing the data be a solution? |
You might get better performance from compressed depth topics so long as you do not use the compressedDepth topic which has a much higher data size than the other compressed topics, as discussed at #3105 (comment) A list of the compressed topics available from the RealSense ROS2 wrapper can be found at the link below. https://dev.intelrealsense.com/docs/ros2-wrapper#compression-packages |
Are you able to set RViz to use compressed data instead of raw data on its 'Create visualization' window as shown at #1903 (comment) please? |
Looking at related cases including #3105 (comment) the users in those cases may be configuring their image_transport settings using the rqt_reconfigure settings interface, which can be launched with the commabd below
A ROS2 tutorial for image_transport provides information about configuring through this interface. Specific settings can also be configured directly with ros2 param set commands like the example below.
|
I was able to change the format to png with
As a result, the error By the way, I found that if I stopped displaying the two types of camera data in rviz, the point cloud would appear and move. |
Thanks very much for the update. I'm pleased to hear that you made significant progress. Does not displaying the two types of camera data in order to make the pointcloud work cause problems for you, please? |
There is a slight lag in the display of the point cloud, but this does not affect the topic itself. |
Ok, thanks very much. It's good that this is a workable solution for you. |
Hi @iotakataoka Do you require further assistance with this case, please? Thanks! |
The problem has been resolved for now. I will ask again if any other problems occur. Thank you. |
The problem has been resolved for now. I will ask again if any other problems occur. Thank you. |
You are very welcome, @iotakataoka - thanks very much for the update! |
Hello
Issue Description
I cannot get an aligned depth image from another PC with the same ROS_DOMAIN_ID.
Actual Behavior
When viewed from a PC that does not have a realsenseD435i connected but has the same ROS_DOMAIN_ID, the
/camera/camera/aligned_depth_to_color/image_raw
topic is always published, but new values are not sent only when rviz2 is running. /camera/camera/color/image_raw is sent even while rviz2 is running, and the image in rviz is also updated.The command I'm using is:
ros2 launch realsense2_camera rs_launch.py align_depth.enable:=true pointcloud.enable:=true filters:=spatial initial_reset:=true
I also tried removing rgb_camera.profile and rgb_camera.profile, but there was no change.
I set rviz's Reliability Policy to Best Effort.
Expected Behavior
I want to obtain an aligned depth image and a pointcloud and visualize them with rviz2.
The text was updated successfully, but these errors were encountered: