Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

运行三维激光slam outdoor1.launch 时出现模型未加载的情况 #116

Open
2874160799 opened this issue Oct 10, 2024 · 7 comments
Open

Comments

@2874160799
Copy link

当我使用 roslaunch px4 outdoor1.launch 时,会出现模型未被找到的报错,打开的gazebo地图也有很多模型没被加载出来

b40283cd9622385a7be7975e13dd85f
15b106d8ed949b1a39a8db2328a8a47
以下是终端的报错信息

[Wrn] [ColladaLoader.cc:1441] emission texture not supported
[Err] [World.cc:2529] Unable to find model[fire_hydrant_95_clone]
[Err] [World.cc:2529] Unable to find model[fire_hydrant_95_clone_0]
[Err] [World.cc:2529] Unable to find model[fire_hydrant_95_clone_1]
[Err] [World.cc:2529] Unable to find model[fire_hydrant_95_clone_2]
[Err] [World.cc:2541] Unable to find light[user_directional_light_0]
[Err] [World.cc:2541] Unable to find light[user_point_light_0]
[INFO] [1728524023.244404, 1752.180000]: Spawn status: SpawnModel: Entity pushed to spawn queue, but spawn service timed out waiting for entity to appear in simulation under the name iris_0
[ERROR] [1728524023.245419, 1752.180000]: Spawn service failed. Exiting.
[ INFO] [1728524023.253111088, 1752.180000000]: Physics dynamic reconfigure ready.
Warning [parser.cc:833] XML Attribute[version] in element[sdf] not defined in SDF, ignoring.
Warning [parser.cc:833] XML Attribute[version] in element[sdf] not defined in SDF, ignoring.
Warning [parser.cc:833] XML Attribute[version] in element[sdf] not defined in SDF, ignoring.
Warning [parser.cc:833] XML Attribute[version] in element[sdf] not defined in SDF, ignoring.
[Wrn] [gazebo_gps_plugin.cpp:78] [gazebo_gps_plugin]: iris_0::gps0 using gps topic "gps0"
[Wrn] [gazebo_gps_plugin.cpp:203] [gazebo_gps_plugin] Using default update rate of 5hz
[iris_0/iris_0_spawn-5] process has died [pid 283452, exit code 1, cmd /home/ubuntu/catkin_ws/devel/lib/gazebo_ros/spawn_model -sdf -param model_description -model iris_0 -x 0 -y 0 -z 0 -R 0 -P 0 -Y 0 __name:=iris_0_spawn __log:=/home/ubuntu/.ros/log/a79d3d18-86a7-11ef-a6e6-4f0d2e0f45cd/iris_0-iris_0_spawn-5.log].
log file: /home/ubuntu/.ros/log/a79d3d18-86a7-11ef-a6e6-4f0d2e0f45cd/iris_0-iris_0_spawn-5*.log
[Err] [InsertModelWidget.cc:403] Missing model.config for model "/opt/ros/noetic/share/turtlebot3_gazebo/models/turtlebot3_autorace"
[Err] [InsertModelWidget.cc:403] Missing model.config for model "/opt/ros/noetic/share/turtlebot3_gazebo/models/turtlebot3_autorace_2020"
[Err] [InsertModelWidget.cc:403] Missing model.config for model "/opt/ros/noetic/share/turtlebot3_gazebo/models/turtlebot3_common_meshes"

我去这些路径看了之后好像是模型是有的

04c28547dba8972f92405a99f592834
再运行roslaunch aloam_velodyne aloam_velodyne_HDL_32.launch无点云画面

@andy-zhuo-02
Copy link
Contributor

报错提醒的是缺少模型的config文件,检查这些文件夹里面config文件是否存在和正常

@2874160799
Copy link
Author

报错提醒的是缺少模型的config文件,检查这些文件夹里面config文件是否存在和正常

这些文件夹的文件我都贴出来了,你可以帮忙看下和正常的是否一样,报错文件夹里没有config文件,但是子文件夹都有的

@andy-zhuo-02
Copy link
Contributor

正常的结构是模型的文件夹里要包含模型的sdf文件和model.config文件

@20246688
Copy link

大佬,我发现我的键盘控制按照文档来还是有问题:我需要打开[qcg]软件,然后再键盘控制按t/y,就有效果。不过无人机arm一会儿后就不转了,需要重新按y再按t才可以转。而且我发现按i调到0.3、0.4,再按b、v这些都不能飞起来。请问是什么问题呢

@2874160799
Copy link
Author

大佬,我发现我的键盘控制按照文档来还是有问题:我需要打开[qcg]软件,然后再键盘控制按t/y,就有效果。不过无人机arm一会儿后就不转了,需要重新按y再按t才可以转。而且我发现按i调到0.3、0.4,再按b、v这些都不能飞起来。请问是什么问题呢

i b t

@20246688
Copy link

大佬,我发现我的键盘控制按照文档来还是有问题:我需要打开[qcg]软件,然后再键盘控制按t/y,就有效果。不过无人机arm一会儿后就不转了,需要重新按y再按t才可以转。而且我发现按i调到0.3、0.4,再按b、v这些都不能飞起来。请问是什么问题呢

我 b t
大佬。你知道怎么看四翼无人机运行是GPS定位还是视觉定位或者其他定位呐

@andy-zhuo-02
Copy link
Contributor

大佬,我发现我的键盘控制按照文档来还是有问题:我需要打开[qcg]软件,然后再键盘控制按t/y,就有效果。不过无人机arm一会儿后就不转了,需要重新按y再按t才可以转。而且我发现按i调到0.3、0.4,再按b、v这些都不能飞起来。请问是什么问题呢

有其他问题单独提issue,不要在已有issue下提无关的问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants