Skip to content
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

Set the fill_sampling_holes parameter to True #6

Merged
merged 1 commit into from
Dec 20, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions launch/kinova_vision.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,18 @@ def launch_setup(context, *args, **kwargs):
("depth/camera_info", "depth/camera_info"),
("depth/image_rect", "depth/image_raw"),
],
# Due to the resolution disparity between the depth images and
# the rgb images from the embedded D410 rgbd camera on the gen3
# kinova, when the depth images are registered in the color
# image frame, many holes occur in the registered depth data.
# Turning on fill_upsampling_holes spreads the lower resolution
# depth data out across the registered image to eliminate these
# holes.
parameters=[
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might be worth adding a comment that just says exactly what you have in the description...

Suggested change
parameters=[
# Due to the resolution disparity between the depth images and the rgb images from the embedded DH410 rgbd camera on the gen3 kinova,
# when the depth images are registered in the color image frame, many sampling holes occur.
# Turning on the fill_sampling_holes parameter spreads the lower resolution depth data out across the
# registered image so there are no sampling holes.
parameters=[

{
"fill_upsampling_holes": True,
}
],
),
ComposableNode(
package="depth_image_proc",
Expand Down