Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
@250893029 https://fishros.org.cn/forum/topic/151/提问前必看-不符合要求的问题拒绝回答
2
后来自己摸索着解决了。 URDF里面依然采用 <mesh filename="package://.... /> 但在launch文件里要配置GAZEBO_MODEL_PATH环境变量 pkg_share = os.pathsep + os.path.join(get_package_prefix(package_name), 'share')
if 'GAZEBO_MODEL_PATH' in os.environ: os.environ['GAZEBO_MODEL_PATH'] += pkg_share else: os.environ['GAZEBO_MODEL_PATH'] = pkg_share