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

Overlaying the whole ROS folder

asked 2014-08-14 13:01:12 -0500

ROSCMBOT gravatar image

My question is about overlaying the whole ROS folder in /opt/. Since the packages source code in /opt/ros is not available, and changing parameters of the config files in /opt/ros is not recommended, is it possible to overlay the whole ros folder in /opt/ to the user's workspace to modify the codes and change the parameters without interfering with the actual ros packages in /opt/ros

Thanks

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2014-08-14 13:20:12 -0500

Murilo F. M. gravatar image

I'm not sure whether you'd need to overlay all the ROS packages, so I'm assuming this is not the case.

Your (catkin, I'm assuming) workspace is already an overlay of the system-wide installation and hence whatever ROS packages you have there will take precedence over the system-wide installation (provided your shell is properly configured and your workspace is sourced).

This way, you can place the source of the packages you want to overlay in your workspace, make the desired changes, build and use them without a problem.

However, depending on what sort of parameters you are talking about, they might be configurable via the parameter server and you won't even need to overlay the packages at all. You can set parameters manually from the terminal using rosparam, remap topics, or configure them in a launch file using roslaunch.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2014-08-14 13:01:12 -0500

Seen: 158 times

Last updated: Aug 14 '14