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

Add camera optical_frame_id element #1109

Merged
merged 4 commits into from
Aug 30, 2022
Merged

Conversation

MarqRazz
Copy link
Contributor

@MarqRazz MarqRazz commented Aug 11, 2022

🎉 New feature

This adds the ability to specify the optical frame_id that will be used when publishing the camera_info topic from a simulated sensor. This feature request was noted in CameraSensors.cc and will help close gazebosim/gz-sensors#175 in ign-sensors.

Summary

Adds optional sdf element optical_frame_id that the simulated camera can utilize. I will make a PR in ign-sensors to utilize the new element after this PR is merged.

Checklist

  • Signed all commits for DCO
  • Added tests
  • Added example and/or tutorial
  • 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.

@github-actions github-actions bot added the 🏯 fortress Ignition Fortress label Aug 11, 2022
Signed-off-by: marqrazz <marq.razz@gmail.com>
Signed-off-by: marqrazz <marq.razz@gmail.com>
@MarqRazz
Copy link
Contributor Author

Sorry about the force pushes, I'm not use to the DCO workflow.

@codecov
Copy link

codecov bot commented Aug 24, 2022

Codecov Report

Merging #1109 (2aa7210) into sdf12 (38f8bb0) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##            sdf12    #1109   +/-   ##
=======================================
  Coverage   91.66%   91.67%           
=======================================
  Files          80       80           
  Lines       13028    13039   +11     
=======================================
+ Hits        11942    11953   +11     
  Misses       1086     1086           
Impacted Files Coverage Δ
src/Camera.cc 88.05% <100.00%> (+0.27%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@MarqRazz
Copy link
Contributor Author

Just checking in to see if there is anything I can help with here. I would like to get this merged soon if possible, I have a project that depends on the work and would like to get this into the next release.

@ahcorde ahcorde merged commit 2bdad1b into gazebosim:sdf12 Aug 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏯 fortress Ignition Fortress
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

RGBD sensor documentation is unclear/undefined
2 participants