boschresearch / pcg_gazebo

Procedural Generation for Gazebo
https://boschresearch.github.io/pcg_gazebo/
Apache License 2.0
69 stars 24 forks source link

Support sdf version 1.7 #138

Open tim-fan opened 3 years ago

tim-fan commented 3 years ago

Hello, I'm trying to use the script pcg-generate-occupancy-map on this world file: office_world.sdf

I invoke with: pcg-generate-occupancy-map --world-file office_world.sdf and get the error: AssertionError: 1.7 not a valid XML version, versions=[1.4, 1.5, 1.6]

I suppose this implies the pcg_gazebo sdf parsers need to be updated to support version 1.7?

My environment: pcg-gazebo==0.7.12 (installed via pip) Python 3.8.5 Ubuntu 20.04 (focal) World file created with gazebo 11.3.0