ros-perception / camera_info_manager_py

Subset of the C++ camera_info_manager ROS package for Python camera drivers
http://wiki.ros.org/camera_info_manager_py
7 stars 25 forks source link

To be able to import to other ros package, some c_i_m needs to be changed to c_i_m_py #17

Open StohanzlMart opened 1 year ago

StohanzlMart commented 1 year ago

like described here: https://roboticsbackend.com/ros-import-python-module-from-another-package/

Everything outside the code needs to be called c_u_m_py. camera_info_manager without the _py will make this package unable for clean imports into other packages.

especially in the init.py.

After I appended everything outside the camera_info_manager_py.py with the "_py" it finally worked to simply import camera_info_manager_py from another package without any additions to its CM-ake or pack-age.

IDK why IT needs to be that hard. Probably because