Search for 'catkin' in workspace failed (catkin_find_pkg catkin /home/ai2/wheeltec/src):
时间: 2024-05-13 12:20:04 浏览: 133
This error message indicates that the 'catkin' package cannot be found in your workspace.
To resolve this issue, you should ensure that the 'catkin' package is installed and located in your workspace. You can do this by running the following commands in your terminal:
```
sudo apt-get install ros-<distro>-catkin
cd ~/catkin_ws/src
catkin_create_pkg <package_name> <dependencies>
```
Replace `<distro>` with your ROS distribution (e.g. 'melodic', 'noetic', etc.), `<package_name>` with the name of your package, and `<dependencies>` with any dependencies your package may have.
Once you have created your package, you should be able to build your workspace without encountering the 'catkin' package not found error.
阅读全文