ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

How to know which package is being used when two packages with same name are installed at different location?

asked 2017-08-23 19:32:33 -0500

Spartan_007 gravatar image


I have installed Hokuyo_node deprecated version from github. I already have Hokuyo_node installed while installing ROS. Now, when I use rosun hokuyo_node hokuyo_node, how do I make sure which package is being used?


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2017-08-23 22:46:55 -0500

Ed Venator gravatar image

rospack find hokuyo_node will tell you which package path it's using. The directories that ROS tools use to search for packages are listed in $ROS_PACKAGE_PATH, which is typically set by the setup.bash file in your workspace.

edit flag offensive delete link more


thanks, got it.

Spartan_007 gravatar image Spartan_007  ( 2017-08-23 23:32:01 -0500 )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

1 follower


Asked: 2017-08-23 19:32:33 -0500

Seen: 402 times

Last updated: Aug 23 '17