46 Commits

Author SHA1 Message Date
Daisuke Sato
de09161924
migrate passthrough and project_inliers filters (#395)
* migrate passthrough and project_inliers filters

Signed-off-by: Daisuke Sato <daisukes@cmu.edu>

* - remove throwing runtime_error (result always true)
- use get_subscription_count()

Signed-off-by: Daisuke Sato <daisukes@cmu.edu>

* change comparison operator

Signed-off-by: Daisuke Sato <daisukes@cmu.edu>

---------

Signed-off-by: Daisuke Sato <daisukes@cmu.edu>
2023-01-30 18:36:12 -08:00
Daisuke Sato
0c8e7dafce
Migrate extract_indices filter (#394)
* - migrate extract_indices filter
- add test to check if filter node/component output result

Signed-off-by: Daisuke Sato <daisukes@cmu.edu>

* add test_depend to package.xml

Signed-off-by: Daisuke Sato <daisukes@cmu.edu>

* add launch_testing_ros as test_depend too

Signed-off-by: Daisuke Sato <daisukes@cmu.edu>

* fixed test not to depend on ros2cli

Signed-off-by: Daisuke Sato <daisukes@cmu.edu>

---------

Signed-off-by: Daisuke Sato <daisukes@cmu.edu>
2023-01-27 15:50:45 -08:00
Daisuke Sato
387f5b158b
migrate abstract filter node (#388)
* migrate abstract filter node

Signed-off-by: Daisuke Sato <daisukes@cmu.edu>

* remove use_frame_params from constructor and make a function for the logic

Signed-off-by: Daisuke Sato <daisukes@cmu.edu>

Signed-off-by: Daisuke Sato <daisukes@cmu.edu>
2022-12-19 11:13:06 -08:00
Daisuke Nishimatsu
bd7a060e98
use common header instead of io (#361)
Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>
2022-04-13 13:17:03 -07:00
Rich Mattes
755f566356
pcl_ros: Use vec.data() instead of &vec[0] (#348)
Update pcl_ros to use the data() member function of STL containers to
get the pointer to the underlying storage, instead of dereferencing the
zeroth element and taking its reference.  When a container is of size 0,
dereferencing element 0 with operator[]() is undefined behavior, and
will trigger assertions when features like _GLIBCXX_ASSERTIONS are
enabled.

Fixes #333.
2021-09-27 14:28:26 -07:00
Kenji Miyake
1a214ccc6e
Fix obsolete header (#342)
Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>
2021-08-30 11:08:25 -07: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
Sean Kelly
d7a79b927f
Port transforms library to ROS2 (#301)
* Port transforms library to ROS2

- Port the transforms library to ROS2
- Update CMakeLists
- Update package.xml
- Enable the package

Signed-off-by: Sean Kelly <sean@seankelly.dev>

* Feedback from PR
2020-08-12 12:12:51 -07:00
Sean Kelly
420f5b032b
Make ament_cpplint pass (#298)
Collection of hand-made changes to make ament_cpplint pass consisting of:
- whitespace between comments
- line length
- header ordering
- include guard formats
- remove a couple `using namespace std;`
- using c++ casts instead of c-style casts

Signed-off-by: Sean Kelly <sean@seankelly.dev>
2020-08-09 16:47:21 -07:00
Sean Kelly
63cee139f1
Apply ament_uncrustify --reformat (#297)
Signed-off-by: Sean Kelly <sean@seankelly.dev>
2020-08-06 12:28:29 -07:00
Sean Kelly
0ac6810688
Rename headers from .h to .hpp (#296)
* Rename headers from .h to .hpp per ROS2 guidelines

This change is the result of the following command run from pcl_ros dir:

$ find -name *.h | xargs -I {} mv {} {}pp

Signed-off-by: Sean Kelly <sean@seankelly.dev>

* Update internal includes for the renamed headers

This change was the result of the following bash script:

$ find -name *.h -o -name *.cpp -o -name *.hpp | xargs -I {} sed -i 's/\(pcl_ros\/.*\)\(h\)\([">]\)$/\1\2pp\3/g' {}

Signed-off-by: Sean Kelly <sean@seankelly.dev>
2020-08-06 11:13:01 -07:00
Kunal Tyagi
2b770b15ed
Changes in preparation for PCL 1.11 (#273) (#279)
* Deriving typedef from pcl type

* Explicit boost shared_ptr for function parameters

* Use boost::shared_ptr instead of PCL::Ptr

* Implementing boost-std compatibility

* Using the compatibility layer
2020-05-11 18:50:15 -07:00
Ruffin
36eb607be7
Use std::uint* types. (#265) (#266)
Co-authored-by: Mike Purvis <mike@uwmike.com>
2020-03-16 13:08:48 -07:00
Mikael Arguedas
08c7c12cff update to use non deprecated pluginlib macro 2018-04-30 11:44:37 -04:00
Kentaro Wada
9ac65d9d20 LazyNodelet for features/* 2018-04-30 11:44:37 -04:00
Kentaro Wada
c4c7f30977 LazyNodelet for filters/ProjectInliers 2018-04-30 11:44:37 -04:00
Kentaro Wada
560fd2cd63 Refactor io/PCDReader and io/PCDWriter as child of PCLNodelet 2018-04-30 11:44:37 -04:00
Kentaro Wada
2d13abfc8e LazyNodelet for io/PointCloudConcatenateFieldsSynchronizer 2018-04-30 11:44:37 -04:00
Kentaro Wada
7124f54462 LazyNodelet for io/PointCloudConcatenateDataSynchronizer 2018-04-30 11:44:37 -04:00
Kentaro Wada
071de1e3b4 LazyNodelet for segmentation/SegmentDifferences 2018-04-30 11:44:37 -04:00
Kentaro Wada
3cab2abb15 LazyNodelet for segmentation/SACSegmentationFromNormals 2018-04-30 11:44:37 -04:00
Kentaro Wada
3ef2b1bf8a LazyNodelet for segmentation/SACSegmentation 2018-04-30 11:44:37 -04:00
Kentaro Wada
ebe25b4b89 LazyNodelet for segmentation/ExtractPolygonalPrismData 2018-04-30 11:44:37 -04:00
Kentaro Wada
76ea38194e LazyNodelet for segmentation/EuclideanClusterExtraction 2018-04-30 11:44:37 -04:00
Kentaro Wada
6f2d30996a LazyNodelet for surface/MovingLeastSquares 2018-04-30 11:44:37 -04:00
Kentaro Wada
7c70b159da LazyNodelet for surface/ConvexHull2D 2018-04-30 11:44:37 -04:00
Kentaro Wada
c370da8a48 Inherit NodeletLazy for pipeline with less cpu load 2018-04-30 11:44:37 -04:00
Brice Rebsamen
3a202ced73 fixed indentation and author 2018-04-30 11:44:37 -04:00
Brice Rebsamen
5f276e80b8 Adds a test for tf message filters with pcl pointclouds 2018-04-30 11:44:37 -04:00
Lucid One
d245f70f4f Fixes #87 for Indigo 2018-04-30 11:44:37 -04:00
Lucid One
04c29ac9cc Fixes #85 for Indigo 2018-04-30 11:44:37 -04:00
Lucid One
0a958f55ce Fixes #77 and #80 for indigo 2018-04-30 11:44:37 -04:00
Paul Bovbel
08e83a67bf merge pull request #60 2018-04-30 11:44:37 -04:00
William Woodall
11d24d0e97 Initialize shared pointers before use
Should address runtime errors reported in #29
2018-04-30 11:44:37 -04:00
William Woodall
3a688bcf5f Add missing EIGEN define which caused failures on the farm 2018-04-30 11:44:37 -04:00
William Woodall
a3840127f8 Refactors to use pcl-1.7 2018-04-30 11:44:37 -04:00
William Woodall
4e64cb25e7 Use the PointIndices from pcl_msgs 2018-04-30 11:44:37 -04:00
William Woodall
a931106c5b Fixes from converting from pcl-1.7, incomplete 2018-04-30 11:44:37 -04:00
Kei Okada
b2f9c6e898 fix to compileable 2018-04-30 11:44:37 -04:00
Kei Okada
f2553aac6c copy features/segmentation/surface from fuerte-devel 2018-04-30 11:44:37 -04:00
jon-weisz
758f23264d update pluginlib macro 2018-04-30 11:44:37 -04:00
Julius Kammerl
540fcd0604 CMake install fixes 2018-04-30 11:44:37 -04:00
Julius Kammerl
a3701bb3df migrating nodelets and tools from fuerte release to pcl_ros 2018-04-30 11:44:37 -04:00
jkammerl
bcda3321ad restructuring perception_pcl in groovy branch 2018-04-30 11:44:37 -04:00
jkammerl
33ae605cd1 catkinized version of perception_pcl for groovy 2018-04-30 11:44:37 -04:00
rusu
adf647f14d added PCL 1.6 stac for Groovy 2018-04-30 11:44:37 -04:00