-
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 /camera/aligned_depth_to_color/image_raw topic #3277
Comments
Hi @CYJ00 I would not recommend using the
|
I am having an issue with this too. I am using the recommended launch parameter and I am getting all zeros when I echo the topic. I can see the image in rviz though but when I try to use the data from it for a downstream process the process acts like it is getting nothing from the topic. I am using the ros-development branch. |
Hi @mewescott It is recommended that the ros2-master branch is used, as ros2-development is the development-in-progress version that will become the next master version of the wrapper. Could you paste your launch log into a comment, please? Thanks! |
I was advised to use the development branch by the guys working on rotation. I later found out that they are only rotating the depth image when I need both so I am not using it until they finish rotation for both. If you think I need to switch back to get depth alignment to work I can try it. Do I need to switch both SDK and wrapper? sentry3@ubuntu:~/ros2_ws$ ros2 launch realsense2_camera rs_launch.py enable_rgbd:=true enable_sync:=true align_depth.enable:=true enable_color:=true enable_depth:=true depth_module.depth_profile:=1280x720x30 rgb_camera.color_profile:=1280x720x30 I am also getting a really bad depth cloud image. Point cloud image is bad too: Here is the terminal from it. I have a message popping up I don't know how to correct yet: sentry3@ubuntu:~/ros2_ws$ ros2 launch realsense2_camera rs_launch.py enable_rgbd:=true enable_sync:=true align_depth.enable:=true enable_color:=true enable_depth:=true depth_module.depth_profile:=1280x720x30 rgb_camera.color_profile:=1280x720x30 pointcloud.enable:=true initial_reset:=true |
@mewescott Switching to the master SDK version is not likely to improve your issues, so I recommend sticking with the development version as it appears to be functioning, though with non-ideal performance. Unless you need the aligned topic to be published then you should not need to set However, the message Is the pointcloud displayed correctly if you disable the color topic, enable Infra1 and set the pointcloud to use infrared to texture the pointcloud instead of RGB?
|
[ INFO] [1734061888.050640114]: RealSense ROS v2.3.2
[ INFO] [1734061888.050656726]: Built with LibRealSense v2.50.0
[ INFO] [1734061888.050662036]: Running with LibRealSense v2.50.0
Issue Description
I install the package using apt-get install command.
I used
roslaunch realsense2_camera rs_aligned_depth.launch
command.It's the log.
As a result,
/camera/color/image_raw
and/camera/infra1/image_rect_raw
are successfully received. But I can't receive/camera/aligned_depth_to_color/image_raw
topic.When I used
roslaunch realsense2_camera rs_camera.launch
command, there was no problem to get/camera/depth/image_rect_raw
. But in rs_aligned_depth.launch, I can't get/camera/depth/image_rect_raw
. How can I get/camera/aligned_depth_to_color/image_raw
topic?The text was updated successfully, but these errors were encountered: