Code Monkey home page Code Monkey logo

Comments (2)

wolfv avatar wolfv commented on August 17, 2024

I agree, jupyter-ros still has some rough edges.
Restarting the kernel will definitely kill the process + node.

However, the usual way of working in Jupyter is to re-run a cell – which doesn't really map that well to ROS development. We might need to improve the handling of jupyter-ros in this regard.

Do you have some toy code to share along which we could try to come up with better workflows?

from jupyter-ros.

pitosalas avatar pitosalas commented on August 17, 2024

Yes I do have toy code, simple examples which are a "transcript" of some of the tf2 tutorials on the ros.org wiki.

For me the confusion is that there's no way to tell whether a node is still running so I will re-run a cell and nothing will happen. I assume because the node is still running from before. The other smaller confusion was just that I didn't realize that I needed to have roscore launched separately.

As I am sure you know, the notebook paradigm that jupyter-ros follows is very different from what we aer used to: no separate terminal tabs, no .launch files, what is the current directory that is active while a notebook is running, etc.

So from my beginners viewpoint I feel like would be useful is:

  1. A way to have roscore run without having to launch it in a terminal (== roscore)
  2. When a jr.subcribe is re-issued on the same topic, don't throw an error, but handle it correctly
  3. A way to know which nodes are running at any point (== rosnodes list)
  4. A way to start and restart and check status of running node from within notebook

Just some guesses!

from jupyter-ros.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.