turtlebot3 icon indicating copy to clipboard operation
turtlebot3 copied to clipboard

turtlebot3_navigation2 should not depend on nav2_bringup

Open brean opened this issue 8 months ago • 3 comments

Operating System:

Ubuntu

ROS version:

humble, jazzy, rolling

Turtlebot3 Model:

burger

Bug Description

As discussed here https://github.com/ros-navigation/navigation2/issues/5063

turtlebot3_navigation2 should not rely on nav2_bringup, as it has a dependency on gazebo which we don't want to install on actual hardware.

Steps to Reproduce

try to uninstall all gz-sim-packages, it will try to uninstall nav2 as well:

sudo apt remove ros-jazzy-ros-gz-sim

Suggestion

maybe create an own turtlebot3_nav2_bringup and/or create a launch file that copies the behavior of nav2_bringup but is not dependent on gz-sim

brean avatar Apr 08 '25 07:04 brean

Hello @brean I understand the issue. I will work on creating a separate TurtleBot3 Navigation2 launch. Thank you for the clarification.

GyuH13 avatar Apr 09 '25 00:04 GyuH13

@brean Thank you for waiting. After internal review, we’ve concluded that creating our own navigation launch files would lead to differences between the Humble and Jazzy versions. Also, it would be difficult for us to reflect updates from the official navigation repository, so creating our own launch files may not be feasible.

I personally recommend that you create a navigation launch file within the TurtleBot package yourself, so that you can use it without installing the nav2_bringup package. If you encounter any difficulties in doing so, I will help you! If you have any question about these, please reply in here. Thanks.

GyuH13 avatar May 16 '25 06:05 GyuH13

Hey @GyuH13 , the problem is that the dependency forces you to install all graphics dependencies (including gazebo) on the robot itself when you install the packages. Note that I didn't and don't want to touch any turtlebot3-code. I've only build the packages and if you want to provide the packages for the turtlebot at any point in the future you'll encounter the same problem. Interestingly you ignore the problem by just not installing/run on the robot instead the documentation says to just cloning the turtlebot3-repo and deleting the navigation-folder: https://emanual.robotis.com/docs/en/platform/turtlebot3/sbc_setup/ So just not installing the debian packages on the robot would also work. However I would love to see debian packages that you can install from the official ros-humble instead of building it on the robot which saves a lot of time, especially with only the 2 GB memory.

brean avatar May 16 '25 16:05 brean