gazebosim / gz-omni

Connnects Gazebo to Isaac Sim
https://gazebosim.org/showcase
112 stars 14 forks source link

Sharing code with sdformat #11

Open koonpeng opened 2 years ago

koonpeng commented 2 years ago

There are many duplicated code from sdformat, mostly in parsing msgs into usd. We could use the code in sdformat but most functions takes in sdf objects. Is there already a way to convert ignition::msgs to sdf? If not, should we convert them to sdf and then to usd? @ahcorde Do you think the it is worth the performance penalty?

scpeters commented 2 years ago

Is there already a way to convert ignition::msgs to sdf?

see https://github.com/ignitionrobotics/ign-gazebo/blob/989cd28896fb3786f1c7947eff10d09c7ef388bf/src/Conversions.cc