Add gz sdf
command that converts a file to an older version of the spec
#1334
Labels
enhancement
New feature or request
Desired behavior
If I have a file using new features of the SDFormat spec, it means that it can't be loaded in software that only supports older versions of the spec (such as gzweb, which only supports up to SDFormat 1.6). It would be helpful to have a tool that could convert a file with version 1.7 or newer back to 1.6.
Alternatives considered
Implementation suggestion
Provide the interface as a
--convert-to-version
option togz sdf --print
:A short list of the types of conversions to be expected when converting between each version:
//pose/@relative_to
world
//world/joint
tags are detected<inertial>
blockIt may be simplest to start with a tool that converts SDFormat 1.11 files to 1.10 by expanding any auto-inertial blocks to contain the full computed value.
Additional context
The text was updated successfully, but these errors were encountered: