-
Notifications
You must be signed in to change notification settings - Fork 95
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 L16 pixel format to Camera pixel format conversion function #487
Conversation
Signed-off-by: Ian Chen <ichen@osrfoundation.org>
Codecov Report
@@ Coverage Diff @@
## sdf10 #487 +/- ##
==========================================
- Coverage 87.78% 87.76% -0.02%
==========================================
Files 62 62
Lines 9577 9579 +2
==========================================
Hits 8407 8407
- Misses 1170 1172 +2
Continue to review full report at Codecov.
|
Do we need to update the SDFormat specification to include this addition? Looking at the website, it shows that the options for |
that documentation comes from: https://github.com/osrf/sdformat/blob/sdformat10_10.2.0/sdf/1.7/camera.sdf#L21 |
here's the full list in the enum for reference: https://github.com/osrf/sdformat/blob/sdformat10_10.2.0/include/sdf/Camera.hh#L39-L60 should we add |
I think these would be good to add, unless anyone else has a reason against it (I'm not too familiar with the |
Signed-off-by: Ashton Larkin <ashton@openrobotics.org>
thanks for making the change for |
Signed-off-by: Steve Peters <scpeters@openrobotics.org>
* Add L16 pixel format to Camera pixel format conversion function (#487) Signed-off-by: Ian Chen <ichen@osrfoundation.org> Co-authored-by: Ashton Larkin <ashton@openrobotics.org> Co-authored-by: Steve Peters <scpeters@openrobotics.org> * 🎈 10.3.0 (#498) Signed-off-by: Louise Poubel <louise@openrobotics.org> Signed-off-by: Ian Chen <ichen@osrfoundation.org> Co-authored-by: Ian Chen <ichen@osrfoundation.org> Co-authored-by: Ian Chen <ichen@osrfoundation.org> Co-authored-by: Ashton Larkin <ashton@openrobotics.org> Co-authored-by: Steve Peters <scpeters@openrobotics.org>
@adlarkin The online docs at http://sdformat.org/spec?ver=1.7&elem=sensor#image_format still aren't updated. Is some manual intervention needed to update them? |
Yup, I think @azeey has been triggering those. |
The online docs have been updated. |
* added to sdf 1.7 in gazebosim#487 Signed-off-by: Ian Chen <ichen@osrfoundation.org> Signed-off-by: Steve Peters <scpeters@openrobotics.org>
* sdf 1.8: Add <double_sided> to material from #410 * sdf 1.8: Add lightmap to 1.8 spec from #429 * sdf 1.8: document Add L16 camera pixel format from #487 Signed-off-by: Ian Chen <ichen@osrfoundation.org> * sdf 1.8: Decrease far clip lower bound from #435 Signed-off-by: Nate Koenig <nate@openrobotics.org> * sdf 1.8: Added render_order to material from #446 Signed-off-by: ahcorde <ahcorde@gmail.com> * sdf 1.8: Add camera type aliases to docs. from #514 * sdf 1.8: Improve docs of collision_bitmask from #521 Signed-off-by: Martin Pecka <peckama2@fel.cvut.cz> * sdf 1.8: support nested models in @attached_to from #316 Signed-off-by: Steve Peters <scpeters@openrobotics.org>
…bosim#487) Signed-off-by: Ian Chen <ichen@osrfoundation.org> Co-authored-by: Ashton Larkin <ashton@openrobotics.org> Co-authored-by: Steve Peters <scpeters@openrobotics.org>
Signed-off-by: Ian Chen <ichen@osrfoundation.org> Co-authored-by: Ashton Larkin <ashton@openrobotics.org> Co-authored-by: Steve Peters <scpeters@openrobotics.org>
So we can convert
<camera><image><format>
string toPixelFormatType
when parsing sdf.Signed-off-by: Ian Chen ichen@osrfoundation.org