yahboom@Transbot:~/dev/catkin_ws$ echo "source ~/dev/catkin_ws/devel/setup.bash" >> ~/.bashrc yahboom@Transbot:~/dev/catkin_ws$ source ~/.bashrc bash: /home/yahboom/software/world_canvas/devel/setup.bash: No such file or directory bash: /home/yahboom/rplidar_ws/devel/setup.bash: No such file or directory ----------------------- MY_IP: 192.168.58.55 ROS_MASTER_URI: http://192.168.58.55:11311 ----------------------- bash: /opt/ros/noetic/setup.bash: No such file or directory
时间: 2023-07-07 16:46:39 浏览: 98
catkin_ws
5星 · 资源好评率100%
这个错误可能是因为其中某个路径已被删除或移动。你需要检查这些路径是否存在,并在必要时更新它们。
在你的情况下,我看到了三个路径:
- `/home/yahboom/software/world_canvas/devel/setup.bash`
- `/home/yahboom/rplidar_ws/devel/setup.bash`
- `/opt/ros/noetic/setup.bash`
你可以先检查这些路径是否存在。如果不存在,则说明这些路径已被删除或移动。你需要更新这些路径,以便它们指向正确的位置。你可以编辑 `~/.bashrc` 文件,找到这些路径并将它们更新为正确的路径。例如:
```
source ~/dev/catkin_ws/devel/setup.bash
source /path/to/world_canvas/devel/setup.bash
source /path/to/rplidar_ws/devel/setup.bash
source /opt/ros/noetic/setup.bash
```
你需要将 `/path/to/world_canvas/devel/setup.bash` 和 `/path/to/rplidar_ws/devel/setup.bash` 替换为正确的路径。
阅读全文