ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Can I mix packages from foxy and humble?

asked 2023-04-23 13:29:04 -0500

Nartmangnourt gravatar image

updated 2023-05-07 06:48:29 -0500

Mike Scheutzow gravatar image

Hey Community,

currently i using ROS2 Foxy and ROS1 Noetic on the same PC. In the beginning I wanted to use Humble but it only supports Ubuntu 22.04. In order to use ROS1 noetic and ROS2 distribution, i have to use foxy. Now i have noticed that ros2 foxy only smac planner

My question:

I downloaded the ros2 nav2 stack in my underlay directory /opt/ros/foxy/. So i assume that it is not enough just to download the packages (Controller and planner), add them to the share folder and make changes to the package.xml and cmakelist right? For instance, the folders are named different (Example: Humble -> nav2_smac_planner && Foxy ->smac_planner). Also i think i have to create a overlay workspace for the ros2 nav2.

-->In general, can i add the planners and controllers in my ros2 foxy system or are they only supported for humble?<--

Thank you very much !

edit retag flag offensive close merge delete

Comments

I edited your title to make it more specific.

Mike Scheutzow gravatar image Mike Scheutzow  ( 2023-05-07 06:49:24 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
2

answered 2023-04-24 07:53:58 -0500

Per Edwardsson gravatar image

In general, the packages that rely on a later version of ROS are not downgradable to anything below it. You will need to change the source code to make it compile and work in the same way, which might be complex or even impossible.

edit flag offensive delete link more

Comments

Hey Per Edwardsson,

thanks a lot for your answer. I believe i will just use the planner and controller which are available for ros2 foxy.

I really appreciate your help ;)

Nartmangnourt gravatar image Nartmangnourt  ( 2023-04-24 07:57:33 -0500 )edit

Question Tools

2 followers

Stats

Asked: 2023-04-23 13:29:04 -0500

Seen: 812 times

Last updated: May 07 '23