@ganyuanzhen 我懂了!!!感谢,问题出在,我应该新建一个英文名称的文件夹,然后在新建文件中运行终端命令!而不应该直接在桌面运行终端。
liu@liu-virtual-machine:~/ROS$ git clone https://github.com/fishros/fishbot.git -b v1.0.0 --depth=1
Cloning into 'fishbot'...
remote: Enumerating objects: 84, done.
remote: Counting objects: 100% (84/84), done.
remote: Compressing objects: 100% (69/69), done.
remote: Total 84 (delta 21), reused 46 (delta 7), pack-reused 0
Receiving objects: 100% (84/84), 332.98 KiB | 422.00 KiB/s, done.
Resolving deltas: 100% (21/21), done.
liu@liu-virtual-machine:~/ROS$ cd fishbot
liu@liu-virtual-machine:~/ROS/fishbot$ rosdep install --from-paths src --ignore-src -y -r # 安装依赖
#All required rosdeps installed successfully
liu@liu-virtual-machine:~/ROS/fishbot$ colcon build
Starting >>> fishbot_bringup
Starting >>> fishbot_cartographer
Finished <<< fishbot_cartographer [0.53s]
Starting >>> fishbot_description
Finished <<< fishbot_description [0.57s]
Starting >>> fishbot_interfaces
Finished <<< fishbot_interfaces [7.94s]
Starting >>> fishbot_navigation2
Finished <<< fishbot_navigation2 [0.63s]
Finished <<< fishbot_bringup [13.5s]
Summary: 5 packages finished [13.9s]