The SDF spec version supported has nothing to do with the versioning of SDFormat package. SDF
is a format specification and as such, it has it's own versions: 1.4, 1.5, 1.6 (as of today). In debian/ubuntu it is distributed with the package name of sdformat-sdf
and it is not strictly related to a particular version of the rest of SDFormat
packages although all them come from the same source tarball.
SDFormat
is a C++ software which works with the SDF specification. It follows semantic versioning and major versions corresspond to changes in ABI. It versioning scheme has nothing to do with the SDF
protocol supported.
The confusion could come from the fact that both are hosted in the same repository and are installed together. In Gazebo
we use the dependency directly on SDFormat
since it would bring the SDF
protocol needed by a particular version (plus the expected API, etc).
Originally posted by Jose Luis Rivero with karma: 1485 on 2017-02-21
This answer was ACCEPTED on the original site
Post score: 2
Original comments
Comment by davetcoleman on 2017-02-22:
On http://sdformat.org/ there should be a table comparing Gazebo version to SDFormat verison like there is on gazebosim.org. Maybe a link to more details (the ones you just provided here). Where can I open a ticket for this documentation request?
Comment by chapulina on 2017-02-22:
I started something like this on this pull request to gazebo tutorials: https://bitbucket.org/osrf/gazebo_tutorials/pull-requests/386/split-step-to-install-dependencies-from/diff @jose-luis-rivero, what do you think of adding information about the SDF spec there too? Feel free to commit directly to that branch if you wish.
Comment by Jose Luis Rivero on 2017-02-22:
I've added some information to that PR: https://bitbucket.org/osrf/gazebo_tutorials/commits/f53ab05209d7df1668116533800e8c0042f715cf?at=default , hopefully it will help with the problem. We could also consider to add the information about SDF vs SDFormat in the sdformat.org front page.
Comment by chapulina on 2017-02-22:
Thank you!