chapt6中的仿真出现错误
-
这个是我用git ee下载的chapt6,然后再启动的时候提示提示没安装gazebo,但是我在这以前运行过了sudo install gazebo,现在还提示这个错误是咋回事呀,然后下面还说py文件里有多个错误,这是我分子下错还是怎么回事?
-
@281887538 安装gazebo的代码应该是
sudo apt install gazebo
-
@luqixuan 还不行的话把错误代码粘贴出来看看
-
@luqixuan 1748919177.8126540 [INFO] [launch]: All log files can be found below /home/lyk/.ros/log/2025-06-03-10-52-57-811749-lyk-6812
1748919177.8128314 [INFO] [launch]: Default logging verbosity is set to INFO
1748919178.1187415 [ERROR] [launch]: Caught exception in launch (see debug for traceback): Caught multiple exceptions when trying to load file of format [py]:- PackageNotFoundError: "package 'gazebo_ros' not found, searching: ['/home/lyk/chapt/chapt_ws/src/fishbot_description/install/fishbot_description', '/opt/ros/humble']"
- InvalidFrontendLaunchFileError: The launch file may have a syntax error, or its format is unknown这个是log文件
-
@281887538 gazebo-ros-pkgs插件安装了吗
sudo apt install ros-$ROS_DISTRO-gazebo-ros-pkgs
-
此回复已被删除!