ROS package not found after catkin_make

I created a ROS workspace after the Wiki page from ROS. I also created a package using catkin_create_pkg

under the newly created workspace.

Then, following the steps in the ROS Wiki to build a package with catkin_make

, after creating the package, I paste the command rospack find packagename

and my package is no longer found.

Can anyone help me with this?

+3


source to share


1 answer


Have you followed this basic tutorial ? You must create the package in your workspace and install your bash file correctly (in your home directory).

To permanently install the system add these lines

# ROS settings
source <your_workspace_path>/catkin/devel/setup.bash

      



at the end of your ~/.bashrc

. Then restart the terminal and try again. Please remember to change these lines with your actual information where I put it <your_workspace_path>

(depends on where you installed ROS and its workspace on your PC).

If that doesn't fix the problem, try rospack profile

before rospack find <your_package_name>

.

+3


source







All Articles