<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 "python main.py --Ice.Config=xxxxx.cfg", 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 "/home/julio/phd/desarrollo/JdeRobot-TeachingRobotics-master/src/introrob_py/sensors/sensor.py", line 50, in __init__<br> self.cameraProxy = jderobot.CameraPrx.checkedCast(basecamera)<br> File "/usr/lib/python2.7/jderobot/camera_ice.py", line 710, in checkedCast<br> return _M_jderobot.CameraPrx.ice_checkedCast(proxy, '::jderobot::Camera', 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 "GitHub repository". I figure out there are different versions in debian package "teaching_robotics" and "GitHub repository".<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"><<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 Julio,<br>
<br>
even if you see the robot in gazebo'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 <<a href="mailto:julio.vega@urjc.es">julio.vega@urjc.es</a>> wrote:<br>
> Hi again,<br>
><br>
> this is my last message for today. I promise...<br>
><br>
> In this case, when I try to follow these instructions [1], the command<br>
> "gazebo ArDrone.world" goes fine, but I suppose the other side command is<br>
> obsolete. I mean "introrob_py --Ice.Config=introrob_py_simulated.cfg" it<br>
> doesn't exist anymore. If I go to the teaching_robotics local path and<br>
> entering to "introrob_py" folder, I can find a "main.py" which I guess I<br>
> have to launch. It would be something like this: "python main.py<br>
> --Ice.Config=introrob_py_simulated.cfg".<br>
><br>
> This last command shows this message:<br>
> ===================================<br>
> Traceback (most recent call last):<br>
> File<br>
> "/home/julio/phd/desarrollo/teaching_robotics/src/introrob_py/sensors/sensor.py",<br>
> line 50, in __init__<br>
> self.cameraProxy = jderobot.CameraPrx.checkedCast(basecamera)<br>
> File "/usr/lib/python2.7/jderobot/camera_ice.py", line 710, in checkedCast<br>
> return _M_jderobot.CameraPrx.ice_checkedCast(proxy,<br>
> '::jderobot::Camera', facetOrCtx, _ctx)<br>
> ConnectionRefusedException: Ice.ConnectionRefusedException:<br>
> Connection refused<br>
> ===================================<br>
><br>
> I get the same error as I got and I explained in the previous e-mail with<br>
> "pioneer + introrob". So, I finally deduce something is definitely wrong<br>
> with gazebo plug-in.<br>
><br>
> Please, any tip? Thanks,<br>
><br>
> Julio<br>
><br>
> [1]<br>
> <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>
><br>
> --<br>
> <a href="http://www.juliovega.es" rel="noreferrer" target="_blank">http://www.juliovega.es</a><br>
><br>
><br>
><br>
><br>
><br>
><br>
</div></div><div class="HOEnZb"><div class="h5">> _______________________________________________<br>
> Jde-developers mailing list<br>
> <a href="mailto:Jde-developers@gsyc.es">Jde-developers@gsyc.es</a><br>
> <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>
><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>