gazebosim / gazebo-classic

Gazebo classic. For the latest version, see https://github.com/gazebosim/gz-sim
http://classic.gazebosim.org/
Other
1.17k stars 477 forks source link

Camera sensor in L8 format generates corrupted images #2404

Open osrf-migration opened 6 years ago

osrf-migration commented 6 years ago

Original report (archived issue) by Pedro Suárez (Bitbucket: pedroscasal).

The original report had attachments: camera_l8first_test.world, camera_l8last_test.world


Camera sensors when configured with L8 format generate corrupted images, and they also affect the behavior of other cameras in the scene, as shown in the attached examples.

In the camera_l8first_test.world there are two cameras, the first one configured with the L8 format and the second one without specifying it. In that case, both cameras generate incorrect data.

The second example reverses the order of definition of the cams in the world file, and this causes the camera without format to behave properly, while the L8 is still wrong.

I also tested the examples with gazebo7, but in that version the examples work fine.

osrf-migration commented 6 years ago

Original comment by Pedro Suárez (Bitbucket: pedroscasal).


I attach a screenshot to show the effect observed with the L8 camera:

Spectacle.a10864.png

osrf-migration commented 6 years ago

Original comment by Ian Chen (Bitbucket: Ian Chen, GitHub: iche033).


it could be the an image viewer issue that's fixed in pull request #2813 (not yet released)