<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[ros2_control导致gazebo运行失败]]></title><description><![CDATA[<p dir="auto">我运行自己打的代码时显示<br />
Exception occured in the Load function of plugin with name[gazebo_ros2_control] and                                               filename[libgazebo_ros2_control.so]. This plugin will not run.<br />
<img src="/forum/assets/uploads/files/1763721996399-907c0ee4-3215-403a-92b7-7ee72d16d181-%E5%9B%BE%E7%89%87-resized.png" alt="907c0ee4-3215-403a-92b7-7ee72d16d181-图片.png" class=" img-fluid img-markdown" /><br />
加载出来的gazebo是黑屏的<br />
<img src="/forum/assets/uploads/files/1763721832637-f36b81b7-efed-4431-9465-3a5d8f4ca145-%E5%9B%BE%E7%89%87-resized.png" alt="f36b81b7-efed-4431-9465-3a5d8f4ca145-图片.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">然后我又运行了小鱼的gitee上的代码，显示<br />
Sensors failed to initialize when loading model[fishbot] via the factory mechanism. Model plugins may not function properly. Consider setting <a target="_blank" rel="noopener noreferrer nofollow ugc">ignition:model_plugin_loading_timeout/</a> to a value larger than 30 in the world file.<br />
<img src="/forum/assets/uploads/files/1763722137996-803b71bd-e5d8-46d2-a932-07c571158830-%E5%9B%BE%E7%89%87-resized.png" alt="803b71bd-e5d8-46d2-a932-07c571158830-图片.png" class=" img-fluid img-markdown" /><br />
加载出来的gazebo还是黑屏的<img src="/forum/assets/uploads/files/1763721605834-85648d81-74d2-4b0d-b4f6-d5b679ee2ccd-%E5%9B%BE%E7%89%87-resized.png" alt="85648d81-74d2-4b0d-b4f6-d5b679ee2ccd-图片.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://fishros.org.cn/forum/topic/4648/ros2_control导致gazebo运行失败</link><generator>RSS for Node</generator><lastBuildDate>Thu, 27 Aug 2026 01:13:19 GMT</lastBuildDate><atom:link href="https://fishros.org.cn/forum/topic/4648.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 21 Nov 2025 10:49:52 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to ros2_control导致gazebo运行失败 on Mon, 24 Nov 2025 11:34:03 GMT]]></title><description><![CDATA[<p dir="auto">找到问题了，是ros2_controller的yaml配置文件的参数写错了。就是把100写成100.0了。这个就很玄学，然后今天我把所有的.0都去掉了，结果又报错，按照书里的代码加上就又可以了。<img src="https://fishros.org.cn/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f635.png?v=4lf04vikhdr" class="not-responsive emoji emoji-android emoji--dizzy_face" style="height:23px;width:auto;vertical-align:middle" title=":dizzy_face:" alt="😵" /></p>
]]></description><link>https://fishros.org.cn/forum/post/19295</link><guid isPermaLink="true">https://fishros.org.cn/forum/post/19295</guid><dc:creator><![CDATA[zh20060315]]></dc:creator><pubDate>Mon, 24 Nov 2025 11:34:03 GMT</pubDate></item><item><title><![CDATA[Reply to ros2_control导致gazebo运行失败 on Fri, 21 Nov 2025 11:07:44 GMT]]></title><description><![CDATA[<p dir="auto">搞错了，用小鱼的代码跑ros2-control的终端是如下所示<img src="/forum/assets/uploads/files/1763723043714-c397f9f3-46bf-433c-a844-ca18f4f5b9f6-%E5%9B%BE%E7%89%87-resized.png" alt="c397f9f3-46bf-433c-a844-ca18f4f5b9f6-图片.png" class=" img-fluid img-markdown" /><br />
gazebo还是同样黑屏</p>
<p dir="auto">上面的第二张终端图片是我将小鱼的代码从ros2-control改到差速控制的终端显示<br />
至于我自己写的代码（其实就是小鱼的书的代码），差速控制没有错误</p>
]]></description><link>https://fishros.org.cn/forum/post/19284</link><guid isPermaLink="true">https://fishros.org.cn/forum/post/19284</guid><dc:creator><![CDATA[zh20060315]]></dc:creator><pubDate>Fri, 21 Nov 2025 11:07:44 GMT</pubDate></item></channel></rss>