<div dir="ltr"><div><div><div><div>  Hi,<br><br></div>  first of all, thanks for your help. I have tried it as you have explained, step by step and results are no good. I still having the same erros.<br><br></div>  By the side of gazebo, I get some errors, but I think they can be ignored. The output is as following:<br>=========================================<br>Gazebo multi-robot simulator, version 5.3.0<br>Copyright (C) 2012-2015 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.33<br>Gazebo multi-robot simulator, version 5.3.0<br>Copyright (C) 2012-2015 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.33<br>[Err] [InsertModelWidget.cc:279] Missing model.config for model &quot;/home/julio/.gazebo/models/kinect&quot;<br>[Err] [InsertModelWidget.cc:279] Missing model.config for model &quot;/home/julio/.gazebo/models/mapaSimple&quot;<br>[Err] [InsertModelWidget.cc:279] Missing model.config for model &quot;/usr/local/share/jderobot/gazebo/models/kinect&quot;<br>[Err] [InsertModelWidget.cc:279] Missing model.config for model &quot;/usr/local/share/jderobot/gazebo/models/mapaSimple&quot;<br>Load: -256811480 cam_f1_left<br>Load: -1643279736 cam_f1_right<br>LaserDump Constructor<br>constructor motors<br>-----------------constructor Pose3D<br>--Ice.Config=f1Motors.cfg<br>GetName() Pose3D: f1<br>[Info] loaded Ice.Config file: /usr/local/share/jderobot/conf/f1Pose3D.cfg<br>[Info] loaded Ice.Config file: /usr/local/share/jderobot/conf/f1Motors.cfg<br>Pose3D Endpoints default -h localhost -p 8998<br>Motors Endpoints &gt; default -h localhost -p 9999<br> laser: f1::laser<br>strs[0]: f1<br>[Info] loaded Ice.Config file: /usr/local/share/jderobot/conf/f1_laser.cfg<br>Laser Endpoints &gt; default -h localhost -p 8996<br>[Err] [Material.cc:93] Unable to find texture[Color_006.jpg] in path[/home/julio/.gazebo/models/pistaSimple/meshes]<br>[Err] [Material.cc:93] Unable to find texture[Color_006.jpg] in path[/home/julio/.gazebo/models/pistaSimple/meshes]<br>[Info] loaded Ice.Config file: /usr/local/share/jderobot/conf/cam_f1_left.cfg<br>CameraGazebo cam_f1_left Endpoints &gt; default -h localhost -p 8995<br>-! 05/29/16 12:56:05.992 warning: found unknown properties for object adapter `CameraGazebo&#39;:<br>       CameraGazebo.Camera.0.Format<br>       CameraGazebo.Camera.0.ImageHeight<br>       CameraGazebo.Camera.0.ImageWidth<br>       <a href="http://CameraGazebo.Camera.0.Name">CameraGazebo.Camera.0.Name</a><br>Constructor CameraI<br>safeThread<br>[Info] loaded Ice.Config file: /usr/local/share/jderobot/conf/cam_f1_right.cfg<br>CameraGazebo cam_f1_right Endpoints &gt; default -h localhost -p 8994<br>-! 05/29/16 12:56:05.995 warning: found unknown properties for object adapter `CameraGazebo&#39;:<br>       CameraGazebo.Camera.0.Format<br>       CameraGazebo.Camera.0.ImageHeight<br>       CameraGazebo.Camera.0.ImageWidth<br>       <a href="http://CameraGazebo.Camera.0.Name">CameraGazebo.Camera.0.Name</a><br>Constructor CameraI<br>safeThread<br>[Wrn] [Publisher.cc:132] Queue limit reached for topic /gazebo/default/pose/local/info, deleting message. This warning is printed only once.<br>=========================================<br><br></div>  On the other hand, when I launch follow_line, I get this output:<br>=========================================<br>Traceback (most recent call last):<br>  File &quot;main.py&quot;, line 6, in &lt;module&gt;<br>    from gui.GUI import MainWindow<br>  File &quot;/home/julio/JdeRobot-TeachingRobotics-master/src/follow_line/gui/GUI.py&quot;, line 1, in &lt;module&gt;<br>    from gui.widgets.teleopWidget import TeleopWidget<br>  File &quot;/home/julio/JdeRobot-TeachingRobotics-master/src/follow_line/gui/widgets/teleopWidget.py&quot;, line 19, in &lt;module&gt;<br>    from resources import resources_rc<br>ImportError: cannot import name resources_rc<br>=========================================<br><br></div>  It seems to need something (resources_rc) that I don&#39;t have.<br><div><br></div><div>  Does anyone know such a resource? Thanks,<br><br></div><div>  Julio<br></div><div><div><br><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-05-26 7:18 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">uhm.. weird. Avoid the script for the moment, it is a shorcut.<br>
<br>
1.- Run:<br>
<br>
source /usr/local/share/jderobot/gazebo/gazebo-setup.sh<br>
<br>
<br>
2.- Then go to the directory where you have downloaded the git<br>
TeachingRobotics repository. Go to the<br>
directory-with-your-copy-of-teachingRobotics/JdeRobot-TeachingRobotics/src/follow_line/gazebo<br>
and there run<br>
<br>
gazebo --verbose simpleCircuit.world<br>
<br>
<br>
3.- After that, go to<br>
directory-with-your-copy-of-teachingRobotics/JdeRobot-TeachingRobotics/src/follow_line/<br>
and there run<br>
<br>
python main.py --Ice.Config=followLineF1.cfg<br>
<br>
<br>
It works like a charm on my machine, with JdeRobot-5.3.2 from package<br>
and the current source code of TeachingRobotics from the github. Let<br>
us know and tell us the Gazebo console messages if not working<br>
properly.<br>
<br>
Cheers,<br>
<span class="im HOEnZb"><br>
JoseMaria<br>
<br>
On Mon, May 23, 2016 at 8:50 PM, Julio Vega &lt;<a href="mailto:julio.vega@urjc.es">julio.vega@urjc.es</a>&gt; wrote:<br>
</span><div class="HOEnZb"><div class="h5">&gt;   Hi,<br>
&gt;<br>
&gt;   I am trying to launch the &quot;Follow_line&quot; code from TeachingRobotics GitHub<br>
&gt; (exactly from here [1]). I see there is a &quot;run_it.sh&quot;, so I run it, but I<br>
&gt; get some errors:<br>
&gt;<br>
&gt; ========================================<br>
&gt; [Msg] Waiting for master.<br>
&gt; [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>
&gt; [Msg] Publicized address: 192.168.1.35<br>
&gt; Load: 1134465760 cam_f1_left<br>
&gt; Load: 817915592 cam_f1_right<br>
&gt; LaserDump Constructor<br>
&gt; constructor motors<br>
&gt; -----------------constructor Pose3D<br>
&gt; --Ice.Config=f1Motors.cfg<br>
&gt; GetName() Pose3D: f1<br>
&gt; [Info] loaded Ice.Config file: /usr/local/share/jderobot/conf/f1Motors.cfg<br>
&gt; [Info] loaded Ice.Config file: /usr/local/share/jderobot/conf/f1Pose3D.cfg<br>
&gt; Motors Endpoints &gt; default -h localhost -p 9999<br>
&gt; Pose3D Endpoints default -h localhost -p 8998<br>
&gt;  laser: f1::laser<br>
&gt; strs[0]: f1<br>
&gt; [Info] loaded Ice.Config file: /usr/local/share/jderobot/conf/f1_laser.cfg<br>
&gt; Laser Endpoints &gt; default -h localhost -p 8996<br>
&gt; [Err] [Material.cc:93] Unable to find texture[Color_006.jpg] in<br>
&gt; path[/home/julio/.gazebo/models/pistaSimple/meshes]<br>
&gt; [Info] loaded Ice.Config file:<br>
&gt; /usr/local/share/jderobot/conf/cam_f1_left.cfg<br>
&gt; CameraGazebo cam_f1_left Endpoints &gt; default -h localhost -p 8995<br>
&gt; -! 05/23/16 20:46:47.819 warning: found unknown properties for object<br>
&gt; adapter `CameraGazebo&#39;:<br>
&gt;        CameraGazebo.Camera.0.Format<br>
&gt;        CameraGazebo.Camera.0.ImageHeight<br>
&gt;        CameraGazebo.Camera.0.ImageWidth<br>
&gt;        <a href="http://CameraGazebo.Camera.0.Name" rel="noreferrer" target="_blank">CameraGazebo.Camera.0.Name</a><br>
&gt; Constructor CameraI<br>
&gt; safeThread<br>
&gt; [Info] loaded Ice.Config file:<br>
&gt; /usr/local/share/jderobot/conf/cam_f1_right.cfg<br>
&gt; CameraGazebo cam_f1_right Endpoints &gt; default -h localhost -p 8994<br>
&gt; -! 05/23/16 20:46:47.823 warning: found unknown properties for object<br>
&gt; adapter `CameraGazebo&#39;:<br>
&gt;        CameraGazebo.Camera.0.Format<br>
&gt;        CameraGazebo.Camera.0.ImageHeight<br>
&gt;        CameraGazebo.Camera.0.ImageWidth<br>
&gt;        <a href="http://CameraGazebo.Camera.0.Name" rel="noreferrer" target="_blank">CameraGazebo.Camera.0.Name</a><br>
&gt; Constructor CameraI<br>
&gt; safeThread<br>
&gt; Traceback (most recent call last):<br>
&gt;   File &quot;main.py&quot;, line 6, in &lt;module&gt;<br>
&gt;     from gui.GUI import MainWindow<br>
&gt;   File &quot;JdeRobot-TeachingRobotics-master/src/follow_line/gui/GUI.py&quot;, line<br>
&gt; 1, in &lt;module&gt;<br>
&gt;     from gui.widgets.teleopWidget import TeleopWidget<br>
&gt;   File<br>
&gt; &quot;JdeRobot-TeachingRobotics-master/src/follow_line/gui/widgets/teleopWidget.py&quot;,<br>
&gt; line 19, in &lt;module&gt;<br>
&gt;     from resources import resources_rc<br>
&gt; ImportError: cannot import name resources_rc<br>
&gt; ========================================<br>
&gt;<br>
&gt;   It seems it is going to be launched properly, but finally it crashes.<br>
&gt;<br>
&gt;   Does anyone can help me? Thanks in advance,<br>
&gt;<br>
&gt;   Julio<br>
&gt;<br>
&gt;   [1]<br>
&gt; <a href="https://github.com/RoboticsURJC/JdeRobot-TeachingRobotics/tree/master/src/follow_line" rel="noreferrer" target="_blank">https://github.com/RoboticsURJC/JdeRobot-TeachingRobotics/tree/master/src/follow_line</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>
--<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><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><a href="http://www.juliovega.es" target="_blank">http://www.juliovega.es</a><br><br><br></div>
</div>