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

Custom ROS Messages import from ROS MODULE in CATKIN workspace #32

Closed
rikobrandes opened this issue Aug 21, 2019 · 4 comments
Closed

Custom ROS Messages import from ROS MODULE in CATKIN workspace #32

rikobrandes opened this issue Aug 21, 2019 · 4 comments

Comments

@rikobrandes
Copy link

I would like to import custom ROS message types definitions from another ROS module lying in the same catkin workspace as the jupyter notebook. Anyone knows how to do that?

Actually it would be great to run the jupyter-ros notebook as catkin module, to realize a live monitoring node of the stack. Any ideas?

Thanks a lot.

Riko

@rikobrandes
Copy link
Author

Solved. My script that sourced the catkin_ws had an error.

@wolfv
Copy link
Member

wolfv commented Aug 22, 2019

awesome!

@koksyuen
Copy link

So, how do you actually solve it? Because I'm still unable to import my ROS custom message in Jupyter Notebook
How do you source catkin_ws within that Jupyter Notebook (ipynb)?

@wolfv
Copy link
Member

wolfv commented Nov 19, 2021

I think you need to modify the PYTHONPATH or run the kernel generator to create a custom kernel that sets these values properly (there is a little bit of docs here: https://jupyter-ros.readthedocs.io/en/latest/installation.html)

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

3 participants