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

Changed intensity from float to uint8 #118

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

zygfrydw
Copy link

@zygfrydw zygfrydw commented Mar 28, 2023

I have changed the intensity field in ROS PointCloud2 because I see no advantage in converting this field from UINT8 to FLOAT type.
The intensity in LidarPointCloudMsg is kept as UINT8 and only when converting to ROS message the intensity is converted to float type. There is no advantage in this conversion, but there are costs of greater message size and additional performance costs of converting floating point to byte for the receiver of this message.

@FelixHuang18
Copy link
Contributor

Hi zygfrydw,
it's a nice change!
But there are many other users who want float type intensity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants