Unit 6 fails to import PyKDL

Hello!

I am working on Unit 6 and am getting an error in the updates robot_control_class.py file.

As can be seen in the image below, PyKDL cannot be imported.

What am I doing wrong?

Hi @slightMalfunction,

this warning is just because the Code Editor could not properly identify where the PyKDL package is, but when you run your program, ROS will be able to find it.

So, it is not something you did wrong, but it is something we, from The Construct, did wrong, not correctly fixing this false positive import error.

For the moment, you can just ignore this false import error message.

If the program fails to run, then yes, you can definitely reach us.

In any case, whenever you have some questions, feel free to post your questions here.

#KeepPushingYouROSLearning.

Hi @ralves !

My program ran just fine, even with the error. Well, as “fine” as my code let it run, that is. I obviously need to keep working on it. :smiley:

Thank you for your response and for your great learning environment!

1 Like