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

Make the package usueful

asked 2014-07-25 03:03:15 -0600

ROSkinect gravatar image

updated 2014-07-25 03:30:29 -0600

I just finish working a project in ROS.

What I want to do actually is to make my package useful for another people, my package contain a node and big library. Like when I give the package to someone, he can use it without any problem.

So the question is how can I take the package to another computer and what should do in it so that the package works fine ?

(I'm using catkin package.)

edit retag flag offensive close merge delete

Comments

So what's your question?

BennyRe gravatar image BennyRe  ( 2014-07-25 03:24:02 -0600 )edit

the question is clear but anyway I just add one

ROSkinect gravatar image ROSkinect  ( 2014-07-25 03:31:16 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted
2

answered 2014-07-25 03:52:08 -0600

McMurdo gravatar image

Just copy-paste your project (the folder catkin_workspace/src/project) into the other person's catkin_workspace/src folder. Go to the top level catkin_workspace directory and hit catkin_make.

That is all that is needed. (Of course, assuming all dependencies, ROS and external, are satisfied.)

It is nice to use git-github. So that everything becomes easy.

Have a great day!

edit flag offensive delete link more

Comments

two questions : 1- Go to the top level catkin_workspace directory, where is that ? 2- "It is nice to use git-github. So that everything becomes easy." you mean that I could share my package in git-github website ?

ROSkinect gravatar image ROSkinect  ( 2014-07-25 03:57:59 -0600 )edit
1

Git is a version control software. You can find tutorials here: http://www.vogella.com/tutorials/Git/article.html. The top level catkin_workspace is the directory from where you type catkin_make. It is the directory that has src, devel, build and CMakeLists.txt

McMurdo gravatar image McMurdo  ( 2014-07-25 04:46:01 -0600 )edit
2

answered 2014-07-25 04:43:09 -0600

ahendrix gravatar image

If you want to publish your package for other developers in the community to use and contribute to, the first thing to do is to make the source code freely available for download. If you don't already have version control, https://github.com is usually a good choice. The recommended repository useage page on the wiki has some good guidelines on how to use github effectively with ROS.

Once you have your package available for download, the next step is to add it to the repository index and create a wiki page with some basic documentation about how to use your package.

The Getting Involved page on the wiki has some more general information about participating in the community that you may find interesting as well.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2014-07-25 03:03:15 -0600

Seen: 591 times

Last updated: Jul 25 '14