Skip to content

踩坑Robotics Stack Exchange11 个月前

如何将Gazebo默认渲染引擎永久设置为ogre? ​

本文由 AI 根据公开内容整理,可能有误,请以原文为准:How to permanently set gazebo default render engine to ogre?(Robotics Stack Exchange #117720)

状态:有绕过办法

问题 ​

使用Linux radeon驱动的设备无法适配ogre2,加--render-engine ogre参数可正常运行,但部分脚本无该参数,需永久设置默认引擎为ogre。

环境 ​

系统为Ubuntu 24.04,搭配ROS2 jazzy,Gazebo Sim版本8.9.0,使用Linux radeon驱动。

解决办法 ​

  1. 针对GUI端:修改gui.config文件,将MinimalScene插件中的<engine>配置项的值改为ogre。
  2. 针对服务端:修改服务端的MinimalScene插件对应配置,将渲染引擎设置为ogre。

原问题作者:AmirHossein Zarei;采纳答案作者:JRTG。原内容依 CC BY-SA 4.0 授权,本页摘要同样依 CC BY-SA 4.0 授权。

来源

本页事实对应的公开页面,以原文为准。

  1. Robotics Stack Exchange #117720:How to permanently set gazebo default render engine to ogre?访问 2026-10-21