[JdeRobot] Error with Gazebo

JoseMaria Cañas Plaza jmplaza at gsyc.es
Fri Mar 17 16:43:32 CET 2017


Arturo,

it seems that your Gazebo does not find the auxiliary resources at run
time. Did you run the post-installation instructions [1]? Could you
show the last lines of your .bashrc file? It should include something
like this, which configures environment variables so Gazebo can locate
those auxiliary resources:

------------------------------------------------------------
# JdeRobot resources
export GAZEBO_RESOURCE_PATH=$GAZEBO_RESOURCE_PATH:/usr/local/share/jderobot/gazebo/models:/usr/local/share/jderobot/gazebo/worlds
export GAZEBO_MODEL_PATH=$GAZEBO_MODEL_PATH:/usr/local/share/jderobot/gazebo/models
export GAZEBO_PLUGIN_PATH=$GAZEBO_PLUGIN_PATH:/usr/local/share/jderobot/gazebo/plugins/pioneer:/usr/local/share/jderobot/gazebo/plugins/nao:/usr/local/share/jderobot/gazebo/plugins/kinect:/usr/local/share/jderobot/gazebo/plugins/quadrotor:/usr/local/share/jderobot/gazebo/plugins/turtlebot:/usr/local/share/jderobot/gazebo/plugins/flyingkinect:/usr/local/share/jderobot/gazebo/plugins/car:/usr/local/share/jderobot/gazebo/plugins/f1
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/jderobot:/usr/local/share/jderobot/gazebo/plugins/pioneer:/usr/local/share/jderobot/gazebo/plugins/nao:/usr/local/share/jderobot/gazebo/plugins/kinect:/usr/local/share/jderobot/gazebo/plugins/quadrotor:/usr/local/share/jderobot/gazebo/plugins/turtlebot:/usr/local/share/jderobot/gazebo/plugins/flyingkinect:/usr/local/share/jderobot/gazebo/plugins/car:/usr/local/share/jderobot/gazebo/plugins/f1
--------------------------------------------------------------

Cheers,

JoseMaria
[1] http://jderobot.org/index.php/Manual-5#Installation_for_running_JdeRobot

On Fri, Mar 17, 2017 at 2:16 PM, Arturo Vélez <arturo92vd en gmail.com> wrote:
> I´ve just reinstalled Ubuntu 16.04 from zero, and I installed JdeRobot 5.5.
> The problem still.
>
> I am trying to open ArDrone.world as the example.
>
> 2017-03-13 19:17 GMT+01:00 Arturo Vélez <arturo92vd en gmail.com>:
>>
>> I am using 5.4.2 also, gazebo 7, no graphics acceleration. JdeRobot was
>> installed cleanly because i reinstalled completely the OS, and after
>> reinstalling OS, the next thing installed was JdeRobot (and all the
>> dependencies).
>>
>> Running Gazebo without GUI i get the attached. I check the system log and
>> i've found this, if it helps:
>> Mar 13 18:46:38 arturo-Compaq-Presario-CQ70-Notebook-PC kernel: [
>> 409.802567] gzserver[3486]: segfault at 40 ip 00007fa7b34f396b sp
>> 00007fa76a9fb9f0 error 4 in libgazebo_common.so.7.5.0[7fa7b344a000+101000]
>> Mar 13 18:47:52 arturo-Compaq-Presario-CQ70-Notebook-PC kernel: [
>> 484.305540] gzserver[3813]: segfault at 40 ip 00007fc58c1c996b sp
>> 00007fc5437fc9f0 error 4 in libgazebo_common.so.7.5.0[7fc58c120000+101000]
>>
>> Also, i am trying now, other worlds, and the error i get for most of them
>> is "[Err] [Node.cc:105] No namespace found", and in ardrone_turtlebot.world
>> in particular i get the error:
>>
>> "terminate called after throwing an instance of 'Ice::SocketException'
>>   what():  Network.cpp:2065: Ice::SocketException:
>> socket exception: Address already in use"
>>
>> I don't know if it can be related with the issue, but maybe Gazebo is bad
>> configure or installed...
>>
>> Thanks,
>> Arturo.
>>
>>
>>
>>
>>
>> 2017-03-13 11:29 GMT+01:00 JoseMaria Cañas Plaza <jmplaza en gsyc.es>:
>>>
>>> Hi Arturo,
>>>
>>> which release of JdeRobot are you working with? I'm using 5.4.2,
>>> cleanly installed from debian packages, and gazebo works fine with the
>>> same world you have launched....
>>>
>>> Do you have openGL (accelerated graphics) on your machine? Try to
>>> start Gazebo without GUI to see if the problem is related with
>>> graphics or not?:
>>> gzserver --verbose ardrone-turtlebot.world
>>>
>>> If you ask for help here, please put more information of the context.
>>> Otherwise you put things difficult for other people to help you.
>>>
>>> Cheers,
>>>
>>> JoseMaria
>>>
>>> On Thu, Mar 9, 2017 at 8:15 PM, Arturo Vélez <arturo92vd en gmail.com>
>>> wrote:
>>> > I get this when I open the world with --verbose:
>>> >
>>> > /gazebo/worlds$ gazebo --verbose ardrone-turtlebot.world
>>> > Gazebo multi-robot simulator, version 7.5.0
>>> > Copyright (C) 2012 Open Source Robotics Foundation.
>>> > Released under the Apache 2 License.
>>> > http://gazebosim.org
>>> >
>>> > [Msg] Waiting for master.
>>> > Gazebo multi-robot simulator, version 7.5.0
>>> > Copyright (C) 2012 Open Source Robotics Foundation.
>>> > Released under the Apache 2 License.
>>> > http://gazebosim.org
>>> >
>>> > [Msg] Waiting for master.
>>> > [Msg] Connected to gazebo master @ http://127.0.0.1:11345
>>> > [Msg] Publicized address: 192.168.1.10
>>> > [Msg] Connected to gazebo master @ http://127.0.0.1:11345
>>> > [Msg] Publicized address: 192.168.1.10
>>> > [Wrn] [GuiIface.cc:256] Couldn't locate specified .ini. Creating file
>>> > at
>>> > "/home/arturo/.gazebo/gui.ini"
>>> > [Wrn] [msgs.cc:1807] Conversion of sensor type[imu] not suppported.
>>> > Error [Element.hh:336] Unable to find value for key[self_collide]
>>> > QuadRotorSensors::QuadRotorSensors()
>>> > [0x7f422803c6d0]QuadrotorPlugin::QuadrotorPlugin()
>>> > [quadrotor] QuadrotorPlugin::Load()
>>> > [quadrotor] QuadrotorPlugin::InitializeIce()
>>> > [quadrotor]     config: quadrotorplugin2.cfg
>>> > [Info] loaded Ice.Config file:
>>> > /usr/local/share/jderobot/conf/quadrotorplugin2.cfg
>>> > [quadrotor]     create Ice plugin...
>>> > [quadrotor] QuadrotorPlugin::Init()
>>> > [quadrotor] Sensors of quadrotor
>>> > [quadrotor]     cam_sensor_ventral (id: 35)
>>> > [quadrotor]     cam_sensor_frontal (id: 36)
>>> > [quadrotor]     sonar (id: 37)
>>> > [quadrotor]     imu_sensor (id: 68)
>>> > [quadrotor]     boostrap quadrotor state as Landed (altitude=0.103209)
>>> > [Err] [Connection.cc:541] Connection[17] Closed during Read
>>> > [Err] [TransportIface.cc:374] Unable to read from master
>>> > [Err] [GLWidget.cc:856] Unable to connect to a running Gazebo master.
>>> >
>>> >
>>> >
>>> >
>>> > --
>>> > View this message in context:
>>> > http://jderobot-developer-list.2315034.n4.nabble.com/JdeRobot-Error-with-Gazebo-tp4643212p4643241.html
>>> > Sent from the Jderobot Developer List mailing list archive at
>>> > Nabble.com.
>>> > _______________________________________________
>>> > Jde-developers mailing list
>>> > Jde-developers en gsyc.urjc.es
>>> > https://gsyc.urjc.es/cgi-bin/mailman/listinfo/jde-developers
>>>
>>>
>>>
>>> --
>>> Universidad Rey Juan Carlos
>>> http://gsyc.urjc.es/jmplaza
>>
>>
>
>
> _______________________________________________
> Jde-developers mailing list
> Jde-developers en gsyc.urjc.es
> https://gsyc.urjc.es/cgi-bin/mailman/listinfo/jde-developers
>



-- 
Universidad Rey Juan Carlos
http://gsyc.urjc.es/jmplaza


More information about the Jde-developers mailing list