[JdeRobot] Error running Follow_line

JoseMaria Cañas Plaza jmplaza at gsyc.es
Thu May 26 07:18:42 CEST 2016


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


More information about the Jde-developers mailing list