-
Notifications
You must be signed in to change notification settings - Fork 100
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 <[email protected]>
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 <[email protected]>
thanks for making the change for |
Signed-off-by: Steve Peters <[email protected]>
* Add L16 pixel format to Camera pixel format conversion function (#487) Signed-off-by: Ian Chen <[email protected]> Co-authored-by: Ashton Larkin <[email protected]> Co-authored-by: Steve Peters <[email protected]> * 🎈 10.3.0 (#498) Signed-off-by: Louise Poubel <[email protected]> Signed-off-by: Ian Chen <[email protected]> Co-authored-by: Ian Chen <[email protected]> Co-authored-by: Ian Chen <[email protected]> Co-authored-by: Ashton Larkin <[email protected]> Co-authored-by: Steve Peters <[email protected]>
@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 <[email protected]> Signed-off-by: Steve Peters <[email protected]>
* 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 <[email protected]> * sdf 1.8: Decrease far clip lower bound from #435 Signed-off-by: Nate Koenig <[email protected]> * sdf 1.8: Added render_order to material from #446 Signed-off-by: ahcorde <[email protected]> * 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 <[email protected]> * sdf 1.8: support nested models in @attached_to from #316 Signed-off-by: Steve Peters <[email protected]>
…bosim#487) Signed-off-by: Ian Chen <[email protected]> Co-authored-by: Ashton Larkin <[email protected]> Co-authored-by: Steve Peters <[email protected]>
Signed-off-by: Ian Chen <[email protected]> Co-authored-by: Ashton Larkin <[email protected]> Co-authored-by: Steve Peters <[email protected]>
So we can convert
<camera><image><format>
string toPixelFormatType
when parsing sdf.Signed-off-by: Ian Chen [email protected]