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

Just a short question abour rosdep installs

asked 2014-10-10 01:22:26 -0600

schultza gravatar image

updated 2014-10-10 01:37:50 -0600

Hey,

i got a short and I think easy for you to answer question about installing dependencies.

If I download a packages from source like turtlebot_simulator or something else, I usually run rosdep to install all my dependencies. And it works great. But I am just wondering where ROS install the missing packages? They are not in my workspace afterwards but everything is working.

Ok I maybe was a little bit too fast with creating a question. I think I found the path: /opt/ros/<distro>/share/ But can I change the installation path somehow? Because you can't cut or copy something out of the /opt/ folder by hand

So how should I modify the code for my needs if I dont know where it is :) ?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2014-10-10 02:48:46 -0600

ahendrix gravatar image

The standard distribution format for ROS packages on Ubuntu is binaries (debs), and the install into /opt/ros/<distro>. rosdep can find and install these for you, along with installing any normal ubuntu packages that might be required as dependencies.

You cannot and should not attempt to modify the installed binary packages.

If you want to modify a package or see how it works, you should go to the package's wiki page, download the source code to your workspace, and modify and build it there. Any package that you have installed in your workspace will override (shadow) a binary package with the same name, so you don't have to worry about uninstalling binary packages. (This process is call overlaying).

edit flag offensive delete link more

Comments

So you mean if a packages will be installed by rosdep and i want to mofidy it i shoudl download it seperatly to my workspace an do another catkin_make?

schultza gravatar image schultza  ( 2014-10-10 04:50:37 -0600 )edit

Yes, that is correct.

ahendrix gravatar image ahendrix  ( 2014-10-10 11:07:19 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2014-10-10 01:22:26 -0600

Seen: 139 times

Last updated: Oct 10 '14