ROS package not found after catkin_make

前端 未结 1 1043
深忆病人
深忆病人 2021-02-13 17:42

I created a ROS workspace following the Wiki page from ROS. I also created a package using catkin_create_pkg under the workspace I just created.

Then, follo

相关标签:
1条回答
  • 2021-02-13 18:10

    Have you followed this basic tutorial? You have to create the package in your workspace and have set properly your Bash file (in your home directory).

    To permanently set your 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 retry. Please, be sure to modify these lines with your actual information, where I've put <your_workspace_path> (depends on where you have installed ROS and its workspace on your PC).

    If this does not solve the problem, try rospack profile before rospack find <your_package_name>.

    0 讨论(0)
提交回复
热议问题