Gazebo | Ignition | Community
Ask Your Question

Has anyone run a camera sensor with L_INT16 format without an error?

asked 2022-09-26 13:26:36 -0600

bperseghetti gravatar image

I'm trying to create a 16bit mono image to match the output of a real world sensor. Ex:

  <sensor name="gray_image" type="camera">
    <pose>0 0 0 0 0 0</pose>

It correctly matches the enumeration type for L_INT16 (second entry) but seems to not to be able to "convert/support" it and defaults to RGB_INT8: image description

Not sure really where the issue might be coming from as it does appear to be a supported image type used in the thermal cam by default and recognizes the type:

So I'm perplexed why it might be throwing the error of:

[Err] [] Unsupported pixel format [2]

and was curious if this is regression or just not complete implementation yet. I don't mind "fixing it" and creating a PR if someone has a better Idea where/why it might be failing.

Here are the open issues:

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2022-09-28 13:46:44 -0600

azeey gravatar image
edit flag offensive delete link more

Question Tools

1 follower


Asked: 2022-09-26 13:26:36 -0600

Seen: 82 times

Last updated: Sep 26 '22