Closed dsriaditya999 closed 2 years ago
Hello,
The following error is indeed a result of ign-sensors
(camera sensor) requiring X display.
[Err] [Ogre2RenderEngine.cc:376] Unable to open display: terminate called after throwing an instance of 'Ogre::RenderingAPIException' what(): OGRE EXCEPTION(3:RenderingAPIException): Couldn`t open X display in GLXGLSupport::getGLDisplay at /home/jenkins/workspace/ogre-2.2-debbuilder/repo/RenderSystems/GL3Plus/src/windowing/GLX/OgreGLXGLSupport.cpp (line 796) Received interrupt signal SIGABRT
I have not yet used Ignition Gazebo in a fully headless more, so I unfortunately cannot give you an exact solution. However, there should be support for headless simulation using EGL in Ignition fortress
. Therefore, it should be possible and "straightforward" to enable a fully headless training. Please, consider taking a look at the documentation to see if you find a tutorial on how to enable it. Otherwise, there might be some relevant information in Gazebo community and/or answers, e.g. https://community.gazebosim.org/t/running-ignition-gazebo-headless-in-docker-container/1093, https://answers.gazebosim.org/question/27676/running-ignition-fortress-headless-in-docker-environment-for-continous-integration-using-rostest.
In order to resolve selected interface "lo" is not multicast-capable: disabling multicast
, you need to enable multicast on your loopback (lo
) network interface. For that, you could use ifconfig lo multicast
.
On a side-note:
Using docker
is currently recommended as I have not tested whether this project at version 1.1.0
still works with the latest releases of Ignition fortress
. ROS rolling
(and rolling
packages) are most likely not compatible anymore, so I would recommend to use foxy
/galactic
if you ever want to install 1.1.0
from source.
Although training on Kinova j2s7s300
should be functional and provide some decent success rate, the robot is not yet fully configured and tested as of 1.1.0
.
Thankyou so much for responding quickly. I will try to look into your suggestions and run it in a headless manner. I will post here in case I need little support.
Also as you have pointed out I tried a local installation using ROS rolling
and I was not able to do it (facing errors). So I am currently using docker
only. I will try using ROS galactic
/foxy
instead, as you suggested.
Yeah, rolling
will not work. However, there is a chance that foxy
/galactic
will have some issues as well. Apologies for the inconvenience.
I am hoping that I will have the opportunity to update/refactor this repository in a couple of months with a working 2.0.0
release.
Hi,
I was trying to train my agent with the kinova robotic arm and sac algorithm using the
ex_train.bash
script. But I get the following error. Can you please look into this @AndrejOrsula ?( I actually wanted to train on a GPU Server (Nvidia V100 GPU Card) without graphical elements )The error I am getting is as follows :