Skip to content

Commit 70366dd

Browse files
author
Addisu Z. Taddese
authored
Merge branch 'sdf12' into aaron/pose-quat-empty-value
2 parents 594506a + d1b096c commit 70366dd

36 files changed

Lines changed: 657 additions & 209 deletions

.github/CODEOWNERS

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# More info:
2+
# https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-code-owners
3+
4+
* @azeey @scpeters

.github/workflows/ci.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,3 @@ jobs:
2323
- name: Compile and test
2424
id: ci
2525
uses: ignition-tooling/action-ignition-ci@focal
26-

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ project (sdformat12)
2727
set (SDF_PROTOCOL_VERSION 1.9)
2828

2929
set (SDF_MAJOR_VERSION 12)
30-
set (SDF_MINOR_VERSION 1)
30+
set (SDF_MINOR_VERSION 2)
3131
set (SDF_PATCH_VERSION 0)
3232

3333
set (SDF_VERSION ${SDF_MAJOR_VERSION}.${SDF_MINOR_VERSION})

Changelog.md

Lines changed: 195 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,76 @@
11
## libsdformat 12.X
22

3+
### libsdformat 12.2.0 (2021-11-23)
4+
5+
1. Convert Joint DOM to Element.
6+
* [Pull request #759](https://github.com/ignitionrobotics/sdformat/pull/759)
7+
8+
1. Populate light sdf::ElementPtr from Light DOM
9+
* [Pull request #755](https://github.com/ignitionrobotics/sdformat/pull/755)
10+
11+
1. Add function to convert Sensor DOM to sdf::ElementPtr
12+
* [Pull request #753](https://github.com/ignitionrobotics/sdformat/pull/753)
13+
* [Pull request #757](https://github.com/ignitionrobotics/sdformat/pull/757)
14+
15+
1. Support wide angle camera.
16+
* [Pull request #744](https://github.com/ignitionrobotics/sdformat/pull/744)
17+
18+
1. Forward ports
19+
* [Pull request #756](https://github.com/ignitionrobotics/sdformat/pull/756)
20+
* [Pull request #734](https://github.com/ignitionrobotics/sdformat/pull/734)
21+
* [Pull request #738](https://github.com/ignitionrobotics/sdformat/pull/738)
22+
* [Pull request #750](https://github.com/ignitionrobotics/sdformat/pull/750)
23+
* [Pull request #752](https://github.com/ignitionrobotics/sdformat/pull/752)
24+
25+
1. Changelog links to BitBucket backup.
26+
* [Pull request #237](https://github.com/ignitionrobotics/sdformat/pull/237)
27+
28+
1. Update BitBucket links.
29+
* [Pull request #248](https://github.com/ignitionrobotics/sdformat/pull/248)
30+
31+
1. Cherry-pick [sdf4] Update BitBucket links -> sdf6
32+
* [Pull request #258](https://github.com/ignitionrobotics/sdformat/pull/258)
33+
34+
1. Patch popen/pclose method for Windows.
35+
* [Pull request #297](https://github.com/ignitionrobotics/sdformat/pull/297)
36+
37+
1. Parse rpyOffset as radians
38+
* [Pull request #497](https://github.com/ignitionrobotics/sdformat/pull/497)
39+
40+
1. Fix flattening logic for nested model names (sdf6)
41+
* [Pull request #597](https://github.com/ignitionrobotics/sdformat/pull/597)
42+
43+
1. Translate poses of nested models inside other nested models (sdf6).
44+
* [Pull request #596](https://github.com/ignitionrobotics/sdformat/pull/596)
45+
46+
1. Use Ubuntu bionic in CI
47+
* [Pull request #626](https://github.com/ignitionrobotics/sdformat/pull/626)
48+
49+
1. Create CODEOWNERS with azeey and scpeters.
50+
* [Pull request #650](https://github.com/ignitionrobotics/sdformat/pull/650)
51+
52+
1. Remove bitbucket-pipelines.
53+
* [Pull request #674](https://github.com/ignitionrobotics/sdformat/pull/674)
54+
55+
1. Check joint parent/child names in Root::Load.
56+
* [Pull request #727](https://github.com/ignitionrobotics/sdformat/pull/727)
57+
58+
1. Check joint parent link names in Model::Load.
59+
* [Pull request #726](https://github.com/ignitionrobotics/sdformat/pull/726)
60+
61+
1. Add Joint DOM API to access joint sensors
62+
* [Pull request #517](https://github.com/ignitionrobotics/sdformat/pull/517)
63+
64+
1. Remove outdated deprecation note from parser_urdf.hh
65+
* [Pull request #740](https://github.com/ignitionrobotics/sdformat/pull/740)
66+
67+
1. DOC: only allow one canonical_link attribute
68+
* [Pull request #716](https://github.com/ignitionrobotics/sdformat/pull/716)
69+
70+
1. Fix URDF fixed joint reduction of plugins
71+
* [Pull request #500](https://github.com/ignitionrobotics/sdformat/pull/500)
72+
* [Pull request #745](https://github.com/ignitionrobotics/sdformat/pull/745)
73+
374
### libsdformat 12.1.0 (2021-11-09)
475

576
1. Support accessing mutable sensor types.
@@ -378,6 +449,77 @@
378449

379450
## libsdformat 10.X
380451

452+
### libsdformat 10.6.0 (2021-09-08)
453+
454+
1. Parse URDF continuous joint effort/velocity limits
455+
* [Pull request #684](https://github.com/ignitionrobotics/sdformat/pull/684)
456+
457+
1. Add enable_orientation SDF element to imu
458+
* [Pull request #651](https://github.com/ignitionrobotics/sdformat/pull/651)
459+
460+
1. Add a codecheck make target
461+
* [Pull request #682](https://github.com/ignitionrobotics/sdformat/pull/682)
462+
463+
1. Refactor sdf::readXml
464+
* [Pull request #681](https://github.com/ignitionrobotics/sdformat/pull/681)
465+
466+
1. Upgrade cpplint and fix new errors
467+
* [Pull request #680](https://github.com/ignitionrobotics/sdformat/pull/680)
468+
469+
1. BUG: add missing plugin element to include
470+
* [Pull request #675](https://github.com/ignitionrobotics/sdformat/pull/675)
471+
472+
1. Added comment reminder to update functions
473+
* [Pull request #677](https://github.com/ignitionrobotics/sdformat/pull/677)
474+
475+
1. Adds enable_metrics flag to Sensor.
476+
* [Pull request #665](https://github.com/ignitionrobotics/sdformat/pull/665)
477+
478+
1. Add GPS / NavSat sensor to sdf9
479+
* [Pull request #453](https://github.com/ignitionrobotics/sdformat/pull/453)
480+
481+
1. Support parsing elements that are not part of the schema
482+
* [Pull request #638](https://github.com/ignitionrobotics/sdformat/pull/638)
483+
484+
1. Add lightmap to 1.7 spec and PBR material DOM
485+
* [Pull request #429](https://github.com/ignitionrobotics/sdformat/pull/429)
486+
487+
1. Fix urdf link extension tags
488+
* [Pull request #628](https://github.com/ignitionrobotics/sdformat/pull/628)
489+
490+
1. Updated material spec
491+
* [Pull request #644](https://github.com/ignitionrobotics/sdformat/pull/644)
492+
493+
1. Minor fix to Migration guide
494+
* [Pull request #630](https://github.com/ignitionrobotics/sdformat/pull/630)
495+
496+
1. Error: move << operator from .hh to .cc file
497+
* [Pull request #625](https://github.com/ignitionrobotics/sdformat/pull/625)
498+
499+
1. Update build system to allow overriding CXX flags and using clang on Linux
500+
* [Pull request #621](https://github.com/ignitionrobotics/sdformat/pull/621)
501+
502+
1. Add Element::FindElement as an alternative to Element::GetElement
503+
* [Pull request #620](https://github.com/ignitionrobotics/sdformat/pull/620)
504+
505+
1. Add ValidateGraphs methods to Model/World (sdf9)
506+
* [Pull request #602](https://github.com/ignitionrobotics/sdformat/pull/602)
507+
508+
1. Fix ABI break
509+
* [Pull request #605](https://github.com/ignitionrobotics/sdformat/pull/605)
510+
511+
1. Parameter passing prototype
512+
* [Pull request #413](https://github.com/ignitionrobotics/sdformat/pull/413)
513+
514+
1. Port particle scatter ratio param to sdf 1.6
515+
* [Pull request #595](https://github.com/ignitionrobotics/sdformat/pull/595)
516+
517+
1. Making PrintValues() and ToString() able to not print default elements
518+
* [Pull request #575](https://github.com/ignitionrobotics/sdformat/pull/575)
519+
520+
1. Add API for determining if an element was set by the user
521+
* [Pull request #542](https://github.com/ignitionrobotics/sdformat/pull/542)
522+
381523
### libsdformat 10.5.0 (2021-05-17)
382524

383525
1. Add scatter ratio parameter to Particle Emitter DOM.
@@ -516,12 +658,49 @@
516658

517659
### libsdformat 9.X.X (202X-XX-XX)
518660

661+
### libsdformat 9.7.0 (2021-11-03)
662+
663+
1. Make exception for plugins when checking for name uniqueness
664+
* [Pull request #733](https://github.com/ignitionrobotics/sdformat/pull/733)
665+
666+
1. Backport test utilities from sdf10
667+
* [Pull request #731](https://github.com/ignitionrobotics/sdformat/pull/731)
668+
669+
1. Added Force Torque Noise functions + Unit tests
670+
* [Pull request #669](https://github.com/ignitionrobotics/sdformat/pull/669)
671+
672+
1. Add Joint DOM API to access joint sensors
673+
* [Pull request #517](https://github.com/ignitionrobotics/sdformat/pull/517)
674+
675+
1. Add force torque sensor
676+
* [Pull request #393](https://github.com/ignitionrobotics/sdformat/pull/393)
677+
678+
### libsdformat 9.6.1 (2021-09-07)
679+
680+
1. Parse URDF continuous joint effort/velocity limits
681+
* [Pull request #684](https://github.com/ignitionrobotics/sdformat/pull/684)
682+
683+
1. Add a codecheck make target
684+
* [Pull request #682](https://github.com/ignitionrobotics/sdformat/pull/682)
685+
686+
1. Refactor sdf::readXml
687+
* [Pull request #681](https://github.com/ignitionrobotics/sdformat/pull/681)
688+
689+
1. Upgrade cpplint and fix new errors
690+
* [Pull request #680](https://github.com/ignitionrobotics/sdformat/pull/680)
691+
692+
1. BUG: add missing plugin element to include
693+
* [Pull request #675](https://github.com/ignitionrobotics/sdformat/pull/675)
694+
695+
1. Added comment reminder to update functions
696+
* [Pull request #677](https://github.com/ignitionrobotics/sdformat/pull/677)
697+
519698
### libsdformat 9.6.0 (2021-08-18)
520699

521700
1. Adds `enable_metrics` flag to Sensor.
522701
* [Pull request #665](https://github.com/ignitionrobotics/sdformat/pull/665)
523702

524-
1. Add GPS sensor DOM to sdf9
703+
1. Add GPS / NavSat sensor DOM to sdf9
525704
* [Pull request #453](https://github.com/ignitionrobotics/sdformat/pull/453)
526705

527706
1. Support parsing elements that are not part of the schema
@@ -1229,7 +1408,21 @@
12291408

12301409
## libsdformat 6.0
12311410

1232-
### libsdformat 6.X.X (20XX-XX-XX)
1411+
### libsdformat 6.3.1 (2021-07-06)
1412+
1413+
1. Fix flattening logic for nested model names
1414+
* [Pull request 597](https://github.com/osrf/sdformat/pull/597)
1415+
1416+
1. Translate poses of nested models inside other nested models
1417+
* [Pull request 596](https://github.com/osrf/sdformat/pull/596)
1418+
1419+
### libsdformat 6.3.0 (2021-06-21)
1420+
1421+
1. Move recursiveSameTypeUniqueNames from ign.cc to parser.cc and make public.
1422+
* [Pull request 580](https://github.com/osrf/sdformat/pull/580)
1423+
1424+
1. Parse rpyOffset as radians
1425+
* [Pull request 497](https://github.com/osrf/sdformat/pull/497)
12331426

12341427
1. Parse urdf files to SDFormat 1.5 instead of 1.4 to avoid `use_parent_model_frame`.
12351428
* [BitBucket pull request 575](https://osrf-migration.github.io/sdformat-gh-pages/#!/osrf/sdformat/pull-requests/575)

Migration.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -409,6 +409,11 @@ ABI was broken for `sdf::Element`, and restored on version 11.2.1.
409409

410410
## SDFormat 5.x to 6.x
411411

412+
### Additions
413+
414+
1. **sdf/parser.hh**
415+
+ bool recursiveSameTypeUniqueNames(sdf::ElementPtr)
416+
412417
### Deprecations
413418

414419
1. **sdf/Types.hh**

bitbucket-pipelines.yml

Lines changed: 0 additions & 47 deletions
This file was deleted.

doc/header.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ <h2 style="text-align:center;">
4141
<dd><a href="http://sdf.com/wiki/Tutorials">Tutorials</a></dd>
4242
<dd><a href="http://sdf.com/downloads.html">Download</a></dd>
4343
-->
44-
<dd><a href="https://github.com/osrf/sdformat/issues/new">Report Documentation Issues</a></dd>
44+
<dd><a href="https://github.com/ignitionrobotics/sdformat/issues/new">Report Documentation Issues</a></dd>
4545
</dl>
4646
</div>
4747
<div>

doc/mainpage.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
Desctiption Format API. The code reference is divided into the groups below.
66
Should you find problems with this documentation - typos, unclear phrases,
77
or insufficient detail - please create a <a
8-
href="https://github.com/osrf/sdformat/issues/new">new GitHub issue</a>.
8+
href="https://github.com/ignitionrobotics/sdformat/issues/new">new GitHub issue</a>.
99
Include sufficient detail to quickly locate the problematic documentation,
1010
and set the issue's fields accordingly: Assignee - blank; Kind - bug;
1111
Priority - minor; Version - blank.

include/sdf/parser.hh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -388,6 +388,16 @@ namespace sdf
388388
SDFORMAT_VISIBLE
389389
bool checkJointParentChildLinkNames(const sdf::Root *_root);
390390

391+
/// \brief Check that all joints in contained models specify parent
392+
/// and child names that match the names of sibling links, joints,
393+
/// models, or frames.
394+
/// This checks recursively and should check the files exhaustively
395+
/// rather than terminating early when the first error is found.
396+
/// \param[in] _root SDF Root object to check recursively.
397+
/// \param[out] _errors Detected errors will be appended to this variable.
398+
SDFORMAT_VISIBLE
399+
void checkJointParentChildNames(const sdf::Root *_root, Errors &_errors);
400+
391401
/// \brief For the world and each model, check that the attached_to graphs
392402
/// build without errors and have no cycles.
393403
/// Confirm that following directed edges from each vertex in the graph

sdf/1.7/forcetorque.sdf

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,38 @@
1717
"child_to_parent" if the measured wrench is the one applied by the child link on the parent link.
1818
</description>
1919
</element>
20+
21+
<element name="force" required="0">
22+
<description>These elements are specific to measurement-frame force,
23+
which is expressed in Newtons</description>
24+
<element name="x" required="0">
25+
<description>Force along the X axis</description>
26+
<include filename="noise.sdf" required="0"/>
27+
</element>
28+
<element name="y" required="0">
29+
<description>Force along the Y axis</description>
30+
<include filename="noise.sdf" required="0"/>
31+
</element>
32+
<element name="z" required="0">
33+
<description>Force along the Z axis</description>
34+
<include filename="noise.sdf" required="0"/>
35+
</element>
36+
</element>
37+
38+
<element name="torque" required="0">
39+
<description>These elements are specific to measurement-frame torque,
40+
which is expressed in Newton-meters</description>
41+
<element name="x" required="0">
42+
<description>Torque about the X axis</description>
43+
<include filename="noise.sdf" required="0"/>
44+
</element>
45+
<element name="y" required="0">
46+
<description>Force about the Y axis</description>
47+
<include filename="noise.sdf" required="0"/>
48+
</element>
49+
<element name="z" required="0">
50+
<description>Torque about the Z axis</description>
51+
<include filename="noise.sdf" required="0"/>
52+
</element>
53+
</element>
2054
</element>

0 commit comments

Comments
 (0)