当前位置:网站首页>Black screen and error reporting when loading custom models for gazebo with roslaunch
Black screen and error reporting when loading custom models for gazebo with roslaunch
2022-06-29 03:42:00 【Twilight 629】
Today, I made one by myself dae Type of model file , Want to import gazebo, according to gazebo .world Import in file dae The problem with the model The article has been operated , Write as follows .world file
<?xml version="1.0"?>
<sdf version="1.4">
<world name="default">
<include>
<uri>model://sun</uri>
</include>
<include>
<uri>model://ground_plane</uri>
</include>
<model name="SparsePillars">
<pose>0 0 0 0 0 0</pose>
<static>true</static>
<link name="up">
<visual name="visual">
<geometry>
<mesh><uri>file://SparsePillars.dae</uri></mesh>
</geometry>
</visual>
</link>
</model>
</world>
</sdf>
Use this .world file , Use it directly gazebo worldname.world when gazebo Can start normally , But use roslaunch load world When gazebo Will always be stuck in the black screen of the loading interface , And report the following error
[Err] [ModelDatabase.cc:414] Unable to download model[model://SparsePillars.dae]
[Err] [SystemPaths.cc:412] File or path does not exist[""]
[Err] [Visual.cc:2824] No mesh specified
Check information 、 After looking for problems for a day , Finally in the gazebo Found in the Q & A area of the official website A post , The final solution is .world file uri Change the address to absolute address , And in front of the absolute address The backslash / Three are needed ! Specifically world The documents are as follows
<sdf version="1.6">
<world name="default">
<include>
<uri>model://sun</uri>
</include>
<include>
<uri>model://ground_plane</uri>
</include>
<model name="SparsePillars">
<pose>0 0 0.0 0 0 0</pose>
<static>true</static>
<link name="up">
<visual name="visual">
<geometry>
<mesh><uri>file:///home/muguang629/Simulator/SparsePillars.dae</uri></mesh>
</geometry>
</visual>
</link>
</model>
</world>
</sdf>
Use this world file ,roslaunch It will start normally
边栏推荐
- 迅为i.MX8M开发板yocto系统使用Gstarwmr视频转换
- leetcode - 295. 数据流的中位数
- seekbar 自定义图片上下左右显示不全 / bitmapToDrawable / bitmapToDrawable互转 / paddingStart/paddingEnd /thumbOffset
- Go implements distributed locks
- Problème - Ajouter shellerror: permissions d'instrumentation pour le périphérique: vérifier les règles udev.
- [tcaplusdb knowledge base] Introduction to tcaplusdb tcaplusadmin tool
- 搭建nexus服务
- 为什么信息化 ≠ 数字化?终于有人讲明白了
- 需求分析说明书和需求规格说明书
- 88. (cesium chapter) cesium aggregation diagram
猜你喜欢
![[World Ocean Day] tcapulusdb calls on you to protect marine biodiversity together](/img/87/373af42f3a2ffa6b9f7fb0c0c3735b.png)
[World Ocean Day] tcapulusdb calls on you to protect marine biodiversity together

Installation and deployment of sw-x framework

【TcaplusDB】祝大家端午安康!

Input input box click with border
![[tcaplusdb knowledge base] Introduction to tcaplusdb tcapulogmgr tool (II)](/img/7b/8c4f1549054ee8c0184495d9e8e378.png)
[tcaplusdb knowledge base] Introduction to tcaplusdb tcapulogmgr tool (II)

Get error: Unsupported fork ordering: eip150block not enabled, but eip155block enabled at 0

设备监理师证书含金量怎样?值得考吗?

Set hardware breakpoint instruction for ejtag under the PMON of the Godson development board
![[interview guide] AI algorithm interview](/img/00/918608afe7f2b8e4fd89770b512b41.png)
[interview guide] AI algorithm interview

【世界海洋日】TcaplusDB号召你一同保护海洋生物多样性
随机推荐
二叉树的锯齿形层序遍历[分层遍历方式之一 -> 前序遍历+level]
点云地图导入gazebo思路
【TcaplusDB】祝大家端午安康!
2D人体姿态估计 - DeepPose
深度解析“链动2+1”模式的商业逻辑
做 SQL 性能优化真是让人干瞪眼
需求分析说明书和需求规格说明书
Set hardware breakpoint instruction for ejtag under the PMON of the Godson development board
SSH login without password
87.(cesium篇)cesium热力图(贴地形)
Wechat applet development Basics
Probe into metacosmic storage, the next explosive point in the data storage market?
Devops note-05: what are the roles of Ba, SM, Po, PM, PD, dev, OPS and QA in the IT industry
Seura 2测试代码总结
问题——adb shellerror: insufficient permissions for device: verify udev rules.
Vg4131sxxxn0s1 wireless module hardware specification
FarrowTech的无线传感器采用橙群微电子的NanoBeacon蓝牙信标技术
分布式id解决方案
【Ubuntu】【Mysql】ubuntu安装了mysql 但是编译报错 mysql.h: No such file or directory
VIM configuration and use