ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Transform from rosbuild package to catkin package

asked 2013-08-13 04:43:33 -0600

li-an gravatar image

updated 2013-08-13 07:33:38 -0600

Dirk Thomas gravatar image

My OS is ubuntu12.10 and ros groovy.

I want to transform pr2_controllers_msgs package.

command:catkinize pr2_controllers_msgs 1.0.0

error message:

ira@ira:~/code/ros_groovy/src$ catkinize pr2_controllers_msgs 1.0.0
Traceback (most recent call last):
  File "/usr/local/bin/catkinize", line 5, in <module>
    pkg_resources.run_script('catkinize==0.1', 'catkinize')
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 499, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1239, in run_script
    execfile(script_filename, namespace, namespace)
  File "/usr/local/lib/python2.7/dist-packages/catkinize-0.1-py2.7.egg/EGG-INFO/scripts/catkinize", line 61, in <module>
    main()
  File "/usr/local/lib/python2.7/dist-packages/catkinize-0.1-py2.7.egg/EGG-INFO/scripts/catkinize", line 56, in main
    changeset = catkinize_stack(path, version)
  File "/usr/local/lib/python2.7/dist-packages/catkinize-0.1-py2.7.egg/catkinize/main.py", line 79, in catkinize_stack
    path)
ValueError: Path is not a rosbuild stack, missing stack.xml at pr2_controllers_msgs
ira@ira:~/code/ros_groovy/src$

How to solve it?

edit retag flag offensive close merge delete

Comments

1

You might want to consider to use Hydro since pr2_controllers_msgs has already been catkinized for that ROS version.

Dirk Thomas gravatar image Dirk Thomas  ( 2013-08-13 07:32:56 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
2

answered 2013-08-15 11:46:02 -0600

tfoote gravatar image

There is a guide to converting rosbuild to catkin packages here: http://www.ros.org/wiki/catkin/migrating_from_rosbuild

However I do not recommend you do so for this package. It's already been done for the hydro version. If you're using catkin the Hydro version will probably provide you with more packages already catkinized as well. You can also attempt to use the hydro version inside groovy but your effectiveness will vary.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2013-08-13 04:43:33 -0600

Seen: 951 times

Last updated: Aug 15 '13