ROS 2 Foxy's Jupyter Notebooks language in Python 2?

Hi all,

I’m currently trying to develop a drone in ROS 2’s Foxy distribution, but I’m having trouble understanding something with the Jupyter notebooks. After I create a new Rosject with the Foxy distribution, I go to open up the Jupyter tab and it shows that the programming language is Python 2.

From what I understand, all ROS 2 versions use Python 3 exclusively. Is this something I should be worried about or will the rest of the development environment work fine with the new version? I haven’t been able to find a way to change Jupyter’s settings to Python 3 (If that’s possible, I’ve never used Jupyter before).

Any help would be greatly appreciated!

Hello @jgermann2017 ,

You are right, ROS2 works with Python3. And yes, everything else is in the Foxy environment is working with Python3, don’t worry about that. You can use the notebooks in rosjects like a guide to use the rosject, as a kind of README. However, that’s a good point and we will look into updating the notebook’s version to Python3 for these environments.