On Wednesday 20 October 2010 20:41:20 Huang, Wesley wrote: > i'm a little confused about KDL and python. i have a C++ node that is > using KDL just fine, so i know it's installed. however, i can't seem to > get it imported into a python node. i should mention that i'm running > boxturtle (installed just prior to the ROS tutorial at ICRA 2010). > > in my manifest.xml, i have: > > > > (i've tried PyKDL, KDL, etc., but they cause errors during rosmake) > > in my python code, i have: > > import PyKDL > > following one of the KDL tutorial wiki pages. > > when i try to rosrun the node, i get "ImportError: No module named PyKDL" > (and kdl, KDL, pykdl, etc. don't work either) > > is there something wrong with my installation? do i need to install python > bindings to KDL separately? AFAIK the ros package for KDL also builds the python bindings. Can you check whether the PyKDL.so lib exists in the lib dir of your kdl package? If not, did you do a 'rosdep install kdl' before building it? And what is the output of 'make VERBOSE=1' in the kdl package. Ruben > thanks, > > wes