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

[ROS-O] patches #2853

Merged
merged 10 commits into from
Dec 28, 2024
Merged

[ROS-O] patches #2853

merged 10 commits into from
Dec 28, 2024

Conversation

v4hn
Copy link
Contributor

@v4hn v4hn commented Nov 18, 2024

Includes #2851 , feel free to merge that one first and we will rebase obese-devel.

The second commit includes patches to compile jsk_pcl_ros_utils with PCL 1.13 (Debian bookworm+). jsk_pcl_ros also depends on currently broken packages in 3rd_party, so I'm waiting for this before I'll have a look.

@mqcmd196

v4hn and others added 7 commits November 11, 2024 15:13
Drop unused catkin_python_setup().
The call and setup.py are only required when defining python modules,
but jsk_recognition_msgs does not expose a python package (aside from
the autogenerated package for the messages).

This got noticed because Debian's python setuptools complains about
missing package list in setup.py:

---
error: Multiple top-level packages discovered in a flat-layout: ['srv', 'msg', 'debian', 'action', 'sample'].

To avoid accidental inclusion of unwanted files or directories,
setuptools will not proceed with this build.

If you are trying to create a single distribution with multiple packages
on purpose, you should not rely on automatic discovery.
Instead, consider the following options:

1. set up custom discovery (`find` directive with `include` or `exclude`)
2. use a `src-layout`
3. explicitly set `py_modules` or `packages` with a list of names

To find more information, look for "package discovery" on setuptools docs.
CMake Error at catkin_generated/safe_execute_install.cmake:4 (message):

  execute_process(/<<BUILDDIR>>package/.obj-x86_64-linux-gnu/catkin_generated/python_distutils_install.sh)
  returned error code
Call Stack (most recent call first):
  cmake_install.cmake:46 (include)
---
- PCL_LIBRARIES has to be added explicitly to pull in VTK,
which is required in `pointcloud_to_stl_nodelet.cpp` by using
`pcl::io::savePolygonFileSTL(ss.str(),triangles)`.
(the respective header includes VTK headers)

- define pcl_isfinite again which got removed from PCL for compatibility
  with old versions

- ros::topic::waitForMessage still returns a boost::shared_ptr.
pcl removed the method by 1.13, no harm in defining it as '#define pcl_isfinite(x) std::isfinite(x)'
…uboid_particles_top_n_nodelet.cpp, due to undefined reference to 'pcl::FilterIndices<pcl::tracking::ParticleCuboid>::applyFilter(pcl::PointCloud<pcl::tracking::ParticleCuboid>&)'
@k-okada k-okada force-pushed the obese-devel branch 9 times, most recently from 5df3b0a to 03ae72b Compare December 28, 2024 09:09
@k-okada k-okada merged commit 8245f4b into jsk-ros-pkg:master Dec 28, 2024
12 checks passed
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