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

Same rosdep key for a system dependency and a ROS package

asked 2014-08-12 06:38:52 -0500

gaya gravatar image

Will it create conflicts if I try to release a ROS package which has the same name as a rosdep key for an existing Debian package? So, basically, if I'm not mistaken it will be a new entry in the distribution file:

https://github.com/ros/rosdistro/blob...

with the same name as an existing entry in the rosdep keys list:

https://github.com/ros/rosdistro/blob...

So, assuming that it is possible, what will happen when somebody will depend on that package in their package.xml: will rosdep get confused or will it choose one of the two alternatives and if so which one will it be (the ROS package or the Debian package or the behaviour is non-deterministic)?

Thanks.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
2

answered 2014-08-12 11:31:16 -0500

tfoote gravatar image

Yes, they will collide. ROS Packages and rosdep keys are used in the same namespace. If you're creating a package which wraps the functionality of a debian package your name should reflect the different scope.

edit flag offensive delete link more
0

answered 2014-08-12 07:20:52 -0500

BennyRe gravatar image

No matter what will happen a naming conflict is never good.

Just use another name for your package. For example append '_pkg' to your current name.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2014-08-12 06:38:52 -0500

Seen: 151 times

Last updated: Aug 12 '14