Gazebo | Ignition | Community
Ask Your Question

Kcj's profile - activity

2020-11-27 01:12:05 -0500 received badge  Taxonomist
2017-04-04 09:39:37 -0500 received badge  Famous Question (source)
2015-12-16 16:13:27 -0500 received badge  Notable Question (source)
2015-08-20 08:40:58 -0500 received badge  Popular Question (source)
2015-04-22 18:02:38 -0500 commented question libgazebo_ros_camera cannot visualize/see my robot properly, but captures the world fine? (Robot is drawn behind the environment)

I have tried adding both a new environment model (willow garage) and the camera from the gazebo model library, and the same thing is happening. Any object I place between the camera and the environment cannot be seen, unless I move it above/out of the way of the environment model.

2015-04-22 17:01:12 -0500 asked a question libgazebo_ros_camera cannot visualize/see my robot properly, but captures the world fine? (Robot is drawn behind the environment)

Hello

I have a problem with a camera I have added to a gazebo world that cannot see my robot because the robot is rendered behind my world, see added images. The world and robot I use are documented here.

In my urdf file for the world I use (see pastebin for camera section), I have added a camera as described in the tutorial for gazebo/ros plugin. I can get my world to spawn the camera (simple box) and see the image with imageview. However, in the camera view the robot is for some reason visualized BEHIND the objects that spawned with the world.

These two screenshots show the gazebo gui visualizing the robot / environment correctly, but the imageview of the camera (the camera can be seen in the seen as the small white box over the kitchen) draws it incorrectly. It is being drawn behind the walls of the environment, but the shadow is in the correct place.

When I move the robot up into the air, the robot can be seen over the top of the wall, but the shadow is still at the same place (because that's where the robot actually is).

Anyone got any idea about the problem / what I am doing wrong?