[JdeRobot] Problems with scratch2jderobot tool

Raúl Pérula-Martínez raules at gmail.com
Sun Oct 15 12:06:54 CEST 2017


Hi Santiago,

It seems that is a problem with the jderobot_comm library. José María told me that the library has suffered some changes, so maybe the problem is there.

I will try to test it next week.

Best,

—
Raúl Pérula-Martínez, PhD

> El 15 oct 2017, a las 1:36, Santiago Carrion <carrionvs en gmail.com> escribió:
> 
> Dear developers,
> 
> Im trying to test the new JdeRobot tool, scratch2jderobot, but when i launch the main_robot.py script i get the following error:
> 
> Traceback (most recent call last):
> 
>   File "main_robot.py", line 15, in <module>
> 
>     import comm
> 
>   File "/opt/jderobot/lib/python2.7/comm/__init__.py", line 1, in <module>
> 
>     from .communicator import Communicator
> 
>   File "/opt/jderobot/lib/python2.7/comm/communicator.py", line 4, in <module>
> 
>     from .laserClient import getLaserClient
> 
>   File "/opt/jderobot/lib/python2.7/comm/laserClient.py", line 4, in <module>
> 
>     from .ice.laserIceClient import LaserIceClient
> 
>   File "/opt/jderobot/lib/python2.7/comm/ice/laserIceClient.py", line 25, in <module>
> 
>     from jderobotTypes import LaserData
> 
>   File "/opt/jderobot/lib/python2.7/jderobotTypes/__init__.py", line 5, in <module>
> 
>     from .rgbd import Rgbd
> 
>   File "/opt/jderobot/lib/python2.7/jderobotTypes/rgbd.py", line 20
> 
>     import .image
> 
>            ^
> 
> SyntaxError: invalid syntax
> 
> 
> 
> To test the tool i do it as follows:
> 
> terminal 1:
> 
> 
> ~/JdeRobot/src/tools/scratch2jderobot/scripts$ python scratch2python.py obstacle_avoider_ice.sb2
> 
> terminal 2:
> 
> gazebo Kobuki-simple.world
> 
> terminal 3:
> 
> ~/JdeRobot/src/tools/scratch2jderobot/src/scratch2jderobot$ python main_robot.py
> 
> 
> 
> Could anyone help me?
> 
> Bests,
> 
> Santi
> _______________________________________________
> Jde-developers mailing list
> Jde-developers en gsyc.urjc.es
> https://gsyc.urjc.es/cgi-bin/mailman/listinfo/jde-developers

------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: <http://gsyc.urjc.es/pipermail/jde-developers/attachments/20171015/7fe85691/attachment.html>


More information about the Jde-developers mailing list