Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 this issue Nov 29, 2022 · 0 comments

Comments

@StohanzlMart
Copy link

StohanzlMart commented Nov 29, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant