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

use pcl upstream Debian package #1676

Closed
15 tasks done
dirk-thomas opened this issue Aug 8, 2013 · 15 comments
Closed
15 tasks done

use pcl upstream Debian package #1676

dirk-thomas opened this issue Aug 8, 2013 · 15 comments
Assignees

Comments

@dirk-thomas
Copy link
Member

We need to do these things:

  • Import pcl debs from ppa
  • Create two new rosdep rules for libpcl-all and libpcl-all-dev
  • update rosdep rules, tag, and release packages which use the pcl rule currently
  • email ros-users about the change

We need to (re)release these packages to use the new rosdep rule for pcl:

@ghost ghost assigned wjwwood Aug 8, 2013
@wjwwood
Copy link
Member

wjwwood commented Aug 13, 2013

Waiting on @jspricke to get some debs together. Once he has them (in his ppa?) then we can try to import them directly.

@jspricke
Copy link
Member

I've pushed packages for precise, quantal and rering yesterday.

@tfoote
Copy link
Member

tfoote commented Aug 15, 2013

pcl-1.7* have been imported into the ros repos. The next step is to add rosdep rules and remove the pcl release repo?

@wjwwood
Copy link
Member

wjwwood commented Aug 15, 2013

Yes, but then we have to re-bloom any packages which directly depend on pcl.

@wjwwood
Copy link
Member

wjwwood commented Aug 15, 2013

Using this script:

from __future__ import print_function

from rosdistro import get_index
from rosdistro import get_index_url
from rosdistro import get_release_cache

from catkin_pkg.package import parse_package_string
from catkin_pkg.package import InvalidPackage

distro = get_release_cache(get_index(get_index_url()), 'hydro')
pcl_dependents = []
for pkg_name, raw_pkg_xml in distro.package_xmls.items():
    try:
        pkg = parse_package_string(raw_pkg_xml)
    except InvalidPackage:
        print("Skipping '{0}', which has a bad package.xml".format(pkg_name))
        continue
    if 'pcl' in [d.name for d in pkg.build_depends]:
        pcl_dependents.append(pkg.name)

print("These packages depend on 'pcl' directly:")
for x in pcl_dependents:
    print(" ", x)

These packages will be affected:

These packages depend on 'pcl' directly:
  pcl_conversions
  ecto_image_pipeline
  opencv_candidate
  pcl_ros
  ecto_pcl
  object_recognition_transparent_objects
  image_cb_detector
  depth_image_proc
  object_recognition_ros
  velodyne_height_map
  gazebo_plugins

@wjwwood
Copy link
Member

wjwwood commented Aug 20, 2013

I updated the issue with a check list of things we need to do.

@wjwwood wjwwood closed this as completed Aug 20, 2013
@wjwwood wjwwood reopened this Aug 20, 2013
@wjwwood
Copy link
Member

wjwwood commented Aug 21, 2013

After discussing this at length with @dirk-thomas @tfoote, we have decided to create a new pair of rosdep keys, libpcl-all and libpcl-all-dev and touch all of the packages listed above to use these two new keys.

@wjwwood
Copy link
Member

wjwwood commented Aug 27, 2013

@vrabaud If you need help doing this let me know, I will be working on it tomorrow.

@jack-oquin
Copy link
Member

Is this going to break backwards compatibility with Groovy again?

jack-oquin added a commit to jack-oquin/velodyne_height_map that referenced this issue Aug 27, 2013
@vrabaud
Copy link
Member

vrabaud commented Aug 27, 2013

most of those are mine, I can do them, just push your change and break things, they should be ready in time.

@jack-oquin
Copy link
Member

The PR above releases velodyne_height_map-0.4.1, removing the PCL dependency.

Please check off that item in the list. I do not seem to be authorized to do it.

@mees
Copy link
Contributor

mees commented Aug 27, 2013

(stupid) Question: if we use upstream PCL directly what happens with the kinect driver? Because there is a separate ros package with the kinect driver but AFAIK upstream PCL also ships with a kinect driver, that was removed in the ROS PCL package to not conflict with the other one.

@wjwwood
Copy link
Member

wjwwood commented Aug 27, 2013

@jack-oquin The easiest way to remain hydro-groovy agnostic is to rely on the transitive pcl dependency through pcl_ros or pcl_converisions.

@mees I haven't run into that issue, AFAIK the ROS driver and PCL driver only share a common dependency on libopenni (which we pull in from the pcl ppa also), they should not interfere with one another unless you try to run them at the same time.

@vrabaud Nothing should break unless we remove the ros-hydro-pcl package, which we would like to do but won't unless we get everything moved over.

@wjwwood
Copy link
Member

wjwwood commented Aug 27, 2013

@jack-oquin Looks your 0.4.1-0 is built, thanks for the fast turn around.

@wjwwood
Copy link
Member

wjwwood commented Aug 27, 2013

@vrabaud I released image_pipeline so that desktop-full no longer pulls in our ros-hydro-pcl. The other packages are lower priority, I'll let you handle those.

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

No branches or pull requests

7 participants