Ask Your Question
0

What's the meaning of rosws merge?

asked 2012-08-17 02:35:30 -0600

sam gravatar image

I followed rosjava_core 0.0.0-SNAPSHOT documentation.

What's the meaning of this command?

  rosws merge /opt/ros/electric/.rosinstall

Is it suitable for any ROS version?

Thank you~

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2012-08-17 03:11:57 -0600

KruseT gravatar image

updated 2012-08-17 03:12:47 -0600

rosws merge merges your local .rosinstall with another rosinstall file. Often projects define several stacks or packages to download from different sources in a single xyz.rosinstall file. Rather than copying the contents of that file into your local .rosinstall file, you can use rosws merge.

Calling

rosws merge foo.rosinstall

is equivalent to calling

rosinstall . foo.rosinstall

The rosws command works with any ROS version.

Also see the rosws documentation: http://www.ros.org/wiki/rosws

edit flag offensive delete link more

Comments

I have already install ROS electric. Why I still need to rosinstall /opt/ros/electric/.rosinstall ? Thank you~

sam gravatar imagesam ( 2012-08-17 03:15:09 -0600 )edit

Please have a look at the ros overlay installation page for more information on how to properly set up a ros overlay. You need to merge /opt/ros/electric/.rosinstall to your current workspace if you want to use stacks installed as debian pkgs.

Lorenz gravatar imageLorenz ( 2012-08-17 03:47:00 -0600 )edit

I understand I always use a cumbersome way of ROS. But I still don't understand what's the effect of rosinstall /opt/ros/electric/.rosinstall? Thank you~

sam gravatar imagesam ( 2012-08-17 04:17:08 -0600 )edit

A ros workspace is a directory that contains a .rosinstall file that points to all repositories you installed from source, to local directories that should be part of your ROS_PACKAGE_PATH. rosws merge merges the content of another rosinstall file with your workspace.

Lorenz gravatar imageLorenz ( 2012-08-17 04:34:13 -0600 )edit

So what your meaning is 'rosws merge' generate the .rosinstall which has all paths including /opt/ros/electric/.rosinstall, then I add setup.bash to bashrc in order to replace the path of /opt/ros/electric/.rosinstall? Thank you~

sam gravatar imagesam ( 2012-08-17 13:39:31 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2012-08-17 02:35:30 -0600

Seen: 560 times

Last updated: Aug 17 '12