[JdeRobot] Error running Follow_line

Julio Vega julio.vega at urjc.es
Sun May 29 13:04:43 CEST 2016


  Hi,

  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.

  By the side of gazebo, I get some errors, but I think they can be
ignored. The output is as following:
=========================================
Gazebo multi-robot simulator, version 5.3.0
Copyright (C) 2012-2015 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.33
Gazebo multi-robot simulator, version 5.3.0
Copyright (C) 2012-2015 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.33
[Err] [InsertModelWidget.cc:279] Missing model.config for model
"/home/julio/.gazebo/models/kinect"
[Err] [InsertModelWidget.cc:279] Missing model.config for model
"/home/julio/.gazebo/models/mapaSimple"
[Err] [InsertModelWidget.cc:279] Missing model.config for model
"/usr/local/share/jderobot/gazebo/models/kinect"
[Err] [InsertModelWidget.cc:279] Missing model.config for model
"/usr/local/share/jderobot/gazebo/models/mapaSimple"
Load: -256811480 cam_f1_left
Load: -1643279736 cam_f1_right
LaserDump Constructor
constructor motors
-----------------constructor Pose3D
--Ice.Config=f1Motors.cfg
GetName() Pose3D: f1
[Info] loaded Ice.Config file: /usr/local/share/jderobot/conf/f1Pose3D.cfg
[Info] loaded Ice.Config file: /usr/local/share/jderobot/conf/f1Motors.cfg
Pose3D Endpoints default -h localhost -p 8998
Motors Endpoints > default -h localhost -p 9999
 laser: f1::laser
strs[0]: f1
[Info] loaded Ice.Config file: /usr/local/share/jderobot/conf/f1_laser.cfg
Laser Endpoints > default -h localhost -p 8996
[Err] [Material.cc:93] Unable to find texture[Color_006.jpg] in
path[/home/julio/.gazebo/models/pistaSimple/meshes]
[Err] [Material.cc:93] Unable to find texture[Color_006.jpg] in
path[/home/julio/.gazebo/models/pistaSimple/meshes]
[Info] loaded Ice.Config file:
/usr/local/share/jderobot/conf/cam_f1_left.cfg
CameraGazebo cam_f1_left Endpoints > default -h localhost -p 8995
-! 05/29/16 12:56:05.992 warning: found unknown properties for object
adapter `CameraGazebo':
       CameraGazebo.Camera.0.Format
       CameraGazebo.Camera.0.ImageHeight
       CameraGazebo.Camera.0.ImageWidth
       CameraGazebo.Camera.0.Name
Constructor CameraI
safeThread
[Info] loaded Ice.Config file:
/usr/local/share/jderobot/conf/cam_f1_right.cfg
CameraGazebo cam_f1_right Endpoints > default -h localhost -p 8994
-! 05/29/16 12:56:05.995 warning: found unknown properties for object
adapter `CameraGazebo':
       CameraGazebo.Camera.0.Format
       CameraGazebo.Camera.0.ImageHeight
       CameraGazebo.Camera.0.ImageWidth
       CameraGazebo.Camera.0.Name
Constructor CameraI
safeThread
[Wrn] [Publisher.cc:132] Queue limit reached for topic
/gazebo/default/pose/local/info, deleting message. This warning is printed
only once.
=========================================

  On the other hand, when I launch follow_line, I get this output:
=========================================
Traceback (most recent call last):
  File "main.py", line 6, in <module>
    from gui.GUI import MainWindow
  File
"/home/julio/JdeRobot-TeachingRobotics-master/src/follow_line/gui/GUI.py",
line 1, in <module>
    from gui.widgets.teleopWidget import TeleopWidget
  File
"/home/julio/JdeRobot-TeachingRobotics-master/src/follow_line/gui/widgets/teleopWidget.py",
line 19, in <module>
    from resources import resources_rc
ImportError: cannot import name resources_rc
=========================================

  It seems to need something (resources_rc) that I don't have.

  Does anyone know such a resource? Thanks,

  Julio



2016-05-26 7:18 GMT+02:00 JoseMaria Cañas Plaza <jmplaza en gsyc.es>:

> uhm.. weird. Avoid the script for the moment, it is a shorcut.
>
> 1.- Run:
>
> source /usr/local/share/jderobot/gazebo/gazebo-setup.sh
>
>
> 2.- Then go to the directory where you have downloaded the git
> TeachingRobotics repository. Go to the
>
> directory-with-your-copy-of-teachingRobotics/JdeRobot-TeachingRobotics/src/follow_line/gazebo
> and there run
>
> gazebo --verbose simpleCircuit.world
>
>
> 3.- After that, go to
>
> directory-with-your-copy-of-teachingRobotics/JdeRobot-TeachingRobotics/src/follow_line/
> and there run
>
> python main.py --Ice.Config=followLineF1.cfg
>
>
> It works like a charm on my machine, with JdeRobot-5.3.2 from package
> and the current source code of TeachingRobotics from the github. Let
> us know and tell us the Gazebo console messages if not working
> properly.
>
> Cheers,
>
> JoseMaria
>
> On Mon, May 23, 2016 at 8:50 PM, Julio Vega <julio.vega en urjc.es> wrote:
> >   Hi,
> >
> >   I am trying to launch the "Follow_line" code from TeachingRobotics
> GitHub
> > (exactly from here [1]). I see there is a "run_it.sh", so I run it, but I
> > get some errors:
> >
> > ========================================
> > [Msg] Waiting for master.
> > [Msg] Connected to gazebo master @ http://127.0.0.1:11345
> > [Msg] Publicized address: 192.168.1.35
> > Load: 1134465760 cam_f1_left
> > Load: 817915592 cam_f1_right
> > LaserDump Constructor
> > constructor motors
> > -----------------constructor Pose3D
> > --Ice.Config=f1Motors.cfg
> > GetName() Pose3D: f1
> > [Info] loaded Ice.Config file:
> /usr/local/share/jderobot/conf/f1Motors.cfg
> > [Info] loaded Ice.Config file:
> /usr/local/share/jderobot/conf/f1Pose3D.cfg
> > Motors Endpoints > default -h localhost -p 9999
> > Pose3D Endpoints default -h localhost -p 8998
> >  laser: f1::laser
> > strs[0]: f1
> > [Info] loaded Ice.Config file:
> /usr/local/share/jderobot/conf/f1_laser.cfg
> > Laser Endpoints > default -h localhost -p 8996
> > [Err] [Material.cc:93] Unable to find texture[Color_006.jpg] in
> > path[/home/julio/.gazebo/models/pistaSimple/meshes]
> > [Info] loaded Ice.Config file:
> > /usr/local/share/jderobot/conf/cam_f1_left.cfg
> > CameraGazebo cam_f1_left Endpoints > default -h localhost -p 8995
> > -! 05/23/16 20:46:47.819 warning: found unknown properties for object
> > adapter `CameraGazebo':
> >        CameraGazebo.Camera.0.Format
> >        CameraGazebo.Camera.0.ImageHeight
> >        CameraGazebo.Camera.0.ImageWidth
> >        CameraGazebo.Camera.0.Name
> > Constructor CameraI
> > safeThread
> > [Info] loaded Ice.Config file:
> > /usr/local/share/jderobot/conf/cam_f1_right.cfg
> > CameraGazebo cam_f1_right Endpoints > default -h localhost -p 8994
> > -! 05/23/16 20:46:47.823 warning: found unknown properties for object
> > adapter `CameraGazebo':
> >        CameraGazebo.Camera.0.Format
> >        CameraGazebo.Camera.0.ImageHeight
> >        CameraGazebo.Camera.0.ImageWidth
> >        CameraGazebo.Camera.0.Name
> > Constructor CameraI
> > safeThread
> > Traceback (most recent call last):
> >   File "main.py", line 6, in <module>
> >     from gui.GUI import MainWindow
> >   File "JdeRobot-TeachingRobotics-master/src/follow_line/gui/GUI.py",
> line
> > 1, in <module>
> >     from gui.widgets.teleopWidget import TeleopWidget
> >   File
> >
> "JdeRobot-TeachingRobotics-master/src/follow_line/gui/widgets/teleopWidget.py",
> > line 19, in <module>
> >     from resources import resources_rc
> > ImportError: cannot import name resources_rc
> > ========================================
> >
> >   It seems it is going to be launched properly, but finally it crashes.
> >
> >   Does anyone can help me? Thanks in advance,
> >
> >   Julio
> >
> >   [1]
> >
> https://github.com/RoboticsURJC/JdeRobot-TeachingRobotics/tree/master/src/follow_line
> >
> > --
> > http://www.juliovega.es
> >
> >
> >
> >
> >
> >
> > _______________________________________________
> > Jde-developers mailing list
> > Jde-developers en gsyc.es
> > http://gsyc.escet.urjc.es/cgi-bin/mailman/listinfo/jde-developers
> >
>
>
>
> --
> Universidad Rey Juan Carlos
> http://gsyc.urjc.es/jmplaza
>



-- 
http://www.juliovega.es
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: http://gsyc.escet.urjc.es/pipermail/jde-developers/attachments/20160529/00daf9f2/attachment-0001.htm 


More information about the Jde-developers mailing list