Gazebo | Ignition | Community
Ask Your Question
0

[quick question] what is color descption and <format> in SDF?

asked 2013-07-04 15:09:02 -0600

gazer gravatar image

updated 2013-07-04 15:10:18 -0600

hi

I have quesiton about the <format> tap. The <format> tap is under:

<sensor> 
     <image>
            <format>

According to Gazebo Sdf documentation

 Description of <format> :

(L8|R8G8B8|B8G8R8|BAYER_RGGB8|BAYER_BGGR8|BAYER_GBRG8|BAYER_GRBG8)
Required: 0    Type: string    Default: R8G8B8

If I want the color to be only black or white, which format should I choose?

Thank you all

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2013-07-10 18:26:21 -0600

iche033 gravatar image

try L8 for grayscale images

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-07-04 15:09:02 -0600

Seen: 5,861 times

Last updated: Jul 10 '13