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

rosdep atp-get install dependency

asked 2014-06-10 03:55:28 -0500

Jose Luis gravatar image

Hello to all,

I have created a catkin package and it has an external dependence to work properly. The dependence is "libmodbus-dev", which can be installed by "apt-get install libmodbus-dev" command. I would like to install it automatically by rosdep. In other words, when somebody compile the package with catkin make / catkin make install, the external dependence "libmodbus-dev" will be installed automatically, and for each compilation it will check whether the dependence is installed or not.

Is possible something like this? What have i to do?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2014-06-10 04:31:49 -0500

gvdhoorn gravatar image

I would like to install it automatically by rosdep. [..] Is possible something like this? What have i to do?

That is certainly possible. libmodbus-dev would become a system dependency of your package, and if there are no existing rules for it, you would have to contribute them. The rosdep documentation should clarify things for you. See the Contributing rosdep rules section of the rosdep documentation.

edit flag offensive delete link more

Comments

1

Note that rosdep will not be invoked automatically when compiling, but has to be called manually by the user from the command line (which is part of the default procedure for downloading and compiling new ros packages).

demmeln gravatar image demmeln  ( 2014-06-10 14:42:48 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2014-06-10 03:55:28 -0500

Seen: 298 times

Last updated: Jun 10 '14