Hi again,
the NRP is now installed, but when loading an experiment, when I press the “play” button, Gazebo “dies unexpectedly”. The first error message apparing in the terminal of the backend happens around these lines (for the full terminal output, I pasted it here: https://justpaste.it/1b4cn):
[ INFO] [1505122858.109855543, 0.021000000]: waitForService: Service [/gazebo/set_physics_properties] is now available.
[ INFO] [1505122858.170543056, 0.026000000]: Physics dynamic reconfigure ready.
gzserver: /build/ogre-1.9-mqY1wq/ogre-1.9-1.9.0+dfsg1/OgreMain/src/OgreRenderSystem.cpp:546: virtual void Ogre::RenderSystem::setDepthBufferFor(Ogre::RenderTarget*): Assertion `bAttached && “A new DepthBuffer for a RenderTarget was created, but after creation” “it says it’s incompatible with that RT”’ failed.
2017-09-11 11:40:58,328 [Thread-12 ] [hbp_nrp_cle.] [ERROR] Error retrieving service result
2017-09-11 11:40:58,329 [Thread-46 ] [hbp_nrp_cles] [ERROR] Error in CLE (General Error): transport error completing service call: unable to receive data from sender, check sender’s logs for details
Traceback (most recent call last):
File “/home/alban/Documents/NRP/ExDBackend/hbp_nrp_cleserver/hbp_nrp_cleserver/server/SimulationServerLifecycle.py”, line 78, in __simulation
self.__cle.start()
File “/home/alban/Documents/NRP/CLE/hbp_nrp_cle/hbp_nrp_cle/cle/ClosedLoopEngine.py”, line 244, in start
self.run_step(self.timestep)
File “/home/alban/Documents/NRP/CLE/hbp_nrp_cle/hbp_nrp_cle/cle/ClosedLoopEngine.py”, line 215, in run_step
self.rca_future.result()
File “/home/alban/.opt/platform_venv/lib/python2.7/site-packages/concurrent/futures/_base.py”, line 403, in result
return self.__get_result()
File “/home/alban/Documents/NRP/CLE/hbp_nrp_cle/hbp_nrp_cle/robotsim/AsynchronousServiceProxy.py”, line 171, in __retrieve_results_async
“transport error completing service call: %s” % (str(e)))
ServiceException: transport error completing service call: unable to receive data from sender, check sender’s logs for details
2017-09-11 11:40:58,367 [Thread-46 ] [transitions.] [INFO] Initiating transition from state started to state halted…
2017-09-11 11:40:58,367 [Thread-46 ] [transitions.] [INFO] Exited state started
2017-09-11 11:40:58,367 [Thread-46 ] [transitions.] [INFO] Entered state halted
2017-09-11 11:40:58,383 [/joint_state] [rospy.intern] [WARNING] Unknown error initiating TCP/IP socket to 127.0.0.1:53007 (http://127.0.0.1:40795/): Traceback (most recent call last):
File “/opt/ros/kinetic/lib/python2.7/dist-packages/rospy/impl/tcpros_base.py”, line 555, in connect
self.socket.connect((dest_addr, dest_port))
File “/usr/lib/python2.7/socket.py”, line 228, in meth
return getattr(self._sock,name)(*args)
error: [Errno 111] Connection refused
So for what I have understood, Gazebo crashes, because a depth buffer is not compatible with the render target. I am not sure what to do…
Edit: the experiment is the normal Husky Braitenberg Experiment ; my version of Ubuntu is 16.04 ; I used Google Chrome.
Again, thanks a lot if you can give me some help!
All the best,
Alban