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

[feature request] Run jupyter-ros on google colab #11

Open
talregev opened this issue Apr 9, 2019 · 12 comments
Open

[feature request] Run jupyter-ros on google colab #11

talregev opened this issue Apr 9, 2019 · 12 comments

Comments

@talregev
Copy link

talregev commented Apr 9, 2019

I was trying to get run it on google colab, but something is missing.
Can you help?
https://colab.research.google.com/drive/1QpSNBB339OoCJaVJ4_3bfikt0ygOC2NV

@wolfv
Copy link
Member

wolfv commented Apr 9, 2019

It seems like the ipywidgets are not installed / activated.

Running this

jupyter nbextension enable --py --sys-prefix widgetsnbextension

would hopefully do the trick.

@wolfv
Copy link
Member

wolfv commented Apr 9, 2019

Screenshot from 2019-04-09 13-41-25

@wolfv
Copy link
Member

wolfv commented Apr 9, 2019

works for me, but also had to run sudo apt install python-rosgraph.

@talregev
Copy link
Author

talregev commented Apr 9, 2019

Thanks, I will try.
Can you add a screenshot with the messages received?

@talregev
Copy link
Author

talregev commented Apr 9, 2019

I also get this.
I solved the graph problem, by add /opt/melodic/bin to PATH. but your solution is more elegant.
but i don't see the msgs.
Did you see them?

@talregev
Copy link
Author

talregev commented Apr 9, 2019

I update the file,
I run roscore in the background.
I run hello world ros python node in the back ground of string.
I can see the topic with rostopic list, and see the data in rostopic echo,
but I cannot see the msg inside the jr.subscribe only big button of stop.
Any suggestions?

Thanks for your help! :)

@decinho13
Copy link

I have the same issue as @talregev:
publishing with jupyros is possible but I cannot see the messages in jr.subscribe.
The same is for visual data like the output of ros3d.viewer. I was trying your TEB example, but after executing the cell, no visualization is seen?
Do you have some ideas how to solve the problem?

@talregev
Copy link
Author

How is your library connected to ros?
Like web-socket?
I don't know how to fix this problem.
But if you succeeded, you will have powerful tool to show the people how your library is work without install any environment on their computer.

@wolfv
Copy link
Member

wolfv commented Jun 23, 2019

I think you should demand google colab to support the real jupyter widgets protocol: googlecolab/colabtools#60

@talregev
Copy link
Author

I read the issue on google colab.
I think google add manually separately each widget.
Can you make a list here all the widgets the lib is using and I will add the request in the relevant issues?

Thanks for your help.

@douglasmacharet
Copy link

Hi, has this advanced somehow?

I totally agree with @talregev, being able to run ros on colab would be extremely helpful, specially on this time of online learning.

@GustavoLLima
Copy link

Hi everyone.

Any progress on this issue? I copied the notebook from @talregev but it didn't work, ros wasn't able to run.

I agree with @douglasmacharet, run ros on colab would be an extremely contribution...

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

5 participants