Skip to content

Commit

Permalink
Merge branch 'sdf15' into scpeters/gz_sdf_executable
Browse files Browse the repository at this point in the history
  • Loading branch information
scpeters authored Oct 3, 2024
2 parents d823820 + 551cb99 commit ce14de5
Show file tree
Hide file tree
Showing 109 changed files with 3,556 additions and 499 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
pull_request:
push:
branches:
- 'sdf[0-9]?'
- 'sdf[1-9]?[0-9]'
- 'main'

jobs:
Expand Down
7 changes: 7 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,13 @@ if (BUILD_SDF)
# Find tinyxml2.
gz_find_package(TINYXML2 REQUIRED)

#################################################
# Find DL if doing relocatable installation
if (GZ_ENABLE_RELOCATABLE_INSTALL)
gz_find_package(DL REQUIRED)
endif()


################################################
# Find urdfdom parser. Logic:
#
Expand Down
199 changes: 198 additions & 1 deletion Changelog.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,147 @@
## libsdformat 15.X

### libsdformat 15.X.X (202X-XX-XX)
### libsdformat 15.0.0 (2024-09-25)

1. **Baseline:** this includes all changes from 14.5.0 and earlier.

1. Use colcon for Windows building compilation
* [Pull request #1481](https://github.com/gazebosim/sdformat/pull/1481)

1. Spec 1.12: link_state, joint_state changes
* [Pull request #1461](https://github.com/gazebosim/sdformat/pull/1461)

1. Fix symbol checking test when compiled with debug symbols
* [Pull request #1474](https://github.com/gazebosim/sdformat/pull/1474)

1. README: update badges for sdf15
* [Pull request #1472](https://github.com/gazebosim/sdformat/pull/1472)

1. Ionic Changelog
* [Pull request #1471](https://github.com/gazebosim/sdformat/pull/1471)

1. Spec 1.12: add `_state` suffix to //state subelements
* [Pull request #1455](https://github.com/gazebosim/sdformat/pull/1455)

1. Add optional binary relocatability
* [Pull request #1414](https://github.com/gazebosim/sdformat/pull/1414)
* [Pull request #1468](https://github.com/gazebosim/sdformat/pull/1468)
* [Pull request #1469](https://github.com/gazebosim/sdformat/pull/1469)

1. FrameSemantics: fix NullVertex warnings
* [Pull request #1460](https://github.com/gazebosim/sdformat/pull/1460)
* [Pull request #1459](https://github.com/gazebosim/sdformat/pull/1459)
* [Pull request #1458](https://github.com/gazebosim/sdformat/pull/1458)

1. Remove deprecated APIs
* [Pull request #1456](https://github.com/gazebosim/sdformat/pull/1456)

1. Spec 1.12: add `//sensor/frame_id`
* [Pull request #1454](https://github.com/gazebosim/sdformat/pull/1454)

1. Disable latex and class hierarchy generation
* [Pull request #1447](https://github.com/gazebosim/sdformat/pull/1447)

1. Print auto inertial values with `gz sdf --print --expand-auto-inertials`
* [Pull request #1422](https://github.com/gazebosim/sdformat/pull/1422)

1. Add cone shape to SDFormat spec
* [Pull request #1418](https://github.com/gazebosim/sdformat/pull/1418)
* [Pull request #1434](https://github.com/gazebosim/sdformat/pull/1434)

1. Enable 24.04 CI, remove distutils dependency
* [Pull request #1408](https://github.com/gazebosim/sdformat/pull/1408)

1. Change behavior of `Param::Get<bool>`
* [Pull request #1397](https://github.com/gazebosim/sdformat/pull/1397)

1. Parse kinematic property in Link, expand spec documentation of property
* [Pull request #1390](https://github.com/gazebosim/sdformat/pull/1390)
* [Pull request #1399](https://github.com/gazebosim/sdformat/pull/1399)
* [Pull request #1462](https://github.com/gazebosim/sdformat/pull/1462)

1. Spec 1.11+: add `//mesh/@optimization`, `//mesh/convex_decomposition`
* [Pull request #1382](https://github.com/gazebosim/sdformat/pull/1382)
* [Pull request #1386](https://github.com/gazebosim/sdformat/pull/1386)
* [Pull request #1403](https://github.com/gazebosim/sdformat/pull/1403)

1. Copy 1.11 spec to 1.12 for libsdformat15
* [Pull request #1375](https://github.com/gazebosim/sdformat/pull/1375)

1. Fix find Python3 logic and macOS workflow
* [Pull request #1367](https://github.com/gazebosim/sdformat/pull/1367)

1. Remove `HIDE_SYMBOLS_BY_DEFAULT`: replace by a default configuration in gz-cmake.
* [Pull request #1355](https://github.com/gazebosim/sdformat/pull/1355)

1. Dependency version bumps in ionic: use gz-cmake4, gz-utils3, gz-math8
* [Pull request #1340](https://github.com/gazebosim/sdformat/pull/1340)

1. Bump major version to 15
* [Pull request #1338](https://github.com/gazebosim/sdformat/pull/1338)

## libsdformat 14.X

### libsdformat 14.5.0 (2024-08-05)

1. Adding Errors structure to XmlUtils
* [Pull request #1296](https://github.com/gazebosim/sdformat/pull/1296)

1. Disable latex and class hierarchy generation
* [Pull request #1447](https://github.com/gazebosim/sdformat/pull/1447)

1. Added SetHeightMap and Heighmap to Geometry Python binding
* [Pull request #1440](https://github.com/gazebosim/sdformat/pull/1440)

1. workflows/ci.yml fix push branch regex
* [Pull request #1445](https://github.com/gazebosim/sdformat/pull/1445)

1. SDF.cc update calls to use sdf::Errors output
* [Pull request #1295](https://github.com/gazebosim/sdformat/pull/1295)

1. Added World::ActorByName
* [Pull request #1436](https://github.com/gazebosim/sdformat/pull/1436)

### libsdformat 14.4.0 (2024-06-20)

1. Add Cone as a primitive parametric shape.
* [Pull request #1415](https://github.com/gazebosim/sdformat/pull/1415)
* Thanks to Benjamin Perseghetti

1. Add custom attribute to custom element in test
* [Pull request #1406](https://github.com/gazebosim/sdformat/pull/1406)

### libsdformat 14.3.0 (2024-06-14)

1. Backport voxel_resolution sdf element
* [Pull request #1429](https://github.com/gazebosim/sdformat/pull/1429)

1. Added Automatic Moment of Inertia Calculations for Basic Shapes Python wrappers
* [Pull request #1424](https://github.com/gazebosim/sdformat/pull/1424)

1. Add support for no gravity link
* [Pull request #1410](https://github.com/gazebosim/sdformat/pull/1410)
* [Pull request #1419](https://github.com/gazebosim/sdformat/pull/1419)

1. Update default camera instrinsics skew to 0, which matches spec
* [Pull request #1423](https://github.com/gazebosim/sdformat/pull/1423)
* [Pull request #1425](https://github.com/gazebosim/sdformat/pull/1425)

1. Allow empty strings in plugin and custom attributes
* [Pull request #1407](https://github.com/gazebosim/sdformat/pull/1407)

1. (Backport) Enable 24.04 CI, remove distutils dependency
* [Pull request #1413](https://github.com/gazebosim/sdformat/pull/1413)

1. Fix macOS workflow and backport windows fix
* [Pull request #1409](https://github.com/gazebosim/sdformat/pull/1409)

1. Fix warning with pybind11 2.12
* [Pull request #1389](https://github.com/gazebosim/sdformat/pull/1389)

1. Add bullet and torsional friction DOM
* [Pull request #1351](https://github.com/gazebosim/sdformat/pull/1351)
* [Pull request #1427](https://github.com/gazebosim/sdformat/pull/1427)

### libsdformat 14.2.0 (2024-04-23)

1. Fix trivial warning on 24.04 for JointAxis_TEST.cc
Expand Down Expand Up @@ -132,6 +270,50 @@

## libsdformat 13.X

### libsdformat 13.8.0 (2024-06-25)

1. Added `World::ActorByName`
* [Pull request #1436](https://github.com/gazebosim/sdformat/pull/1436)

1. Backport #1367 to Garden: Fix find Python3 logic.
* [Pull request #1370](https://github.com/gazebosim/sdformat/pull/1370)

### libsdformat 13.7.0 (2024-06-13)

1. Add support for no gravity link
* [Pull request #1410](https://github.com/gazebosim/sdformat/pull/1410)
* [Pull request #1419](https://github.com/gazebosim/sdformat/pull/1419)

1. Fix macOS workflow and backport windows fix
* [Pull request #1409](https://github.com/gazebosim/sdformat/pull/1409)

1. Fix warning with pybind11 2.12
* [Pull request #1389](https://github.com/gazebosim/sdformat/pull/1389)

1. Add bullet and torsional friction DOM
* [Pull request #1351](https://github.com/gazebosim/sdformat/pull/1351)
* [Pull request #1427](https://github.com/gazebosim/sdformat/pull/1427)

1. Resolve URIs relative to file path
* [Pull request #1373](https://github.com/gazebosim/sdformat/pull/1373)

1. Bazel updates for Garden build
* [Pull request #1239](https://github.com/gazebosim/sdformat/pull/1239)

1. Fix static builds and optimize test compilation
* [Pull request #1343](https://github.com/gazebosim/sdformat/pull/1343)
* [Pull request #1347](https://github.com/gazebosim/sdformat/pull/1347)

1. Install ruby commands on Windows
* [Pull request #1339](https://github.com/gazebosim/sdformat/pull/1339)
* [Pull request #1341](https://github.com/gazebosim/sdformat/pull/1341)

1. Update github action workflows
* [Pull request #1345](https://github.com/gazebosim/sdformat/pull/1345)

1. URDF->SDF handle links with no inertia or small mass
* [Pull request #1238](https://github.com/gazebosim/sdformat/pull/1238)

### libsdformat 13.6.0 (2023-08-30)

1. Use relative path in an urdf include to avoid confusion between internal and system headers
Expand Down Expand Up @@ -594,6 +776,21 @@

## libsdformat 12.X

### libsdformat 12.8.0 (2024-06-06)

1. Add support for no gravity link
* [Pull request #1410](https://github.com/gazebosim/sdformat/pull/1410)

1. Add bullet and torsional friction DOM
* [Pull request #1351](https://github.com/gazebosim/sdformat/pull/1351)

1. Fix static builds and optimize test compilation
* [Pull request #1343](https://github.com/gazebosim/sdformat/pull/1343)
* [Pull request #1347](https://github.com/gazebosim/sdformat/pull/1347)

1. Update github action workflows
* [Pull request #1345](https://github.com/gazebosim/sdformat/pull/1345)

### libsdformat 12.7.2 (2023-09-01)

1. Fixed 1.9/light.sdf
Expand Down
90 changes: 90 additions & 0 deletions Migration.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,35 @@ but with improved human-readability..
matches `"0"`, `"1"`, `"true"`, or `"false"` and returns `false`
otherwise.

### Deprecations

- **sdf/Camera.hh**:
+ The `//sensor/camera/optical_frame_id` SDF element and corresponding functions
in the Camera DOM class are deprecated. Please specify camera frame using
the `//sensor/frame_id` SDF element instead.
+ ***Deprecation:*** std::string OpticalFrameId() const
+ ***Replacement:*** std::string Sensor::FrameId() const
+ ***Deprecation:*** void SetOpticalFrameId(const std::string &)
+ ***Replacement:*** void Sensor::SetFrameId(const std::string &)

### Removals

- **sdf/Joint.hh**:
+ `const std::string &ChildLinkName() const` (use `ChildName()` instead)
+ `const std::string &ParentLinkName() const` (use `ParentName()` instead)
+ `void SetChildLinkName(const std::string &)` (use `SetChildName()` instead)
+ `void SetParentLinkName(const std::string &)` (use `SetParentName()` instead)

- **sdf/SDFImpl.hh**:
+ `void Root(const ElementPtr)` (use `SetRoot(const ElementPtr)` instead)

- **sdf/Types.hh**:
+ `const std::string &kSdfScopeDelimiter` (use `kScopeDelimiter` instead)
+ `const std::string &SdfScopeDelimiter()` (use `kScopeDelimiter` instead)

- **sdf/parser.hh**:
+ `bool checkJointParentChildLinkNames(const sdf::Root *)` (use `checkJointParentChildNames(const sdf::Root *)` instead)

## libsdformat 13.x to 14.x

### Additions
Expand All @@ -40,6 +69,9 @@ but with improved human-readability..

### Modifications

1. The default camera lens intrinsics skew value in the Camera DOM class changed
from `1` to `0` to match the SDF specification.

1. World class only renames frames with name collisions if original file version
is 1.6 or earlier. Name collisions in newer files will cause `DUPLICATE_NAME`
errors, which now matches the behavior of the Model class.
Expand Down Expand Up @@ -596,6 +628,64 @@ ABI was broken for `sdf::Element`, and restored on version 11.2.1.

## SDFormat specification 1.11 to 1.12

### Additions

1. **joint_state.sdf**:
+ `//joint_state/axis_state/position`
+ `//joint_state/axis_state/velocity`
+ `//joint_state/axis_state/acceleration`
+ `//joint_state/axis_state/effort`
+ `//joint_state/axis2_state/position`
+ `//joint_state/axis2_state/velocity`
+ `//joint_state/axis2_state/acceleration`
+ `//joint_state/axis2_state/effort`

1. **link_state.sdf**:
+ `//link_state/linear_velocity`
+ `//link_state/angular_velocity`
+ `//link_state/linear_acceleration`
+ `//link_state/angular_acceleration`
+ `//link_state/force`
+ `//link_state/torque`

1. **model.sdf**:
+ `//model/model_state`
+ `//model/include/model_state`

1. **world.sdf**:
+ `//world/include/model_state`

### Modifications

1. **state.sdf**, **model_state.sdf**, **joint_state.sdf**, **link_state.sdf**,
**light_state.sdf**: A `_state` suffix has been added to state element names
to match the `.sdf` file names and for consistency.
+ `//state/light` renamed to `//state/light_state`
+ `//state/model` renamed to `//state/model_state`
+ `//state/model/joint` renamed to `//state/model_state/joint_state`
+ `//state/model/light` renamed to `//state/model_state/light_state`
+ `//state/model/link` renamed to `//state/model_state/link_state`
+ `//state/model/model` renamed to `//state/model_state/model_state`
+ `//state/model/link/collision` renamed to `//state/model_state/link_state/collision_state`

1. **state.sdf**: `//state/joint_state` has been added to represent the state of a
`//world/joint` and `//state/insertions/joint` can represent inserted
`//world/joint` elements.

### Deprecations

1. **joint_state.sdf**:
+ `//joint_state/angle` is deprecated in favor of `//joint_state/axis_state/position`
and `//joint_state/axis2_state/position`.

1. **link_state.sdf**:
+ `//link_state/velocity` is deprecated in favor of `//link_state/angular_velocity`
and `//link_state/linear_velocity`.
+ `//link_state/acceleration` is deprecated in favor of `//link_state/angular_acceleration`
and `//link_state/linear_acceleration`.
+ `//link_state/wrench` is deprecated in favor of `//link_state/torque`
and `//link_state/force`.

## SDFormat specification 1.10 to 1.11

### Additions
Expand Down
Loading

0 comments on commit ce14de5

Please sign in to comment.