Gazebo | Ignition | Community
Ask Your Question

jdekarske's profile - activity

2022-07-05 16:59:21 -0500 received badge  Student (source)
2022-05-23 19:51:20 -0500 marked best answer Can you render a camera in headless mode?

(version 9.18.0)

I'm trying to run a simulation in a Docker container in which the output of a camera (libgazebo_ros_camera) can be accessed externally. Everything works fine when my display is mounted to the container.

I receive this if I do not mount my display.

[Err] [RenderEngine.cc:742] Can't open display: 
[Wrn] [RenderEngine.cc:88] Unable to create X window. Rendering will be disabled
[Wrn] [RenderEngine.cc:291] Cannot initialize render engine since render path type is NONE. Ignore this warning ifrendering has been turned off on purpose.

This page is pretty clear that cameras won't render in headless mode. So, this may be a dumb question, but I vaguely remember accomplishing this before.

Any other ideas would be great!

2022-05-23 19:51:20 -0500 received badge  Scholar (source)
2022-05-23 19:51:07 -0500 answered a question Can you render a camera in headless mode?

Figured it out nearly a year later :) I needed to use a dummy xserver to convince gazebo that there was a display to re

2022-01-07 06:05:37 -0500 received badge  Notable Question (source)
2022-01-07 06:05:37 -0500 received badge  Famous Question (source)
2021-06-15 07:15:28 -0500 received badge  Popular Question (source)
2021-06-14 16:46:40 -0500 received badge  Teacher (source)
2021-06-08 01:19:07 -0500 answered a question How do I install gazebo-9.16.0.tar.bz2 inside a docker container?

I think I've done what you are trying to do here. RUN sh -c 'echo "deb http://packages.osrfoundation.org/gazebo/ubuntu-

2021-06-08 01:12:53 -0500 asked a question Can you render a camera in headless mode?

Can you render a camera in headless mode? (version 9.18.0) I'm trying to run a simulation in a Docker container in whic

2021-01-21 07:39:53 -0500 commented answer Passing parameters to included SDF

I think this is the fixed link