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

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

Merged
merged 2 commits into from Dec 9, 2021

Conversation

nkoenig
Copy link
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>
@osrf-triage osrf-triage added this to Inbox in Core development Dec 8, 2021
@github-actions github-actions bot added 🌱 garden Ignition Garden 🏯 fortress Ignition Fortress labels Dec 8, 2021
@codecov-commenter
Copy link

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.

@chapulina chapulina moved this from Inbox to In review in Core development Dec 9, 2021
src/Visual_TEST.cc Outdated Show resolved Hide resolved
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
Core development automation moved this from In review to Done Dec 9, 2021
@nkoenig nkoenig deleted the collision_visual_toelement branch December 9, 2021 20:08
@osrf-triage
Copy link

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

@j-rivero j-rivero removed this from Done in Core development May 6, 2022
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.

None yet

5 participants