gazebosim / gz-sim

Open source robotics simulator. The latest version of Gazebo.
https://gazebosim.org
Apache License 2.0
728 stars 272 forks source link

bug in sdf_exporter.py #2612

Open Pan-Chenliang opened 2 months ago

Pan-Chenliang commented 2 months ago

examples/scripts/blender/sdf_exporter.py line 188 sdf_tag = ET.SubElement(model, "sdf", attrib={"sdf": "1.8"}) makes a mistake in gazebo sim, maybe it should be sdf_tag = ET.SubElement(model, "sdf", attrib={"version": "1.8"})

azeey commented 2 weeks ago

Thanks! Looks like you have a fix there. Mind opening a PR?