On 2016-08-11 23:13, Jochen Sprickerhof wrote:
But perhaps this is something that should be fixed upstream (i.e. in
catkin)? I'm not sure if it is still in development or if it is frozen
though, since for ROS2 they are using a different tool.

Yes, talking to upstream about it is a good idea and judging from the
git repo it is quite active:

https://github.com/ros/catkin/commits/kinetic-devel

Is there a discussion upstream on some mailing list or some issue
tracker? Any suggestion about how to implement it?



Btw. would you be interested to
regularly work on the packages? There is still a lot that needs to be
done, so we would be glad to have an other helping (and thinking ;) )
hand. You can find the current process here:

https://wiki.debian.org/DebianScience/Robotics/ROS

I'm happy to help with the message packages, I'm not sure about the other
packages, since I'm not a big ROS user (I use it mostly to test the
compatibility with YARP), but if I can help I'll be happy to.
Also btw, I'm working on packaging YARP, it would be great to have it in
the debianscience/robotics packages...



I'm attaching the patch for ros-common-msgs, I'm not sure about the
dependecies here. For example libactionlib-msgs-dev depends on
libstd-msgs-dev, probably because the messages in this library use
messages defined in ros-std-msgs. Therefore I added a dependency to
ros-std-msgs in the ros-actionlib-msgs package, since, in order to
generate bindings for some other language, this package must be
available. Anyway it is not strictly required as for a library that will
not work if the other is missing, so perhaps it should be recommended
instead? What do you think?

If this is ok for you, I will apply the same kind of patch to all the
other message packages and push the commit straight to the repositories,
otherwise let me know, and I will post the patches here one by one.


Cheers,
 Daniele
From b0e279f68d68fb77a27489400f4e62024b94fb4c Mon Sep 17 00:00:00 2001
From: "Daniele E. Domenichelli" <ddomeniche...@drdanz.it>
Date: Tue, 16 Aug 2016 17:13:49 +0200
Subject: [PATCH] Move message definitions in separate packages.

---
 debian/control                           | 110 +++++++++++++++++++++++++++++++
 debian/libactionlib-msgs-dev.install     |   3 +-
 debian/libdiagnostic-msgs-dev.install    |   3 +-
 debian/libgeometry-msgs-dev.install      |   3 +-
 debian/libnav-msgs-dev.install           |   3 +-
 debian/libsensor-msgs-dev.install        |   3 +-
 debian/libshape-msgs-dev.install         |   3 +-
 debian/libstereo-msgs-dev.install        |   3 +-
 debian/libtrajectory-msgs-dev.install    |   3 +-
 debian/libvisualization-msgs-dev.install |   3 +-
 debian/ros-actionlib-msgs.install        |   1 +
 debian/ros-diagnostic-msgs.install       |   1 +
 debian/ros-geometry-msgs.install         |   1 +
 debian/ros-nav-msgs.install              |   1 +
 debian/ros-sensor-msgs.install           |   1 +
 debian/ros-shape-msgs.install            |   1 +
 debian/ros-stereo-msgs.install           |   1 +
 debian/ros-trajectory-msgs.install       |   1 +
 debian/ros-visualization-msgs.install    |   1 +
 19 files changed, 137 insertions(+), 9 deletions(-)
 create mode 100644 debian/ros-actionlib-msgs.install
 create mode 100644 debian/ros-diagnostic-msgs.install
 create mode 100644 debian/ros-geometry-msgs.install
 create mode 100644 debian/ros-nav-msgs.install
 create mode 100644 debian/ros-sensor-msgs.install
 create mode 100644 debian/ros-shape-msgs.install
 create mode 100644 debian/ros-stereo-msgs.install
 create mode 100644 debian/ros-trajectory-msgs.install
 create mode 100644 debian/ros-visualization-msgs.install

diff --git a/debian/control b/debian/control
index 1f1cdf6..9c5ee6a 100644
--- a/debian/control
+++ b/debian/control
@@ -12,6 +12,18 @@ Homepage: https://github.com/ros/common_msgs
 Vcs-Browser: https://anonscm.debian.org/cgit/debian-science/packages/ros/ros-common-msgs.git
 Vcs-Git: https://anonscm.debian.org/cgit/debian-science/packages/ros/ros-common-msgs.git
 
+Package: ros-actionlib-msgs
+Section: devel
+Architecture: all
+Depends: ${misc:Depends}, ros-std-msgs
+Description: Messages relating to Robot OS actionlib, definitions
+ This package is part of Robot OS (ROS), and contains the common
+ messages to interact with an action server and an action client.  For
+ full documentation of the actionlib API see the
+ http://wiki.ros.org/actionlib package.
+ .
+ This package contains the message definitions.
+
 Package: libactionlib-msgs-dev
 Section: libdevel
 Architecture: all
@@ -48,6 +60,20 @@ Description: Messages relating to Robot OS actionlib, LISP interface
  .
  This package contains the generated LISP library.
 
+Package: ros-diagnostic-msgs
+Section: devel
+Architecture: all
+Depends: ${misc:Depends}, ros-std-msgs
+Description: Messages relating to Robot OS diagnostic, definitions
+ This package is part of Robot OS (ROS), and contains the messages
+ which provide the standardized interface for the diagnostic and
+ runtime monitoring systems in ROS. These messages are currently used
+ by the http://wiki.ros.org/diagnostics stack, which provides
+ libraries for simple ways to set and access the messages, as well as
+ automated ways to process the diagnostic data.
+ .
+ This package contains the message definitions.
+
 Package: libdiagnostic-msgs-dev
 Section: libdevel
 Architecture: all
@@ -90,6 +116,18 @@ Description: Messages relating to Robot OS diagnostic, LISP interface
  .
  This package contains the generated LISP library.
 
+Package: ros-geometry-msgs
+Section: devel
+Architecture: all
+Depends: ${misc:Depends}, ros-std-msgs
+Description: Messages relating to Robot OS geometry, definitions
+ This package is part of Robot OS (ROS), and provides the messages for
+ common geometric primitives such as points, vectors, and poses. These
+ primitives are designed to provide a common data type and facilitate
+ interoperability throughout the system.
+ .
+ This package contains the message definitions.
+
 Package: libgeometry-msgs-dev
 Section: libdevel
 Architecture: all
@@ -126,6 +164,17 @@ Description: Messages relating to Robot OS geometry, LISP interface
  .
  This package contains the generated LISP library.
 
+Package: ros-nav-msgs
+Section: devel
+Architecture: all
+Depends: ${misc:Depends}, ros-geometry-msgs, ros-actionlib-msgs
+Description: Messages relating to Robot OS nav, definitions
+ This package is part of Robot OS (ROS), and provides the common
+ messages used to interact with the 'nav' http://wiki.ros.org/navigation
+ stack.
+ .
+ This package contains the message definitions.
+
 Package: libnav-msgs-dev
 Section: libdevel
 Architecture: all
@@ -159,6 +208,17 @@ Description: Messages relating to Robot OS nav, LISP interface
  .
  This package contains the generated LISP library.
 
+Package: ros-sensor-msgs
+Section: devel
+Architecture: all
+Depends: ${misc:Depends}, ros-geometry-msgs
+Description: Messages relating to Robot OS sensor, definitions
+ This package is part of Robot OS (ROS).
+ This package defines messages for commonly used sensors, including
+ cameras and scanning laser rangefinders.
+ .
+ This package contains the message definitions.
+
 Package: libsensor-msgs-dev
 Section: libdevel
 Architecture: all
@@ -192,6 +252,17 @@ Description: Messages relating to Robot OS sensor, LISP interface
  .
  This package contains the generated LISP library.
 
+Package: ros-shape-msgs
+Section: devel
+Architecture: all
+Depends: ${misc:Depends}, ros-geometry-msgs
+Description: Messages relating to Robot OS shape, definitions
+ This package is part of Robot OS (ROS), and provides messages for
+ commonly used sensors, including cameras and scanning laser
+ rangefinders.
+ .
+ This package contains the message definitions.
+
 Package: libshape-msgs-dev
 Section: libdevel
 Architecture: all
@@ -225,6 +296,16 @@ Description: Messages relating to Robot OS shape, LISP interface
  .
  This package contains the generated LISP library.
 
+Package: ros-stereo-msgs
+Section: devel
+Architecture: all
+Depends: ${misc:Depends}, ros-sensor-msgs
+Description: Messages relating to Robot OS stereo, definitions
+ This package is part of Robot OS (ROS), and provides messages
+ specific to stereo processing, such as disparity images.
+ .
+ This package contains the message definitions.
+
 Package: libstereo-msgs-dev
 Section: libdevel
 Architecture: all
@@ -255,6 +336,17 @@ Description: Messages relating to Robot OS stereo, LISP interface
  .
  This package contains the generated LISP library.
 
+Package: ros-trajectory-msgs
+Section: devel
+Architecture: all
+Depends: ${misc:Depends}, ros-geometry-msgs
+Description: Messages relating to Robot OS trajectory, definitions
+ This package is part of Robot OS (ROS), and provides messages for
+ defining robot trajectories. These messages are also the building
+ blocks of most of the http://wiki.ros.org/control_msgs
+ .
+ This package contains the message definitions.
+
 Package: libtrajectory-msgs-dev
 Section: libdevel
 Architecture: all
@@ -288,6 +380,24 @@ Description: Messages relating to Robot OS trajectory, LISP interface
  .
  This package contains the generated LISP library.
 
+Package: ros-visualization-msgs
+Section: devel
+Architecture: all
+Depends: ${misc:Depends}, ros-geometry-msgs
+Description: Messages relating to Robot OS visualization, definitions
+ This package is part of Robot OS (ROS), and provides a set of
+ messages used by higher level packages, such as rviz, that deal in
+ visualization-specific data.
+ .
+ The main messages in visualization_msgs is
+ visualization_msgs/Marker.  The marker message is used to
+ send visualization "markers" such as boxes, spheres, arrows, lines,
+ etc. to a visualization environment such as
+ http:///www.ros.org/wiki/rviz See the rviz tutorial
+ http://www.ros.org/wiki/rviz/Tutorials for more information.
+ .
+ This package contains the message definitions.
+
 Package: libvisualization-msgs-dev
 Section: libdevel
 Architecture: all
diff --git a/debian/libactionlib-msgs-dev.install b/debian/libactionlib-msgs-dev.install
index df0f9f3..f6e71b1 100644
--- a/debian/libactionlib-msgs-dev.install
+++ b/debian/libactionlib-msgs-dev.install
@@ -1,4 +1,5 @@
 usr/include/actionlib_msgs
-usr/share/actionlib_msgs
+usr/share/actionlib_msgs/cmake
+usr/share/actionlib_msgs/package.xml
 usr/lib/actionlib_msgs
 usr/lib/*/pkgconfig/actionlib_msgs.pc /usr/lib/pkgconfig
diff --git a/debian/libdiagnostic-msgs-dev.install b/debian/libdiagnostic-msgs-dev.install
index ec544f7..bf92a6b 100644
--- a/debian/libdiagnostic-msgs-dev.install
+++ b/debian/libdiagnostic-msgs-dev.install
@@ -1,3 +1,4 @@
 usr/include/diagnostic_msgs
-usr/share/diagnostic_msgs
+usr/share/diagnostic_msgs/cmake
+usr/share/diagnostic_msgs/package.xml
 usr/lib/*/pkgconfig/diagnostic_msgs.pc /usr/lib/pkgconfig
diff --git a/debian/libgeometry-msgs-dev.install b/debian/libgeometry-msgs-dev.install
index 29d5c2a..72f9d86 100644
--- a/debian/libgeometry-msgs-dev.install
+++ b/debian/libgeometry-msgs-dev.install
@@ -1,3 +1,4 @@
 usr/include/geometry_msgs
-usr/share/geometry_msgs
+usr/share/geometry_msgs/cmake
+usr/share/geometry_msgs/package.xml
 usr/lib/*/pkgconfig/geometry_msgs.pc /usr/lib/pkgconfig
diff --git a/debian/libnav-msgs-dev.install b/debian/libnav-msgs-dev.install
index ef2f207..9bb07bd 100644
--- a/debian/libnav-msgs-dev.install
+++ b/debian/libnav-msgs-dev.install
@@ -1,3 +1,4 @@
 usr/include/nav_msgs
-usr/share/nav_msgs
+usr/share/nav_msgs/cmake
+usr/share/nav_msgs/package.xml
 usr/lib/*/pkgconfig/nav_msgs.pc /usr/lib/pkgconfig
diff --git a/debian/libsensor-msgs-dev.install b/debian/libsensor-msgs-dev.install
index f558a7a..b1ddec9 100644
--- a/debian/libsensor-msgs-dev.install
+++ b/debian/libsensor-msgs-dev.install
@@ -1,3 +1,4 @@
 usr/include/sensor_msgs
-usr/share/sensor_msgs
+usr/share/sensor_msgs/cmake
+usr/share/sensor_msgs/package.xml
 usr/lib/*/pkgconfig/sensor_msgs.pc /usr/lib/pkgconfig
diff --git a/debian/libshape-msgs-dev.install b/debian/libshape-msgs-dev.install
index eb54ea7..97d7707 100644
--- a/debian/libshape-msgs-dev.install
+++ b/debian/libshape-msgs-dev.install
@@ -1,3 +1,4 @@
 usr/include/shape_msgs
-usr/share/shape_msgs
+usr/share/shape_msgs/cmake
+usr/share/shape_msgs/package.xml
 usr/lib/*/pkgconfig/shape_msgs.pc /usr/lib/pkgconfig
diff --git a/debian/libstereo-msgs-dev.install b/debian/libstereo-msgs-dev.install
index 5f574ad..8826a3c 100644
--- a/debian/libstereo-msgs-dev.install
+++ b/debian/libstereo-msgs-dev.install
@@ -1,3 +1,4 @@
 usr/include/stereo_msgs
-usr/share/stereo_msgs
+usr/share/stereo_msgs/cmake
+usr/share/stereo_msgs/package.xml
 usr/lib/*/pkgconfig/stereo_msgs.pc /usr/lib/pkgconfig
diff --git a/debian/libtrajectory-msgs-dev.install b/debian/libtrajectory-msgs-dev.install
index d3d88af..dc23be0 100644
--- a/debian/libtrajectory-msgs-dev.install
+++ b/debian/libtrajectory-msgs-dev.install
@@ -1,3 +1,4 @@
 usr/include/trajectory_msgs
-usr/share/trajectory_msgs
+usr/share/trajectory_msgs/cmake
+usr/share/trajectory_msgs/package.xml
 usr/lib/*/pkgconfig/trajectory_msgs.pc /usr/lib/pkgconfig
diff --git a/debian/libvisualization-msgs-dev.install b/debian/libvisualization-msgs-dev.install
index 324ff79..049beee 100644
--- a/debian/libvisualization-msgs-dev.install
+++ b/debian/libvisualization-msgs-dev.install
@@ -1,3 +1,4 @@
 usr/include/visualization_msgs
-usr/share/visualization_msgs
+usr/share/visualization_msgs/cmake
+usr/share/visualization_msgs/package.xml
 usr/lib/*/pkgconfig/visualization_msgs.pc /usr/lib/pkgconfig
diff --git a/debian/ros-actionlib-msgs.install b/debian/ros-actionlib-msgs.install
new file mode 100644
index 0000000..6ed5585
--- /dev/null
+++ b/debian/ros-actionlib-msgs.install
@@ -0,0 +1 @@
+usr/share/actionlib_msgs/msg
diff --git a/debian/ros-diagnostic-msgs.install b/debian/ros-diagnostic-msgs.install
new file mode 100644
index 0000000..322b335
--- /dev/null
+++ b/debian/ros-diagnostic-msgs.install
@@ -0,0 +1 @@
+usr/share/diagnostic_msgs/msg
diff --git a/debian/ros-geometry-msgs.install b/debian/ros-geometry-msgs.install
new file mode 100644
index 0000000..f3654a3
--- /dev/null
+++ b/debian/ros-geometry-msgs.install
@@ -0,0 +1 @@
+usr/share/geometry_msgs/msg
diff --git a/debian/ros-nav-msgs.install b/debian/ros-nav-msgs.install
new file mode 100644
index 0000000..01324d7
--- /dev/null
+++ b/debian/ros-nav-msgs.install
@@ -0,0 +1 @@
+usr/share/nav_msgs/msg
diff --git a/debian/ros-sensor-msgs.install b/debian/ros-sensor-msgs.install
new file mode 100644
index 0000000..8be5479
--- /dev/null
+++ b/debian/ros-sensor-msgs.install
@@ -0,0 +1 @@
+usr/share/sensor_msgs/msg
diff --git a/debian/ros-shape-msgs.install b/debian/ros-shape-msgs.install
new file mode 100644
index 0000000..ad1d288
--- /dev/null
+++ b/debian/ros-shape-msgs.install
@@ -0,0 +1 @@
+usr/share/shape_msgs/msg
diff --git a/debian/ros-stereo-msgs.install b/debian/ros-stereo-msgs.install
new file mode 100644
index 0000000..ed14851
--- /dev/null
+++ b/debian/ros-stereo-msgs.install
@@ -0,0 +1 @@
+usr/share/stereo_msgs/msg
diff --git a/debian/ros-trajectory-msgs.install b/debian/ros-trajectory-msgs.install
new file mode 100644
index 0000000..9e0cb3b
--- /dev/null
+++ b/debian/ros-trajectory-msgs.install
@@ -0,0 +1 @@
+usr/share/trajectory_msgs/msg
diff --git a/debian/ros-visualization-msgs.install b/debian/ros-visualization-msgs.install
new file mode 100644
index 0000000..dea21d4
--- /dev/null
+++ b/debian/ros-visualization-msgs.install
@@ -0,0 +1 @@
+usr/share/visualization_msgs/msg
-- 
2.8.1

Reply via email to