gz-sim icon indicating copy to clipboard operation
gz-sim copied to clipboard

Update the SDFGenerator to use SDF DOM

Open nkoenig opened this issue 2 years ago • 0 comments

Desired behavior

The SDFGenerator code manually creates SDF elements instead of using the SDF DOM. The problem is that this code can be difficult to maintain, and it's missing some features.

Implementation suggestion

Update the SdfGenerator functions to use the SDF DOM objects. This should make the output consistent with other users of libsdformat, and can take advantage of SDF improvements as they are released without requiring additional updates to the SDFGenerator code.

nkoenig avatar Jan 25 '22 19:01 nkoenig