402 Commits

Author SHA1 Message Date
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
Marcel Zeilinger
3b0cfd8529
Export PCL dependency in pcl_conversions (#392)
Co-authored-by: Marcel Zeilinger <marcel.zeilinger@ait.ac.at>
2023-01-09 10:17:28 -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 Sato
5c5382eb5c
migrate pcl_nodelet.hpp to pcl_node.hpp (#385)
* migrate pcl_nodelet.hpp to pcl_node.hpp
TODOs
- lazy subscription
- cpplint, uncrustify
- type adaptation

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

* rename latched_indices to transient_local_indices

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

* - remove some TODOs
- change pub_output_ type

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

* remove TODOs

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

* use template instead of PublisherBase

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

Signed-off-by: Daisuke Sato <daisukes@cmu.edu>
2022-12-09 11:12:01 -08:00
Adam Aposhian
ca69652eb8
use modular pcl dependencies for bloom (#384) 2022-11-29 10:27:59 -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
Aditya Ardiya
7c6a2a5a38
Avoid redundant boost::make_shared copy in pcl_ros::Publisher<PointT> (#380)
`boost make_shared` is actually making a copy. This PR introduces the `sensor_msgs::PointCloud2` as pointer directly so that it doesn't need a `boost::make_shared` convertsion to pointer anymore.
2022-11-18 10:39:32 -08:00
ralwing
389297dfad
Fixing implicit conversion warnings #378 (#379) 2022-11-03 05:03:31 -07: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: 292593abd3
2022-07-07 12:22:26 -07: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
Ivan Santiago Paunovic
27448f7575
Migrate pcd to pointcloud tool (#359)
* Migrate pcl_ros pcd_to_pointcloud tool

Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>

* Remove log used for debugging

Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>

* Undo unnecessary changes

Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>

* Remove commented out code

Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>

* Address peer review comments

Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>

* rename node

Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
2022-04-04 12:54:29 -07:00
Steve Macenski
2b82545af3
bumping versions to 2.4.1 (#357) 2022-02-08 15:31:32 -08:00
Shane Loretz
8093d5b35d
Install headers to include/${PROJECT_NAME} (#354)
Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>
2022-02-03 10:11:55 -08: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
Steve Macenski
834eb111e8 bumping rolling from 2.3.1 to 2.4.0 2021-09-14 14:21:14 -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
Steve Macenski
051c6df956
adding -fPIC compiler flag per warning suggestion (#335) 2021-07-01 16:54:20 -07:00
Steve Macenski
5d63abd06e
Revert "shared library bug fix (#331)" (#334)
This reverts commit 35a9f258487585e7a10e1d30a4d72f4b2f9bd16e.
2021-07-01 16:20:31 -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 d39d3d3300), but this change should also be fully compatible with older PCL versions.
2021-06-30 12:44:28 -07:00
Patrick Musau
35a9f25848
shared library bug fix (#331)
Signed-off-by: Patrick Musau <pmusau13ster@gmail.com>
2021-06-28 09:37:50 -07:00
Steve Macenski
d63143da27 bump to 2.3.1 for release updates based on build farm fixes 2021-05-20 15:58:46 -07:00
Steve Macenski
4156c71c02
replace ament_cmake_ros with ament_cmake to build in build farm (#326) 2021-05-20 15:57:37 -07:00
Steve Macenski
487957aebc bumping to 2.3.0 for release 2021-05-20 13:34:08 -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 ad00c7bee2, 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
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
9689971aee
Make ament_flake8 pass (#299)
Set of hand-made changes to let ament_flake8 pass
2020-08-09 16:47:01 -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
Markus Vieth
21cf907c46
Add missing include for new PCL versions (#293)
After this change 6df3e602a7 (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
Shivam Pandey
4ed0d3ecef
link pcl library to targets (#287)
* link pcl library to targets

* changes OS_CODE_NAME to focal in travis config file
2020-07-01 12:13:29 -07:00
Steve Macenski
5e27157ec2
Updating CI and versions for foxy release (#280)
* changing CI to foxy from eloquent

* increment up version
2020-05-13 11:39:16 -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
Steven Macenski
1273c7581d
changing base version to 2.1.0 for first ros2 sync [eloquent] (#253)
* changing base version to 2.0.0 for first ros2 sync

* changing industrial CI to use eloquent

* increment 2.0.0 to 2.1.0 for eloquent release
2019-12-02 09:39:11 -08:00
Andreas Klintberg
a1fd4d2a09 Updated ROS2 PR: pcl_conversion only to ROS2 (dashing) (#244)
* pcl_conversion to ros2

* travis for ros2 and fixed cmakelists

* exporting dependencies

* updated travis

* fixed smaller things

* added colcon ignore to meta package

* merge pcl_conversions.h with version released in Dashing

* merge test script, CMakeListst, package.xml

* append authors, clean up

* PR feedback

* fixed PR comments

* fixed PR comments, cmakelists message_filters, reverted type masq, added maintainer

* removed dashing and made ros_distro matrix env
2019-10-30 07:10:32 +08:00
James Xu
a8ba2c790d use <chrono> and <thread> on Windows (#221)
* Changing from usleep to c++14 style sleep_for for Windows support
2019-04-05 10:50:10 -04:00
Kentaro Wada
12482e555d 1.6.2 2018-05-20 04:14:40 +09:00
Kentaro Wada
99f7caacb9 Update CHANGELOG.rst 2018-05-20 04:14:16 +09:00
Jiri Horner
f8fee6128a pcl_ros: fix exported includes in Ubuntu Artful
pcl_ros needs the same fix as pcl_conversions
2018-05-20 04:12:55 +09:00
James Ward
cd3720923a Increase limits on CropBox filter parameters
Min and max of CropBox filter was +/- 5m. For a pointcloud from a Velodyne, for example, this is not enough.
Increased to +/- 1000m.
2018-05-08 22:17:42 +09:00
Kentaro Wada
32d3e6a459 1.6.1 2018-05-08 18:56:16 +09:00
Kentaro Wada
283782b420 Update CHANGELOG.rst 2018-05-08 18:56:01 +09:00
Kentaro Wada
9dee4fb36d Add 1.6.0 section to CHANGELOG.rst 2018-05-08 18:54:33 +09:00
Kentaro Wada
80131757e8 Remove no need ROS_PARALLEL_JOBS env in .travis.yml 2018-05-08 17:45:53 +09:00
Kentaro Wada
9b4d31c912 Add NOT_TEST_INSTALL option to .travis.sh 2018-05-08 17:45:53 +09:00
Kentaro Wada
25c86b2115 Update travis badge in README.md 2018-05-08 17:45:53 +09:00
Kentaro Wada
3be6003f1b sudo -E to enable DEBIAN_FRONTEND=noninteractive 2018-05-08 17:45:53 +09:00