Markus Vieth
1868f51160
Avoid copying data in fromROSMsg with PCL >= 1.13.1 ( #402 )
...
See also https://github.com/PointCloudLibrary/pcl/pull/5608
2023-02-14 14:38:26 -08:00
Markus Vieth
0918531c17
Add logic for missing pcl/point_traits.h in newer PCL versions ( #382 )
...
point_traits.h is no longer available, starting with PCL 1.13.0
Since PCL 1.11.0, type_traits.h should be used instead
2022-11-20 11:00:22 -08:00
Markus Vieth
3eecd4e37b
Add boost include, missing in upcoming PCL versions (ros2) ( #374 )
...
* Remove name of nonexistent PCL component (core)
Probably, common is meant, which is also requested
* Add boost include, missing in upcoming PCL versions
Was removed in pcl/conversion.h here: https://github.com/PointCloudLibrary/pcl/commit/292593abd3b69af315c7fe3379363bdce7800d5a
2022-07-07 12:22:26 -07:00
Markus Vieth
461a66ca08
Use complete namespace for traits members ( #332 )
...
This prevents errors like this: error: ‘name’ is not a member of ‘pcl::detail::traits’; did you mean ‘pcl::traits::name’?
The error appears for newer PCL versions (everything after commit https://github.com/PointCloudLibrary/pcl/commit/d39d3d3300746b952997e5bd2742dac7482aa5ab ), but this change should also be fully compatible with older PCL versions.
2021-06-30 12:44:28 -07:00
Markus Vieth
135a2c29e3
Correct conversion of time stamp ( #319 )
...
* Add test to verify that stamps are correctly converted
* Fix bug in fromPCL function for headers
The time stamp was not set.
2020-12-04 10:57:37 -08:00
Markus Vieth
2d21467423
Change conversions of Vertices for new PCL versions ( #316 )
...
In https://github.com/PointCloudLibrary/pcl/commit/ad00c7bee2fad0391649479d90eee4461a2e74e7 , the vertices field of pcl::Vertices changed from std::vector<std::uint32_t> to std::vector<pcl::index_t>, where index_t is an index type with configurable size (currently by default int). This commit makes conversions from and to pcl_msgs::Vertices possible again, moving the vector contents if possible.
2020-11-09 11:09:17 -08:00
Markus Vieth
706c020528
Deprecate use_polynomial_fit ( #305 )
...
The pcl function setPolynomialFit is deprecated, setPolynomialOrder should be used instead
2020-08-22 11:04:21 -07:00
Markus Vieth
21cf907c46
Add missing include for new PCL versions ( #293 )
...
After this change https://github.com/PointCloudLibrary/pcl/commit/6df3e602a72ea16657f901c9a6911d95b263ba08#diff-24324a084e511502d7f34054ec31b353L50 , an explicit include for KdTree is needed.
It was formerly a transitive include via pcl/surface/mls.h - pcl/search/pcl_search.h - pcl/search/kdtree.h - pcl/kdtree/kdtree_flann.h.
2020-07-30 11:52:57 -07:00