gazebosim / gazebo-classic

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

camera sensor issue with road tag #2277

Open osrf-migration opened 7 years ago

osrf-migration commented 7 years ago

Original report (archived issue) by vijay (Bitbucket: 143mey).

The original report had attachments: issue_camera_roadtag.png


While laying road using "" tag first road tag element was only visible in gazebo camera topic visualization and also in rviz ,Succeeding road tag element are not visible in visualization window (ie. i tried laying lanes above roads using road tag,lanes was not visible). I tried loading the camera through world file and through GUI .same issue in both version 7 & 8.

osrf-migration commented 7 years ago

Original comment by vijay (Bitbucket: 143mey).


RohanDwivedi commented 4 years ago

Hey, is this issue still being worked on? I am using the sphinx simulator for my project that uses gazebo 7 to load the world for it. I am experiencing exactly the same issue. Is there a temporary workaround. It is halting progress on my project. Screenshot from 2020-06-20 09-13-44

update: Maybe it helps In fixing the bug, I found out a workaround: if I create a model with road material applied on it and make it static by including 1 in the model sdf file and lay the model under the road, the camera passes through but is able to see the model. For some reason every road after the first one defined in '.world' is see through, that is any object put under it is visible.

chapulina commented 4 years ago

Hey, is this issue still being worked on?

No one is working on this issue as far as I know.

a temporary workaround

It's inconvenient, but you could use boxes with road textures.

iche033 commented 4 years ago

the issue should be fixed in gazebo9: https://osrf-migration.github.io/gazebo-gh-pages/#!/osrf/gazebo/pull-requests/3182/page/1

you try gazebo9 or backport the fix to gazebo7

HighPriest commented 4 years ago

Is your fix also related with #2561 @iche033 ?

iche033 commented 4 years ago

the fix was about making roads appear in camera sensors. Not sure if it's related as I haven't checked against lidar visualizations in gzclient.