<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div><span></span></div><div><div dir="ltr"><div><div>After the help of Aitor installing version 7.6 (it was installed 7.0), Gazebo is able to open the "default" JdeRobot worlds, but when y try to open one I have modified previously I get this error:<br><i><br>/gazebo/worlds$ gzserver --verbose ardrone-turtlebot.world<br>Gazebo multi-robot simulator, version 7.6.0<br>Copyright (C) 2012 Open Source Robotics Foundation.<br>Released under the Apache 2 License.<br><a href="http://gazebosim.org">http://gazebosim.org</a><br><br>[Msg] Waiting for master.<br>[Msg] Connected to gazebo master @ <a href="http://127.0.0.1:11345">http://127.0.0.1:11345</a><br>[Msg] Publicized address: 192.168.1.17<br>[Wrn] [<a href="http://msgs.cc:1807">msgs.cc:1807</a>] Conversion of sensor type[imu] not suppported.<br>Error [Element.hh:336] Unable to find value for key[self_collide]<br>QuadRotorSensors::QuadRotorSensors()<br>[0x7f896003c190]QuadrotorPlugin::QuadrotorPlugin()<br>[quadrotor] QuadrotorPlugin::Load()<br>[quadrotor] QuadrotorPlugin::InitializeIce()<br>[quadrotor]     config: quadrotorplugin2.cfg<br>[Info] loaded Ice.Config file: /usr/local/share/jderobot/conf/quadrotorplugin2.cfg<br>[quadrotor]     create Ice plugin...<br>[quadrotor] QuadrotorPlugin::Init()<br>[quadrotor] Sensors of quadrotor<br>[quadrotor]     cam_sensor_ventral (id: 35)<br>[quadrotor]     cam_sensor_frontal (id: 36)<br>[quadrotor]     sonar (id: 37)<br>[quadrotor]     imu_sensor (id: 68)<br>[quadrotor]     boostrap quadrotor state as Landed (altitude=0.103209)<br>Segmentation fault (core dumped)<br><br></i></div>Running it with gazebo --verbose command crash without any further info.<br><br></div>I also run JdeRobot in a Docker container, but the problem still...<br><div><div><div><br></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-03-22 8:43 GMT+01:00 JoseMaria Cañas Plaza <span dir="ltr"><<a href="mailto:jmplaza@gsyc.es" target="_blank">jmplaza@gsyc.es</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Arturo,<br>
<br>
thats weird.... Let's name the problems:<br>
<br>
(a)<br>
<span class="">>> Mar 13 18:46:38 arturo-Compaq-Presario-CQ70-<wbr>Notebook-PC kernel: [<br>
>> 409.802567] gzserver[3486]: segfault at 40 ip 00007fa7b34f396b sp<br>
>> 00007fa76a9fb9f0 error 4 in libgazebo_common.so.7.5.0[<wbr>7fa7b344a000+101000]<br>
<br>
</span>(b)<br>
<span class="">>> Also, i am trying now, other worlds, and the error i get for most of them<br>
>> is "[Err] [<a href="http://node.cc:105">Node.cc:105</a>] No namespace found", and in ardrone_turtlebot.world<br>
>> in particular i get the error:<br>
<br>
</span>(c)<br>
<span class="">>> "terminate called after throwing an instance of 'Ice::SocketException'<br>
>>   what():  Network.cpp:2065: Ice::SocketException:<br>
>> socket exception: Address already in use"<br>
<br>
</span>No idea about (a) error, nobody of 30 recent users have suffered from<br>
this. (b) still seems to me a bad configuration of Gazebo or its<br>
worlds.<br>
(c) seems a problem with port already being used (although it does not<br>
match with a clean running after machine restart).<br>
<br>
In order to clarify potential failure sources, maybe you can try to<br>
run JdeRobot in a Docker container [1], and run there Gazebo (gzserver<br>
better than Gazebo) and the clients in your host machine.<br>
<br>
Cheers,<br>
<br>
JoseMaria<br>
[1] <a href="http://jderobot.org/Downloads#Docker_Image" rel="noreferrer" target="_blank">http://jderobot.org/Downloads#<wbr>Docker_Image</a><br>
<div class="HOEnZb"><div class="h5"><br>
On Tue, Mar 21, 2017 at 6:46 PM, Arturo Vélez <<a href="mailto:arturo92vd@gmail.com">arturo92vd@gmail.com</a>> wrote:<br>
> Hello,<br>
><br>
> The code you mention is in my .bashrc file. I send it attached.<br>
><br>
> Regards,<br>
> Arturo.<br>
><br>
> 2017-03-17 16:43 GMT+01:00 JoseMaria Cañas Plaza <<a href="mailto:jmplaza@gsyc.es">jmplaza@gsyc.es</a>>:<br>
>><br>
>> Arturo,<br>
>><br>
>> it seems that your Gazebo does not find the auxiliary resources at run<br>
>> time. Did you run the post-installation instructions [1]? Could you<br>
>> show the last lines of your .bashrc file? It should include something<br>
>> like this, which configures environment variables so Gazebo can locate<br>
>> those auxiliary resources:<br>
>><br>
>> ------------------------------<wbr>------------------------------<br>
>> # JdeRobot resources<br>
>> export<br>
>> GAZEBO_RESOURCE_PATH=$GAZEBO_<wbr>RESOURCE_PATH:/usr/local/<wbr>share/jderobot/gazebo/models:/<wbr>usr/local/share/jderobot/<wbr>gazebo/worlds<br>
>> export<br>
>> GAZEBO_MODEL_PATH=$GAZEBO_<wbr>MODEL_PATH:/usr/local/share/<wbr>jderobot/gazebo/models<br>
>> export<br>
>> GAZEBO_PLUGIN_PATH=$GAZEBO_<wbr>PLUGIN_PATH:/usr/local/share/<wbr>jderobot/gazebo/plugins/<wbr>pioneer:/usr/local/share/<wbr>jderobot/gazebo/plugins/nao:/<wbr>usr/local/share/jderobot/<wbr>gazebo/plugins/kinect:/usr/<wbr>local/share/jderobot/gazebo/<wbr>plugins/quadrotor:/usr/local/<wbr>share/jderobot/gazebo/plugins/<wbr>turtlebot:/usr/local/share/<wbr>jderobot/gazebo/plugins/<wbr>flyingkinect:/usr/local/share/<wbr>jderobot/gazebo/plugins/car:/<wbr>usr/local/share/jderobot/<wbr>gazebo/plugins/f1<br>
>> export<br>
>> LD_LIBRARY_PATH=$LD_LIBRARY_<wbr>PATH:/usr/local/lib/jderobot:/<wbr>usr/local/share/jderobot/<wbr>gazebo/plugins/pioneer:/usr/<wbr>local/share/jderobot/gazebo/<wbr>plugins/nao:/usr/local/share/<wbr>jderobot/gazebo/plugins/<wbr>kinect:/usr/local/share/<wbr>jderobot/gazebo/plugins/<wbr>quadrotor:/usr/local/share/<wbr>jderobot/gazebo/plugins/<wbr>turtlebot:/usr/local/share/<wbr>jderobot/gazebo/plugins/<wbr>flyingkinect:/usr/local/share/<wbr>jderobot/gazebo/plugins/car:/<wbr>usr/local/share/jderobot/<wbr>gazebo/plugins/f1<br>
>> ------------------------------<wbr>------------------------------<wbr>--<br>
>><br>
>> Cheers,<br>
>><br>
>> JoseMaria<br>
>> [1]<br>
>> <a href="http://jderobot.org/index.php/Manual-5#Installation_for_running_JdeRobot" rel="noreferrer" target="_blank">http://jderobot.org/index.php/<wbr>Manual-5#Installation_for_<wbr>running_JdeRobot</a><br>
>><br>
>> On Fri, Mar 17, 2017 at 2:16 PM, Arturo Vélez <<a href="mailto:arturo92vd@gmail.com">arturo92vd@gmail.com</a>><br>
>> wrote:<br>
>> > I´ve just reinstalled Ubuntu 16.04 from zero, and I installed JdeRobot<br>
>> > 5.5.<br>
>> > The problem still.<br>
>> ><br>
>> > I am trying to open ArDrone.world as the example.<br>
>> ><br>
>> > 2017-03-13 19:17 GMT+01:00 Arturo Vélez <<a href="mailto:arturo92vd@gmail.com">arturo92vd@gmail.com</a>>:<br>
>> >><br>
>> >> I am using 5.4.2 also, gazebo 7, no graphics acceleration. JdeRobot was<br>
>> >> installed cleanly because i reinstalled completely the OS, and after<br>
>> >> reinstalling OS, the next thing installed was JdeRobot (and all the<br>
>> >> dependencies).<br>
>> >><br>
>> >> Running Gazebo without GUI i get the attached. I check the system log<br>
>> >> and<br>
>> >> i've found this, if it helps:<br>
>> >> Mar 13 18:46:38 arturo-Compaq-Presario-CQ70-<wbr>Notebook-PC kernel: [<br>
>> >> 409.802567] gzserver[3486]: segfault at 40 ip 00007fa7b34f396b sp<br>
>> >> 00007fa76a9fb9f0 error 4 in<br>
>> >> libgazebo_common.so.7.5.0[<wbr>7fa7b344a000+101000]<br>
>> >> Mar 13 18:47:52 arturo-Compaq-Presario-CQ70-<wbr>Notebook-PC kernel: [<br>
>> >> 484.305540] gzserver[3813]: segfault at 40 ip 00007fc58c1c996b sp<br>
>> >> 00007fc5437fc9f0 error 4 in<br>
>> >> libgazebo_common.so.7.5.0[<wbr>7fc58c120000+101000]<br>
>> >><br>
>> >> Also, i am trying now, other worlds, and the error i get for most of<br>
>> >> them<br>
>> >> is "[Err] [<a href="http://node.cc:105">Node.cc:105</a>] No namespace found", and in<br>
>> >> ardrone_turtlebot.world<br>
>> >> in particular i get the error:<br>
>> >><br>
>> >> "terminate called after throwing an instance of 'Ice::SocketException'<br>
>> >>   what():  Network.cpp:2065: Ice::SocketException:<br>
>> >> socket exception: Address already in use"<br>
>> >><br>
>> >> I don't know if it can be related with the issue, but maybe Gazebo is<br>
>> >> bad<br>
>> >> configure or installed...<br>
>> >><br>
>> >> Thanks,<br>
>> >> Arturo.<br>
>> >><br>
>> >><br>
>> >><br>
>> >><br>
>> >><br>
>> >> 2017-03-13 11:29 GMT+01:00 JoseMaria Cañas Plaza <<a href="mailto:jmplaza@gsyc.es">jmplaza@gsyc.es</a>>:<br>
>> >>><br>
>> >>> Hi Arturo,<br>
>> >>><br>
>> >>> which release of JdeRobot are you working with? I'm using 5.4.2,<br>
>> >>> cleanly installed from debian packages, and gazebo works fine with the<br>
>> >>> same world you have launched....<br>
>> >>><br>
>> >>> Do you have openGL (accelerated graphics) on your machine? Try to<br>
>> >>> start Gazebo without GUI to see if the problem is related with<br>
>> >>> graphics or not?:<br>
>> >>> gzserver --verbose ardrone-turtlebot.world<br>
>> >>><br>
>> >>> If you ask for help here, please put more information of the context.<br>
>> >>> Otherwise you put things difficult for other people to help you.<br>
>> >>><br>
>> >>> Cheers,<br>
>> >>><br>
>> >>> JoseMaria<br>
>> >>><br>
>> >>> On Thu, Mar 9, 2017 at 8:15 PM, Arturo Vélez <<a href="mailto:arturo92vd@gmail.com">arturo92vd@gmail.com</a>><br>
>> >>> wrote:<br>
>> >>> > I get this when I open the world with --verbose:<br>
>> >>> ><br>
>> >>> > /gazebo/worlds$ gazebo --verbose ardrone-turtlebot.world<br>
>> >>> > Gazebo multi-robot simulator, version 7.5.0<br>
>> >>> > Copyright (C) 2012 Open Source Robotics Foundation.<br>
>> >>> > Released under the Apache 2 License.<br>
>> >>> > <a href="http://gazebosim.org" rel="noreferrer" target="_blank">http://gazebosim.org</a><br>
>> >>> ><br>
>> >>> > [Msg] Waiting for master.<br>
>> >>> > Gazebo multi-robot simulator, version 7.5.0<br>
>> >>> > Copyright (C) 2012 Open Source Robotics Foundation.<br>
>> >>> > Released under the Apache 2 License.<br>
>> >>> > <a href="http://gazebosim.org" rel="noreferrer" target="_blank">http://gazebosim.org</a><br>
>> >>> ><br>
>> >>> > [Msg] Waiting for master.<br>
>> >>> > [Msg] Connected to gazebo master @ <a href="http://127.0.0.1:11345" rel="noreferrer" target="_blank">http://127.0.0.1:11345</a><br>
>> >>> > [Msg] Publicized address: 192.168.1.10<br>
>> >>> > [Msg] Connected to gazebo master @ <a href="http://127.0.0.1:11345" rel="noreferrer" target="_blank">http://127.0.0.1:11345</a><br>
>> >>> > [Msg] Publicized address: 192.168.1.10<br>
>> >>> > [Wrn] [<a href="http://guiiface.cc:256">GuiIface.cc:256</a>] Couldn't locate specified .ini. Creating<br>
>> >>> > file<br>
>> >>> > at<br>
>> >>> > "/home/arturo/.gazebo/gui.ini"<br>
>> >>> > [Wrn] [<a href="http://msgs.cc:1807">msgs.cc:1807</a>] Conversion of sensor type[imu] not suppported.<br>
>> >>> > Error [Element.hh:336] Unable to find value for key[self_collide]<br>
>> >>> > QuadRotorSensors::<wbr>QuadRotorSensors()<br>
>> >>> > [0x7f422803c6d0]<wbr>QuadrotorPlugin::<wbr>QuadrotorPlugin()<br>
>> >>> > [quadrotor] QuadrotorPlugin::Load()<br>
>> >>> > [quadrotor] QuadrotorPlugin::<wbr>InitializeIce()<br>
>> >>> > [quadrotor]     config: quadrotorplugin2.cfg<br>
>> >>> > [Info] loaded Ice.Config file:<br>
>> >>> > /usr/local/share/jderobot/<wbr>conf/quadrotorplugin2.cfg<br>
>> >>> > [quadrotor]     create Ice plugin...<br>
>> >>> > [quadrotor] QuadrotorPlugin::Init()<br>
>> >>> > [quadrotor] Sensors of quadrotor<br>
>> >>> > [quadrotor]     cam_sensor_ventral (id: 35)<br>
>> >>> > [quadrotor]     cam_sensor_frontal (id: 36)<br>
>> >>> > [quadrotor]     sonar (id: 37)<br>
>> >>> > [quadrotor]     imu_sensor (id: 68)<br>
>> >>> > [quadrotor]     boostrap quadrotor state as Landed<br>
>> >>> > (altitude=0.103209)<br>
>> >>> > [Err] [<a href="http://connection.cc:541">Connection.cc:541</a>] Connection[17] Closed during Read<br>
>> >>> > [Err] [<a href="http://transportiface.cc:374">TransportIface.cc:374</a>] Unable to read from master<br>
>> >>> > [Err] [<a href="http://glwidget.cc:856">GLWidget.cc:856</a>] Unable to connect to a running Gazebo<br>
>> >>> > master.<br>
>> >>> ><br>
>> >>> ><br>
>> >>> ><br>
>> >>> ><br>
>> >>> > --<br>
>> >>> > View this message in context:<br>
>> >>> ><br>
>> >>> > <a href="http://jderobot-developer-list.2315034.n4.nabble.com/JdeRobot-Error-with-Gazebo-tp4643212p4643241.html" rel="noreferrer" target="_blank">http://jderobot-developer-<wbr>list.2315034.n4.nabble.com/<wbr>JdeRobot-Error-with-Gazebo-<wbr>tp4643212p4643241.html</a><br>
>> >>> > Sent from the Jderobot Developer List mailing list archive at<br>
>> >>> > <a href="http://Nabble.com">Nabble.com</a>.<br>
>> >>> > ______________________________<wbr>_________________<br>
>> >>> > Jde-developers mailing list<br>
>> >>> > <a href="mailto:Jde-developers@gsyc.urjc.es">Jde-developers@gsyc.urjc.es</a><br>
>> >>> > <a href="https://gsyc.urjc.es/cgi-bin/mailman/listinfo/jde-developers" rel="noreferrer" target="_blank">https://gsyc.urjc.es/cgi-bin/<wbr>mailman/listinfo/jde-<wbr>developers</a><br>
>> >>><br>
>> >>><br>
>> >>><br>
>> >>> --<br>
>> >>> Universidad Rey Juan Carlos<br>
>> >>> <a href="http://gsyc.urjc.es/jmplaza" rel="noreferrer" target="_blank">http://gsyc.urjc.es/jmplaza</a><br>
>> >><br>
>> >><br>
>> ><br>
>> ><br>
>> > ______________________________<wbr>_________________<br>
>> > Jde-developers mailing list<br>
>> > <a href="mailto:Jde-developers@gsyc.urjc.es">Jde-developers@gsyc.urjc.es</a><br>
>> > <a href="https://gsyc.urjc.es/cgi-bin/mailman/listinfo/jde-developers" rel="noreferrer" target="_blank">https://gsyc.urjc.es/cgi-bin/<wbr>mailman/listinfo/jde-<wbr>developers</a><br>
>> ><br>
>><br>
>><br>
>><br>
>> --<br>
>> Universidad Rey Juan Carlos<br>
>> <a href="http://gsyc.urjc.es/jmplaza" rel="noreferrer" target="_blank">http://gsyc.urjc.es/jmplaza</a><br>
><br>
><br>
<br>
<br>
<br>
--<br>
Universidad Rey Juan Carlos<br>
<a href="http://gsyc.urjc.es/jmplaza" rel="noreferrer" target="_blank">http://gsyc.urjc.es/jmplaza</a><br>
</div></div></blockquote></div><br></div>
</div></body></html>