Function cloudini_ros::applyResolutionProfile
Defined in File ros_msg_utils.hpp
Function Documentation
-
void cloudini_ros::applyResolutionProfile(const ResolutionProfile &profile, std::vector<Cloudini::PointField> &field, std::optional<float> default_resolution = std::nullopt)
Apply a resolution profile to the fields in the point cloud. If a field has a resolution of 0, it will be removed.
- Parameters:
profile – The resolution profile to apply.
field – The fields to apply the profile to.
default_resolution – Optional default resolution to apply to FLOAT32 fields not in the profile.