ROS2 Basics in 5 Days (Python), ROS version changed from humble to foxy

I was working on the rosject for the course project ros basic in 5 days and from one day to the next the ros version changed from humble to foxy. Now even basic thing like “ros2 service list” don’t work (I did “source /opt/ros/foxy/setup.sh”). I tried deleting the whole thing and recopying the original rosject but it is now foxy.
Any suggestion?

Hi @sebrowson ,

Welcome to this Community!

You can change it back to Humble from Foxy. Please follow the below steps:

  1. Backup your exiting rosject files by downloading the ~/ros2_ws/src folder, right click on src folder on your IDE and click download and save to your computer.
  2. Go to your “My Rosjects” page on your dashboard and click on the rosject icon of this rosject. DO NOT CLICK ON RUN!
  3. Once you click on the rosject, it will load a new screen that shows the notebook of this rosject. In this page you will find an “Edit” button on the top-right side, next to the rosject image. It is a small pencil icon.
  4. Once you click on that pencil icon, it will take you to a new page with 4 text boxes, ROS Distro, Name, Description, Tags.
  5. On the ROS Distro field you will find ROS2 Humble when you click on the dropdown menu.
  6. Choose ROS2 Humble and click on save. The “Save” button is on the top right side.
  7. Go back to your “My Rosjects” page and now RUN the rosject.
  8. This time, your rosject will start with ROS2 Humble.

Please let me know if this fixed your issue.

Regards,
Girish

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.