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

Reduce error to debug msg for mesh construction #531

Merged
merged 2 commits into from
Aug 23, 2023
Merged

Conversation

iche033
Copy link
Contributor

@iche033 iche033 commented Aug 22, 2023

🦟 Bug fix

Summary

Currently gazebo prints out error messages if the model has a mesh collision. The collision seems to be created fine but gz-physics still prints out an error msg:

[Err] [SDFFeatures.cc:843] The geometry element of collision [Rock01_Collider_62] couldn't be created

When you have lots of mesh collisions in the world like in the harmonic demo, the console is filled with red error msgs.

Taking a similar approach as in #452, this PR just downgrades the severity level from error to debug.

Checklist

  • Signed all commits for DCO
  • Added tests
  • Updated documentation (as needed)
  • Updated migration guide (as needed)
  • Consider updating Python bindings (if the library has them)
  • 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 and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

Signed-off-by: Ian Chen <[email protected]>
@github-actions github-actions bot added the 🎵 harmonic Gazebo Harmonic label Aug 22, 2023
@codecov
Copy link

codecov bot commented Aug 22, 2023

Codecov Report

Merging #531 (59e1429) into main (1a27018) will not change coverage.
The diff coverage is 0.00%.

❗ Current head 59e1429 differs from pull request most recent head 50140bb. Consider uploading reports for the commit 50140bb to get more accurate results

@@           Coverage Diff           @@
##             main     #531   +/-   ##
=======================================
  Coverage   77.15%   77.15%           
=======================================
  Files         139      139           
  Lines        7603     7603           
=======================================
  Hits         5866     5866           
  Misses       1737     1737           
Files Changed Coverage Δ
dartsim/src/SDFFeatures.cc 65.58% <0.00%> (ø)

@azeey
Copy link
Contributor

azeey commented Aug 22, 2023

This is related to #450.

@azeey azeey merged commit 23f7aff into main Aug 23, 2023
5 of 6 checks passed
@azeey azeey deleted the construct_sdf_mesh_error branch August 23, 2023 03:44
iche033 added a commit that referenced this pull request Dec 11, 2023
Signed-off-by: Ian Chen <[email protected]>
Co-authored-by: Alejandro Hernández Cordero <[email protected]>
ahcorde added a commit that referenced this pull request Dec 11, 2023
Signed-off-by: Ian Chen <[email protected]>
Co-authored-by: Alejandro Hernández Cordero <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🎵 harmonic Gazebo Harmonic
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants