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

Why Turtlebot3_navigation2 launch file different from Github [closed]

asked 2020-12-16 20:28:31 -0600

SteveYK gravatar image

I'm using ros2 foxy in ubuntu 20.04 when I check the turtlebot3_navigation2 launch file by typing command

vi /opt/ros/foxy/share/turtlebot3_navigation2/launch/navigation2.launch.py

find this code PythonLaunchDescriptionSource([nav2_launch_file_dir, '/nav2_bringup_launch.py'])

was different from github turtlebot3_navigation2 foxy-devel branch

PythonLaunchDescriptionSource([nav2_launch_file_dir, '/bringup_launch.py'])

here the link github turtlebot3_navigation2

I have already check my ros version is foxy, and use sudo apt install ros-foxy-turtlebot3 to install

Is there any way to inspect my turtlebot3_navigation2 git version in path /opt/ros/foxy/share/turtlebot3_navigation2 ?

Why this problem occur?

Thanks for help.

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by SteveYK
close date 2020-12-20 19:53:18.861507

1 Answer

Sort by ยป oldest newest most voted
1

answered 2020-12-18 13:26:39 -0600

William gravatar image

updated 2020-12-18 13:27:07 -0600

According to http://repo.ros2.org/status_page/ros_... the latest version (as of writing this) is 2.1.0, comparing that with foxy-devel using github I see lots of commits (19 at the moment):

https://github.com/ROBOTIS-GIT/turtle...

Including the commit that changed the line you are referencing:

https://github.com/ROBOTIS-GIT/turtle...

What this means is that they have committed these changes to foxy-devel intending for them to be part of foxy eventually, but they have not done a release for foxy since then and therefore the changes you see on GitHub are not reflected in the latest foxy binaries. If you want to compare what you have from your binary with the source code, use one of these two links:

I recommend the first one, but it's possible there are patches included in the second one that aren't the upsteam source. In this case I still recommend the first link.

edit flag offensive delete link more

Comments

Thanks, I think it solved my problem.

SteveYK gravatar image SteveYK  ( 2020-12-20 19:51:37 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2020-12-16 20:28:31 -0600

Seen: 459 times

Last updated: Dec 18 '20