假装有一张图片
xxx@xxx:~/gym-gazebo/gym_gazebo/envs/installation$ bash turtlebot_setup.bash
chmod: 无法访问"catkin_ws/src/turtlebot_simulator/turtlebot_gazebo/env-hooks/25.turtlebot-gazebo.sh.em": 没有那个文件或目录
bash: catkin_ws/src/turtlebot_simulator/turtlebot_gazebo/env-hooks/25.turtlebot-gazebo.sh.em: 没有那个文件或目录
cp: 无法创建目录"catkin_ws/src/kobuki/kobuki_description": 没有那个文件或目录
cp: 无法创建普通文件"catkin_ws/src/kobuki/kobuki_description/meshes": 没有那个文件或目录
bash: /home/xxx/gym-gazebo/gym_gazebo/envs/installation/devel/setup.bash: 没有那个文件或目录
这个问题我也是困扰了很久,导致实验不能开展.看方法,直接跳到干货.期望对你有用.
关于文件或目录不存在,是确实在catkin_ws没有这个依赖,按照缺什么补什么的原则,我也尝试安装过了,可是在catkin_ws这个工作空间下还是没有.
期间因为忘记更新gazebo,升级到gazebo7后,直接安装turtlebot-gazebo相关包啥的,又出现了不能安装,仅支持gazebo2. 让我甚是无语.
干货
回头看下setup_indigo.bash
cd ../../catkin_ws/src/
vcs import < ../../gazebo.repos #这步没有完全成功,导致没有那个文件或目录.
只需进入到catki