ros/catkin — pull request #173 by tkruse (2012-09-18 21:27:52+00:00)
Title: catkin_create_pkg/stack scripts

I created catkin_create_stack and catkin_create_package scripts.

The purpose of this is threefold:
* Allow easy generation of testcases for integration testing
* Allow generation of documentation for how to use catkin
* Allow users with almost no knowledge of cmake to get started quickly and write non-ugly cmake code, without having to read the catkin docs

This is similar to roscreate_pkg and roscreate_stacks

I am aware stacks will go away, but this can still be used for backporting to fuerte, if you decide so. Backporting would be a huge help in making catkin user experience better when switching from fuerte to groovy.

Implementation works, but is not complete, I would like to get feedback before I proceed. For completeness, it would be great to generate and validate more of the inputs, and I am almost sure that the way I interpret dependencies is not right.

The most value is in the comments and code commented in the generated CMakeLists.txt, as this is what most ROS users will heavily rely upon when creating wet packages. So this should be reviewed by several cmake + catkin experts.

One thing that could be changed is to make the package generation also a python API, so that other tools can also create catkin packages, e.g. think of an IDE plugin to create catkin packages.
I use empy for templating.