-
Notifications
You must be signed in to change notification settings - Fork 715
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
depth_image_proc/point_cloud_xyzi_radial Add intensity conversion (copy) for float #336
Conversation
This commit enables the generation of xyzi point clouds from 32-bit floating point intensity images. The destination data type for intensity storage is 32-bit float, so all that is required is a data copy. The change in this commit is simply an extension of the if-else statement to include the TYPE_32FC1 type and apply the usual convert_intensity() method.
can you share your bug fiile so that everyone can share your problem?
…--
◉ Kei Okada
2018-05-16 8:40 GMT+09:00 Mikael Westermann <notifications@github.com>:
This commit enables the generation of xyzi point clouds from 32-bit
floating point intensity images.
The destination data type for intensity storage is 32-bit float, so all
that is required is a data copy.
The change in this commit is simply an extension of the if-else statement
to include the TYPE_32FC1 type and apply the usual convert_intensity()
method.
This applies to the depth_image_proc/point_cloud_xyzi_radial nodelet.
PS: I do have a 3D camera with a manufacturer-supported ROS driver
providing me with 32-bit float intensity images.
------------------------------
You can view, comment on, or merge this pull request online at:
#336
Commit Summary
- Add intensity conversion (copy) for float
File Changes
- *M* depth_image_proc/src/nodelets/point_cloud_xyzi_radial.cpp
<https://github.com/ros-perception/image_pipeline/pull/336/files#diff-0>
(4)
Patch Links:
- https://github.com/ros-perception/image_pipeline/pull/336.patch
- https://github.com/ros-perception/image_pipeline/pull/336.diff
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#336>, or mute the
thread
<https://github.com/notifications/unsubscribe-auth/AAeG3Npi2qSLmOIkBU58v0nicOGRzRPNks5ty2dxgaJpZM4UAbvr>
.
|
I would love to, but I don't understand your request. I added a minor feature to the depth processing node. Do you want to see the error message that would be generated if I tried using the unmodified node on my incompatible data? |
yes, error message and how the node behavies. |
I will try and generate such an error later. A similar error message would be produced in the image callback of the point_cloud_xyzi node: To produce these error messages, you need the nodes to subscribe to an intensity image with the TYPE_32FC1 data type. Edit: |
@JWhitleyAStuff any issue merging this? |
LGTM! Onward! |
This commit enables the generation of xyzi point clouds from 32-bit floating point intensity images.
The destination data type for intensity storage is 32-bit float, so all that is required is a data copy.
The change in this commit is simply an extension of the if-else statement to include the TYPE_32FC1 type and apply the usual convert_intensity() method.
This applies to the depth_image_proc/point_cloud_xyzi_radial and depth_image_proc/point_cloud_xyzi nodelets.
PS: I do have a 3D camera with a manufacturer-supported ROS driver providing me with 32-bit float intensity images.