Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge 10 -> 11 #752

Merged
merged 35 commits into from
Nov 16, 2021
Merged

Merge 10 -> 11 #752

merged 35 commits into from
Nov 16, 2021

Conversation

scpeters
Copy link
Member

➡️ Forward port

Port sdf10 to sdf11

I resolved some conflicts and made 3 additional changes in this merge:

  • ceea6a5: fix some expectations in the IncludeFrameWithSubmodel test to account for changed support for nested models in libsdformat11
  • 9cecc75: remove the outdated IncludeFlatteningNames test from Fix flattening logic for nested model names (sdf6) #597 since names are no longer flattened. I also removed the associated model since it was not used anywhere else.
  • db26a60: copy changes from sdf/1.7/forcetorque.sdf to sdf/1.8/forcetorque.sdf

Branch comparison: sdf11...sdf10

Note to maintainers: Remember to Merge with commit (not squash-merge or rebase)

chapulina and others added 30 commits April 21, 2020 19:18
* [sdf6] Changelog links to BitBucket backup

Signed-off-by: Louise Poubel <[email protected]>

* more fixes, new version of script

Signed-off-by: Louise Poubel <[email protected]>
* [sdf4] Update BitBucket links

Signed-off-by: Louise Poubel <[email protected]>

* fix a few more links

Signed-off-by: Steven Peters <[email protected]>

Co-authored-by: Steven Peters <[email protected]>

Co-authored-by: chapulina <[email protected]>
Patch popen/pclose method for Windows
Backport sdf6: Move recursiveSameTypeUniqueNames from ign.cc to parser.cc
* Prepare version 6.3.0

* Add entry in Changelog for 497
* Fix flattening logic for composed names in nested models

When nested models use names composed by several elements
(i.e: my_model::link) these were not converted by the
flattening logic inside parser.cc. The change makes the
logic to work with composed names.

Added a test to check that this is indeed working as
expected.

Signed-off-by: Jose Luis Rivero <[email protected]>
)

Translate poses of nested models inside other nested models

When addNestedModel function is called, it processes links and joints
to translate the pose accordingly to parent pose. This was not done
for nested models inside the SDF being processed. The change includes 
nested models in the same way that is doing for links and add a test that 
fails without the change.

Signed-off-by: Jose Luis Rivero <[email protected]>
Co-authored-by: Addisu Z. Taddese <[email protected]>
* Prepare version 6.3.1
* Implement github actions for sdf6 branch

Signed-off-by: Steve Peters <[email protected]>
Signed-off-by: Jose Luis Rivero <[email protected]>
Signed-off-by: Steven Peters <[email protected]>
* parse rpyOffset as radians

Signed-off-by: Ian Chen <[email protected]>

* update tf for xyz and rpy offsets

Signed-off-by: Ian Chen <[email protected]>

* remove inverse transform function in urdf parser

Signed-off-by: Ian Chen <[email protected]>

* inject corrected_offets tag

Signed-off-by: Ian Chen <[email protected]>

* Fix tag removal logic

Signed-off-by: Steven Peters <[email protected]>

Co-authored-by: Alejandro Hernández Cordero <[email protected]>
Co-authored-by: Steve Peters <[email protected]>
Signed-off-by: Steve Peters <[email protected]>
Adds sdf::testing::SourceFile, sdf::testing::TestFile, sdf::testing::env, and sdf::testing::setenv and updates tests to use them. This makes it easier to backport other changes from newer branches.

Signed-off-by: Addisu Z. Taddese <[email protected]>
…ame uniqueness (#733)

* Backport test utilities from sdf10
* Backport Console redirect functionality
* Make exception for plugins when checking for name uniqueness (#721)
* Replace unavailable error printing API

Signed-off-by: Addisu Z. Taddese <[email protected]>
Signed-off-by: Nick Lamprianidis <[email protected]>
Co-authored-by: Steve Peters <[email protected]>
* Add Joint DOM API to access joint sensors

Signed-off-by: Addisu Z. Taddese <[email protected]>

* Add missing file

Signed-off-by: Addisu Z. Taddese <[email protected]>

* modified Joint::SensorNameExists

Signed-off-by: Jenn Nguyen <[email protected]>

Co-authored-by: Jenn Nguyen <[email protected]>
* Added Force Torque Noise functions + Unit tests

Signed-off-by: Devansh <[email protected]>
Co-authored-by: Michael Carroll <[email protected]>
Co-authored-by: Steve Peters <[email protected]>
Signed-off-by: Louise Poubel <[email protected]>
* Prepare for v9.7.0

Signed-off-by: Carlos Agüero <[email protected]>
Signed-off-by: Steve Peters <[email protected]>
Signed-off-by: Steve Peters <[email protected]>
There is special handling in the parser_urdf code to
update plugin fields when links are merged together
during fixed joint reduction. A test for this was
added to sdf6 in #500. A portion of this test is
applied directly to the sdf10 branch to illustrate
a problem with ReduceSDFExtensionPluginFrameReplace
in parser_urdf.cc.

The original migration to use tinyxml2 in #264 changed
the data structure used in SDFExtension to store
XMLDocuments instead of XMLPointers, which requires
an extra call to FirstChildElement, but the
ReduceSDFExtension*FrameReplace functions did not
receive this update. The fix here refactors the function
arguments to pass the first child element directly,
which simplifies the helper function implementation.

Signed-off-by: Steve Peters <[email protected]>
chapulina and others added 5 commits November 12, 2021 09:57
Signed-off-by: Louise Poubel <[email protected]>
The IncludeFlatteningNames test added in #597 is no longer
relevant because nested model names are no longer flattened.
The model used by the test is removed as well since it is
not used elsewhere.

Signed-off-by: Steve Peters <[email protected]>
@github-actions github-actions bot added the 🏢 edifice Ignition Edifice label Nov 13, 2021
@scpeters scpeters merged commit a32ff42 into sdf11 Nov 16, 2021
@scpeters scpeters deleted the merge_10_11 branch November 16, 2021 18:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏢 edifice Ignition Edifice
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants