Cannot import custom python module in custom python pkg

asked 2019-05-28 05:51:01 -0500

eMrazSVK gravatar image

updated 2019-05-28 09:24:35 -0500

Hello everyone,

I followed documentation for creating ROS package in Python. Especially the part where I need to write setup.py, so my modules get recognized. I am still getting error ImportError: No module named ae_drone.control.rs_aruco_tf. I also took a look at some already existing packages, like this one and it seems to me, that the structure is same as mine.

My pkg is here: GitHub to my sample pkg

I deleted everything from there, just kept it clean - just to see the structure.

Could anyone advise me please?

Thank you and have a nice day!

P.S.: I am using catkin build

EDIT: I noticed the typo in ae_drone . control.rs_aruco_tf instead of ae_drone.control _ rs_aruco_tf (spaces added intentionally for good visibility). I changed it in my git repository. Still no success.

edit retag flag offensive close merge delete

Comments

Can you post your CMakeList.txt file?

mch gravatar imagemch ( 2019-06-07 20:07:20 -0500 )edit