gerkey / ros1_external_use

64 stars 12 forks source link

Integrate with ros packages. #11

Open asmodehn opened 8 years ago

asmodehn commented 8 years ago

The readme currently describe how to build a ros connected software without using catkin. But is there a way to have this kind of software integrated into a ros package ?

  1. Can we bloom-release such a non-catkin package ? How about using cmake buildtool in package.xml ?
  2. Can we distribute ( with other ros packages ) a deb not build with bloom ( fpm, etc. ) ?
codebot commented 8 years ago

I could be wrong, but my current understanding is that the short answer is "no", because those bloom-release and friends rely on the metadata captured in package.xml to generate their dependency trees and do all their nice things.

The idea behind this demonstration is just to show that it's easy to "use ROS" from the outside; it wouldn't (to my knowledge) allow you to release "back into ROS."

asmodehn commented 8 years ago

There are already packages, "in ROS", that are not catkin packages. Ironically my example is : https://github.com/ros-infrastructure/catkin_pkg It s a normal python pip package, that is provided as a deb in ros packages : -> http://packages.ros.org/ros/ubuntu/lists/ros-indigo-trusty-source_trusty_main_Sources look for python-catkin-pkg. I think it's the same for bloom, rosdep, etc. They are not catkin package themselves, yet are among ROS packages.

I am wondering how these package end up there, because they are not built by the buildfarm, it seems to me...

They could be "special cases" but this is a workflow that I think would be beneficial in multiple cases: