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

Fix codecheck #887

Merged
merged 1 commit into from
Jun 25, 2021
Merged

Fix codecheck #887

merged 1 commit into from
Jun 25, 2021

Conversation

nkoenig
Copy link
Contributor

@nkoenig nkoenig commented Jun 25, 2021

Signed-off-by: Nate Koenig [email protected]

🦟 Bug fix

Summary

I had a custom sensor plugin that did not register a remove sensor callback, which ended up causing a segfault in RenderUtils.cc. Problem is solved by checking the callback function before calling it.

I fixed codecheck warnings for good measure.

Checklist

  • Signed all commits for DCO
  • Added tests
  • Updated documentation (as needed)
  • Updated migration guide (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 <[email protected]>
@github-actions github-actions bot added the 🔮 dome Ignition Dome label Jun 25, 2021
@codecov
Copy link

codecov bot commented Jun 25, 2021

Codecov Report

Merging #887 (fd9ca26) into ign-gazebo4 (f6a1a84) will decrease coverage by 0.00%.
The diff coverage is 33.33%.

Impacted file tree graph

@@               Coverage Diff               @@
##           ign-gazebo4     #887      +/-   ##
===============================================
- Coverage        65.98%   65.97%   -0.01%     
===============================================
  Files              239      239              
  Lines            17657    17657              
===============================================
- Hits             11651    11650       -1     
- Misses            6006     6007       +1     
Impacted Files Coverage Δ
src/rendering/RenderUtil.cc 42.08% <0.00%> (-0.05%) ⬇️
src/systems/diff_drive/DiffDrive.cc 86.57% <100.00%> (-0.07%) ⬇️

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 1a7c606...fd9ca26. Read the comment docs.

@nkoenig nkoenig merged commit 5d2c076 into ign-gazebo4 Jun 25, 2021
@nkoenig nkoenig deleted the check_remove_cb branch June 25, 2021 17:03
chapulina pushed a commit that referenced this pull request Jul 23, 2021
Signed-off-by: Nate Koenig <[email protected]>

Co-authored-by: Nate Koenig <[email protected]>
chapulina pushed a commit that referenced this pull request Jul 23, 2021
Signed-off-by: Nate Koenig <[email protected]>

Co-authored-by: Nate Koenig <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔮 dome Ignition Dome
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants