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

11 ➡️ 12 Forward port #627

Merged
merged 18 commits into from
Jul 17, 2021
Merged

11 ➡️ 12 Forward port #627

merged 18 commits into from
Jul 17, 2021

Conversation

scpeters
Copy link
Member

11 ➡️ 12 Forward port

Port sdf11 to main

Branch comparison: main...sdf11

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

Marco A. Gutiérrez and others added 18 commits June 17, 2021 13:37
gazebosim#575)

Now PrintValues() and ToString() will not output the elements that were added by default during parsing. There's also the option to call them with a boolean flag that will allow the caller to decide weather they want defaults in the output or not.

Signed-off-by: Marco A. Gutierrez <[email protected]>

Co-authored-by: Addisu Z. Taddese <[email protected]>
* check for <experimental:params> & test

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

* defined xml namespace

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

* Param passing prototype: Retrieve specified element (gazebosim#427)

* retrieve element by identifier under <experimental:params>

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

* Moved updateParams before addNestedModel (gazebosim#464)

* retrieve element for add action & added tests

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

* replaced name with element_id

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

* moved updateParams before addNestedModel

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

* found chars using rfind

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

* added error when element_id missing name after ::

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

* updated find w/ startIdx

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

Co-authored-by: Addisu Z. Taddese <[email protected]>

* Param passing prototype: Add action (gazebosim#546)

* tinyxml2 to string helper

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

* add action

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

* fixed codecheck errors

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

* changed parser_private functions to nonstatic

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

* removed specification check

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

* add action requires 'name' attribute in spec

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

* fixed nested include test

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

* removed unused param

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

* check name attr nonempty

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

* storing attribute to variable

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

* Param passing prototype: Remove action (gazebosim#563)

* tinyxml2 to string helper

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

* add action

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

* fixed codecheck errors

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

* changed parser_private functions to nonstatic

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

* removed specification check

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

* remove action

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

* add action requires 'name' attribute in spec

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

* fixed nested include test

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

* removed unused param

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

* check name attr nonempty

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

* Param passing prototype: Replace action (gazebosim#566)

* tinyxml2 to string helper

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

* add action

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

* fixed codecheck errors

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

* changed parser_private functions to nonstatic

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

* removed specification check

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

* remove action

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

* add action requires 'name' attribute in spec

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

* fixed nested include test

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

* removed unused param

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

* check name attr nonempty

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

* replace action

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

* renamed init element description function

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

* added ParamPassing namespace

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

* updated add for plugins

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

* Param passing prototype: Modify action (gazebosim#577)

* tinyxml2 to string helper

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

* add action

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

* fixed codecheck errors

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

* changed parser_private functions to nonstatic

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

* removed specification check

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

* remove action

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

* add action requires 'name' attribute in spec

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

* fixed nested include test

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

* removed unused param

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

* check name attr nonempty

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

* replace action

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

* modify action

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

* code cleanup

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

* added nested model test

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

* readXml wrapper

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

* SDFPtr to ElementPtr

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

* updated test paths

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

* removed nested links

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

* fixed add & modify bugs

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

Co-authored-by: Addisu Z. Taddese <[email protected]>
Co-authored-by: Ian Chen <[email protected]>
This moves the recently added data member `explicitlySetInFile` to the
end of the `ElementPrivate` class

Signed-off-by: Addisu Z. Taddese <[email protected]>
Signed-off-by: Louise Poubel <[email protected]>
The graph data is private, so expose methods for
checking that the graphs are valid.

* Add tests showing graph errors

Load an sdf::World or sdf::Model instead of an sdf::Root to
see the graph errors.

Signed-off-by: Steve Peters <[email protected]>
The graph data is private, so expose methods for
checking that the graphs are valid.

* Add tests showing graph errors

Load an sdf::World or sdf::Model instead of an sdf::Root to
see the graph errors.

Signed-off-by: Steve Peters <[email protected]>
* Prepare for 11.2.2

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

Co-authored-by: Steve Peters <[email protected]>
* Error: move << operator from .hh to .cc file

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

* Fix visibility

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

Co-authored-by: Addisu Z. Taddese <[email protected]>
Signed-off-by: Jenn Nguyen <[email protected]>
@scpeters scpeters requested review from azeey and chapulina July 17, 2021 01:01
@github-actions github-actions bot added the 🏯 fortress Ignition Fortress label Jul 17, 2021
@codecov-commenter
Copy link

Codecov Report

Merging #627 (199c529) into main (218a6f7) will increase coverage by 0.31%.
The diff coverage is 97.07%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #627      +/-   ##
==========================================
+ Coverage   87.57%   87.89%   +0.31%     
==========================================
  Files          72       72              
  Lines       10497    10837     +340     
==========================================
+ Hits         9193     9525     +332     
- Misses       1304     1312       +8     
Impacted Files Coverage Δ
include/sdf/Element.hh 100.00% <ø> (ø)
src/Element.cc 96.73% <90.62%> (-0.92%) ⬇️
src/ParamPassing.cc 97.41% <97.41%> (ø)
src/Error.cc 100.00% <100.00%> (ø)
src/FrameSemantics.cc 73.87% <100.00%> (+0.15%) ⬆️
src/Model.cc 89.41% <100.00%> (+0.18%) ⬆️
src/World.cc 96.18% <100.00%> (+0.08%) ⬆️
src/parser.cc 84.74% <100.00%> (+0.42%) ⬆️
... and 1 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 218a6f7...199c529. Read the comment docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏯 fortress Ignition Fortress
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants