<div dir="ltr"><div><div><div><div>  Hi again,<br><br></div>  here I suppose the problem is different. Gazebo is launched perfectly (I see no errors even if I launch it with the verbose mode), but I am not sure whether the other side (introrob_py) is well launched or not. I try with this command &quot;python main.py --Ice.Config=xxxxx.cfg&quot;, and I try with the three different .cfg files I see, and I get different errors, such as:<br>=============================================<br>python main.py --Ice.Config=introrob_py.cfg<br><br>loading Ice.Config file ./introrob_py.cfg<br>Traceback (most recent call last):<br>  File &quot;/home/julio/phd/desarrollo/JdeRobot-TeachingRobotics-master/src/introrob_py/sensors/sensor.py&quot;, line 50, in __init__<br>    self.cameraProxy = jderobot.CameraPrx.checkedCast(basecamera)<br>  File &quot;/usr/lib/python2.7/jderobot/camera_ice.py&quot;, line 710, in checkedCast<br>    return _M_jderobot.CameraPrx.ice_checkedCast(proxy, &#39;::jderobot::Camera&#39;, facetOrCtx, _ctx)<br>ConnectionRefusedException: Ice.ConnectionRefusedException:<br>Connection refused<br>=============================================<br><br></div>  But, I get no errors if I use the introrob_py from &quot;GitHub repository&quot;. I figure out there are different versions in debian package &quot;teaching_robotics&quot; and &quot;GitHub repository&quot;.<br><br></div>  Thanks a lot for your help,<br><br></div>  Julio<br><div><div><div><div><br><br><br><br><br><br><br><br><br><br><br><br><br></div></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-05-13 8:46 GMT+02:00 JoseMaria Cañas Plaza <span dir="ltr">&lt;<a href="mailto:jmplaza@gsyc.es" target="_blank">jmplaza@gsyc.es</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Julio,<br>
<br>
even if you see the robot in gazebo&#39;s GUI the plugin may be not<br>
properly loaded. If the plugin is not loaded properly then it will not<br>
start the ICE server and any ICE client will fail, even if the ports<br>
are well configured. Check it running gazebo with the verbose flag,<br>
then you will get more about the inside of the problem. The same<br>
directions you used but with<br>
<br>
gazebo --verbose ArDrone.world<br>
<br>
JoseMaria<br>
<div class="HOEnZb"><div class="h5"><br>
On Thu, May 12, 2016 at 7:43 PM, Julio Vega &lt;<a href="mailto:julio.vega@urjc.es">julio.vega@urjc.es</a>&gt; wrote:<br>
&gt;   Hi again,<br>
&gt;<br>
&gt;   this is my last message for today. I promise...<br>
&gt;<br>
&gt;   In this case, when I try to follow these instructions [1], the command<br>
&gt; &quot;gazebo ArDrone.world&quot; goes fine, but I suppose the other side command is<br>
&gt; obsolete. I mean &quot;introrob_py --Ice.Config=introrob_py_simulated.cfg&quot; it<br>
&gt; doesn&#39;t exist anymore. If I go to the teaching_robotics local path and<br>
&gt; entering to &quot;introrob_py&quot; folder, I can find a &quot;main.py&quot; which I guess I<br>
&gt; have to launch. It would be something like this: &quot;python main.py<br>
&gt; --Ice.Config=introrob_py_simulated.cfg&quot;.<br>
&gt;<br>
&gt;   This last command shows this message:<br>
&gt; ===================================<br>
&gt; Traceback (most recent call last):<br>
&gt;   File<br>
&gt; &quot;/home/julio/phd/desarrollo/teaching_robotics/src/introrob_py/sensors/sensor.py&quot;,<br>
&gt; line 50, in __init__<br>
&gt;     self.cameraProxy = jderobot.CameraPrx.checkedCast(basecamera)<br>
&gt;   File &quot;/usr/lib/python2.7/jderobot/camera_ice.py&quot;, line 710, in checkedCast<br>
&gt;     return _M_jderobot.CameraPrx.ice_checkedCast(proxy,<br>
&gt; &#39;::jderobot::Camera&#39;, facetOrCtx, _ctx)<br>
&gt; ConnectionRefusedException: Ice.ConnectionRefusedException:<br>
&gt; Connection refused<br>
&gt; ===================================<br>
&gt;<br>
&gt;   I get the same error as I got and I explained in the previous e-mail with<br>
&gt; &quot;pioneer + introrob&quot;. So, I finally deduce something is definitely wrong<br>
&gt; with gazebo plug-in.<br>
&gt;<br>
&gt;   Please, any tip? Thanks,<br>
&gt;<br>
&gt;   Julio<br>
&gt;<br>
&gt; [1]<br>
&gt; <a href="http://jderobot.org/Teaching_robotics_with_JdeRobot#Simulated_ArDrone_.2B_introrob_py" rel="noreferrer" target="_blank">http://jderobot.org/Teaching_robotics_with_JdeRobot#Simulated_ArDrone_.2B_introrob_py</a><br>
&gt;<br>
&gt; --<br>
&gt; <a href="http://www.juliovega.es" rel="noreferrer" target="_blank">http://www.juliovega.es</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
</div></div><div class="HOEnZb"><div class="h5">&gt; _______________________________________________<br>
&gt; Jde-developers mailing list<br>
&gt; <a href="mailto:Jde-developers@gsyc.es">Jde-developers@gsyc.es</a><br>
&gt; <a href="http://gsyc.escet.urjc.es/cgi-bin/mailman/listinfo/jde-developers" rel="noreferrer" target="_blank">http://gsyc.escet.urjc.es/cgi-bin/mailman/listinfo/jde-developers</a><br>
&gt;<br>
<br>
<br>
<br>
</div></div><span class="HOEnZb"><font color="#888888">--<br>
Universidad Rey Juan Carlos<br>
<a href="http://gsyc.urjc.es/jmplaza" rel="noreferrer" target="_blank">http://gsyc.urjc.es/jmplaza</a><br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><a href="http://www.juliovega.es" target="_blank">http://www.juliovega.es</a><br><br><br></div>
</div>