Comments (13)
Tried your fork, It didn't fix it.
from realsense-ros.
@senia907
Depth Registration is not done within the R200 nodelet. You could use the nodelets provided in rgbd_launch to do it.
In order to do that at your desired resolution (640x480), you can try the following:
- Replace the realsense_r200_nodelet.launch.xml file in the launch/includes folder with realsense_r200_nodelet.launch.xml.txt (make sure to remove the .txt extension which was added because git does not allow .xml attachments).
This file has been modified to include the "manual" mode, and the resolutions & fps for the depth and color streams. - Then launch realsense_r200_rgbd.launch like you did before.
- Then view the /camera/depth_registered/sw_registered/image_rect and /camera/depth_registered/sw_registered/image_rect_raw topics using rViz. Make sure to un-check the Normalize Range option.
If you still see alignment issues and/or bad data, please let us know and we will look into this further.
from realsense-ros.
Hi,
Thanks for the replay, I changed the realsense_r200_nodelet.launch.xml file with the one you added, and launched realsense_r200_rgbd.launch, yet I got a bad(white+checkered) image at /camera/depth_registered/sw_registered/image_rect:
and a bad(checkered) image at #same#/image_rect_raw:
where I want the format of a regular depth image(like in /camera/depth/image_raw):
I'm using image_view package to view the images, and launching Rviz with the normalize range option disabled, where I think is connected to my problem, but I saw similler results.
Either way, if it's in Rviz It doesn't help me much as I need a registered depth stream with /camera/depth/image_raw format.
Thanks.
from realsense-ros.
Hi,
Is there a solution available?
I see this problem as making the ROS driver completely unreliable.
from realsense-ros.
@senia907 since you would have also installed librealsense as part of this driver, maybe it would make sense to experiment with librealsense and use its rectified streams directly (see one of the several examples, like cpp-alignimage)
from realsense-ros.
Hi,
Thanks for the replay, yet cpp-alignimage is just a view, and isn't capable of changing/moving one of the streams. All other example didn't seem useful too.
from realsense-ros.
@senia907 I have added the alignment code suggested to my fork of the realsense driver. Please try using it with the realsense_r200_rgbd.launch file included. I hope it fixes your issues.
from realsense-ros.
So the color and depth are still out of alignment using the realsense_r200_rgbd.launch file?
from realsense-ros.
Yes, they are still out of alignment.
from realsense-ros.
@senia907 - have you run with our newest release 1.6.0 and do you still see this issue? We've made many updates since this issue was first filed that may have helped.
from realsense-ros.
having similar problem (r200_nodelet_rgbd.launch):
checkered artifacts in registered depth image: /camera/depth_registered/sw_registered/image_rect_raw
on Ubuntu 16.04, 4.4.0-45-generic
Installed precompiled version for ros-kinetic-relasense-camera
librealsense version: 1.11.0
realsense_camera: 1.5.0
from realsense-ros.
Checkered artifacts are not actual artifacts but rather a result from the image registration. The image registration both transforms (scales, moves and rotates) the depth image into the RGB image and hence also changes the intrinsics of the image. As the resolution of the depth image is lower than the RGB image (when running in 480x360 mode) the checkered depth image is simply a result of missing pixels when the image is scaled.
See also: ros-perception/image_pipeline#265
PS. I can confirm that both low resolution (480x360) and high resolution (640x480) works. Though both resolutions have some clear edges due to the disparity matching/generation inside the R200 camera.
from realsense-ros.
Fixed by #261
from realsense-ros.
Related Issues (20)
- Can't not display compressed RGB/Depth in RViz HOT 6
- `rgb_camera.color_profile` -> `rgb_camera.profile` ? HOT 2
- Announcement: RealSense ROS wrapper 4.55.1 now available HOT 10
- Cannot Publish Pointclouds on ROS Noetic under Ubuntu 20.04 on an RPi 4 HOT 4
- Can D435 or D455 be used in a MOOS environment? HOT 3
- How to calibrate D435 using checkerboard underwater? HOT 3
- Current Options for Visual Odometry with T265
- Prefixing camera frames with namespaces in the tf_static topic HOT 12
- ROS2 Lifecycle node HOT 2
- D455 camera cannot get imu msg from rostopic HOT 6
- The requested device with serial number f0232572 is NOT found. Will Try again. L515 HOT 3
- Error with "roslaunch realsense2_camera opensource_tracking.launch" HOT 31
- Connect to device via physical ID HOT 5
- The ROS wrapper for RealSense D435 does not starts, it gives ERRORS - D435+ROS Noetic+Ubuntu 20.04 HOT 41
- D455 camera cannot get imu msg from rostopic HOT 15
- Unable to build from source since PR #3125 HOT 35
- cant change color profile HOT 10
- When can a version with "rolling" support be released? HOT 3
- Failed to start the depth stream with D415 after updating to RealSense ROS Wrapper Version 4.55.1 HOT 10
- fails to build from sources HOT 23
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from realsense-ros.