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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

[ROS-O] patches #2853

wants to merge 2 commits into from

Conversation

v4hn
Copy link

@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

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.
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.

1 participant