Skip to content

Added ToElement conversion for Collision, Surface, and Visual#777

Merged
nkoenig merged 2 commits intosdf12from
collision_visual_toelement
Dec 9, 2021
Merged

Added ToElement conversion for Collision, Surface, and Visual#777
nkoenig merged 2 commits intosdf12from
collision_visual_toelement

Conversation

@nkoenig
Copy link
Copy Markdown
Contributor

@nkoenig nkoenig commented Dec 8, 2021

Signed-off-by: Nate Koenig nate@openrobotics.org

🎉 New feature

Summary

Add ToElement conversion function for Collision, Contact, Surface, and Visual. There are a lot of fields for Surface and Contact that are currently not parsed, I'm leaving this as future work.

Test it

Run the tests.

Checklist

  • Signed all commits for DCO
  • Added tests
  • Updated documentation (as needed)
  • codecheck passed (See contributing)
  • All tests passed (See test coverage)
  • While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge

Signed-off-by: Nate Koenig <nate@openrobotics.org>
@github-actions github-actions bot added 🌱 garden Ignition Garden 🏯 fortress Ignition Fortress labels Dec 8, 2021
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Dec 8, 2021

Codecov Report

Merging #777 (0899ae7) into sdf12 (b28967c) will increase coverage by 0.07%.
The diff coverage is 88.88%.

❗ Current head 0899ae7 differs from pull request most recent head 6bb0c0a. Consider uploading reports for the commit 6bb0c0a to get more accurate results
Impacted file tree graph

@@            Coverage Diff             @@
##            sdf12     #777      +/-   ##
==========================================
+ Coverage   89.33%   89.40%   +0.07%     
==========================================
  Files          76       76              
  Lines       12290    12326      +36     
==========================================
+ Hits        10979    11020      +41     
+ Misses       1311     1306       -5     
Impacted Files Coverage Δ
src/Collision.cc 97.14% <83.33%> (-2.86%) ⬇️
src/Visual.cc 98.23% <88.23%> (+1.35%) ⬆️
src/Surface.cc 84.90% <100.00%> (+2.29%) ⬆️
src/Material.cc 95.16% <0.00%> (+1.44%) ⬆️
src/Geometry.cc 100.00% <0.00%> (+2.27%) ⬆️

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 b28967c...6bb0c0a. Read the comment docs.

Co-authored-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
@nkoenig nkoenig requested a review from ahcorde December 9, 2021 18:35
@nkoenig nkoenig merged commit e8a73e4 into sdf12 Dec 9, 2021
@nkoenig nkoenig deleted the collision_visual_toelement branch December 9, 2021 20:08
@osrf-triage
Copy link
Copy Markdown

This pull request has been mentioned on Gazebo Community. There might be relevant details there:

https://community.gazebosim.org/t/new-ignition-releases-2022-04-13-fortress-edifice/1367/1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🏯 fortress Ignition Fortress 🌱 garden Ignition Garden

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants