...
POST No. 2408020
Turtledot3 Dashing binary install has an incorrect Navigation 2 launch file
2021-02-18 07:11:09 edcepp

Configuration

  TB3 Burger

  Remote PC Dashing on Ubuntu 18.04


Activity

  eManual 3.1.4 - Install TurtleBot3 Packages

  Doing the binary install


Problem

1)  The turtlebot3_namigation2 navigation2.launch.py file is defective in the TurtleBot3 Packages. 


Evidence


$ ros2 launch turtlebot3_navigation2 navigation2.launch.py map:=$HOME/study20210216a.yaml 

[INFO] [launch]: All log files can be found below /home/eepp/.ros/log/2021-02-16-10-57-04-177128-sisters-13519

[INFO] [launch]: Default logging verbosity is set to INFO

[ERROR] [launch]: Caught exception in launch (see debug for traceback): [Errno 2] No such file or directory: '/opt/ros/dashing/share/nav2_bringup/launch/bringup_launch.py'



Investigation

Move to the Navigation 2 launch directory for the source distribution

$ pwd

 /home/eepp/turtlebot3_ws/src/turtlebot3/turtlebot3_navigation2/launch


Do a difference on the source distribution launch file and the binary version

$ diff navigation2.launch.py /opt/ros/dashing/share/turtlebot3_navigation2/launch/navigation2.launch.py

51c51

<         'launch',

---

>         'rviz',

71c71

<             PythonLaunchDescriptionSource([nav2_launch_file_dir, '/nav2_bringup_launch.py']),

---

>             PythonLaunchDescriptionSource([nav2_launch_file_dir, '/bringup_launch.py']), eepp@sisters:launch$ 


Fix


The navigation2.launch.py launch file in the binary release is incorrect. Fix by copying the one from the source release into its place or edit the binary release version to match the source release version

2021-02-18 07:11:09
edcepp
2021-02-18 18:21:13 Will Son

Hi,


Thank you for reporting the issue.

I'll check with this as I still see "nav2_bringup_launch.py" in the Dashing devel of Navigation2 repository below.

https://github.com/ros-planning/navigation2/tree/dashing-devel/nav2_bringup/launch


Once it is confirmed that they have also removed the "nav2" prefix, I'll update the file and release it.

Thank you for your contribution!

2021-02-18 18:21:13
willson
Reply
웹에디터 시작 웹 에디터 끝