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

JoseMaria Cañas Plaza josemaria.plaza at gmail.com
Thu Jun 4 17:10:12 CEST 2015


Hi Oscar,

the introrob.py [2] and uav_viewer [1] components have been reviewed,
uploaded to the JdeRobot git and even a new debian package generated with
introrob.py included. You can now test them with your ongoing mavlinkserver.

Cheers,

JoseMaria
[1]
https://github.com/RoboticsURJC/JdeRobot/tree/master/src/testing/components/uav_viewer
[2]
https://github.com/RoboticsURJC/JdeRobot/tree/master/src/stable/components/introrob_py

On Wed, May 13, 2015 at 7:12 PM, Oscar Garcia <
oscar.robotica at linaresdigital.com> wrote:

>  El 13/05/15 a las 18:27, Alberto Martin escribió:
>
> the python interfaces should be in /usr/lib/python2.7/jderobot and
> declared in /usr/lib/python2.7/jderobot/__init__.py. You can follow the
> next instructions [1]. If you compile and install JdeRobot (github) the
> interfaces will be copied to the correct directory.
>
>
>
> Thanks for the tip.
>
> I did all that steps previously. Here is more info (showing correct
> configuration):
>
>  redstar at oczstar:~/Documentos/uav/introrob_py$ python main.py --Ice.Config=introrob_virtual.cfg
> 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 at oczstar:~/Documentos/uav/introrob_py$ tail /usr/lib/python2.7/jderobot/__init__.py
> import remoteCloud_ice
> import remoteConfig_ice
> import encoders_ice
> import body_ice
> import bodymovements_ice
>
> # Submodules:
> import ardroneextra_ice
> import cmdvel_ice
> import navdata_ice
> redstar at oczstar:~/Documentos/uav/introrob_py$ ls /usr/lib/python2.7/jderobot/
> ardroneextra_ice.py   common_ice.py       __init__.py           naofollowball_ice.py   ptencoders_ice.py     sonars_ice.py
> bodyencoders_ice.py   containers_ice.py   jcm_ice.py            naomotions_ice.py      ptmotors_ice.py       varcolor_ice.py
> body_ice.py           datetime_ice.py     jointmotor_ice.py     navdata_ice.py         recorder_ice.py       wiimote_ice.py
> bodymotors_ice.py     encoders_ice.py     kinectleds_ice.py     pointcloud_ice.py      remoteCloud_ice.py
> bodymovements_ice.py  exceptions_ice.py   laser_ice.py          pose3dencoders_ice.py  remoteConfig_ice.py
> camera_ice.py         genericData_ice.py  motors_ice.py         pose3d_ice.py          replayControl_ice.py
> cmdvel_ice.py         image_ice.py        namingService_ice.py  pose3dmotors_ice.py    RoboCompJointMotor
>
>
>
>
>  Actually introrob_py only supports the ardrone quadcopter (version 1 and
> 2) and the simulated ardrone for gazebo 5.
>
>
>
>
> Sorry, I partially disagree. We are working in extend introrob_py's
> (great) functionality and usability to another " JdeRobot-Air" projects
> like Bix3 (Jose Antonio) and Phantom FX-61 (mine).
>
> As you can see there is at least one new component (pymavlink or
> BixServer, python based) that is compatible with introrob_py:
> http://jderobot.org/Jafernandez#Developing_Bix3_driver_.28bixServer.29
>
> Next one will be mine, mavlinkserver (C++ based), when I could test it
> with my component (I'll try to install virtual machine provided in your
> link to save time).
>
> Thanks again.
>
> _______________________________________________
> Jde-developers mailing list
> Jde-developers at gsyc.es
> http://gsyc.escet.urjc.es/cgi-bin/mailman/listinfo/jde-developers
>
>


-- 
Universidad Rey Juan Carlos
http://gsyc.urjc.es/jmplaza
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gsyc.escet.urjc.es/pipermail/jde-developers/attachments/20150604/56799dfa/attachment.htm 


More information about the Jde-developers mailing list