[JdeRobot] [introrob_py] AttributeError: 'module' object has no attribute 'CMDVelData'

Oscar Garcia oscar.robotica at linaresdigital.com
Sun May 10 20:37:58 CEST 2015


Good afternoon,

I just start working with my own UAV and pose3d interfaces, so I need to 
start sending data to another component. I choose introrob_py, but I 
have some difficulties making it work:
https://svn.jderobot.org/users/amartinflorido/tfm/trunk/introrob_py/

After installing some needed packages like python-qwt5-qt4, I'm trying 
to run it but get this error message:


redstar en oczstar:~/Documentos/uav/introrob_py$ python main.py
Traceback (most recent call last):
   File "main.py", line 33, in <module>
     sensor = Sensor();
   File "/home/redstar/Documentos/uav/introrob_py/sensors/sensor.py", 
line 30, in __init__
     self.cmd=jderobot.CMDVelData()
AttributeError: 'module' object has no attribute 'CMDVelData'
redstar en oczstar:~/Documentos/uav/introrob_py$ find . -iname "*cmdvel*"
./cmdvel_ice.pyc
./jderobot/cmdvel_ice.pyc
./jderobot/jderobot/cmdvel_ice.py
./jderobot/cmdvel_ice.py
./cmdvel_ice.py
./sensors/jderobot/cmdvel_ice.pyc
./sensors/jderobot/jderobot/cmdvel_ice.py
./sensors/jderobot/cmdvel_ice.py
./sensors/cmdvel_ice.py


As seen, I generated cmdvel interface (cmdvel_ice.py) in every possible 
directory with "slice2py ../interfaces/cmdvel.ice 
../interfaces/navdata.ice ../interfaces/ardroneextra.ice".

What could be the problem? I'm using python interfaces generated from 
jderobot stable branch with its cmake chain.

Best regards.

------------ próxima parte ------------
Se ha borrado un mensaje que no est� en formato texto plano...
Nombre     : smime.p7s
Tipo       : application/pkcs7-signature
Tama�o     : 2245 bytes
Descripci�n: Firma criptogr��fica S/MIME
Url        : http://gsyc.escet.urjc.es/pipermail/jde-developers/attachments/20150510/8e480b4b/attachment.bin 


More information about the Jde-developers mailing list