ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

Navigation 2 unexpected keyword argument 'noninteractive

asked 2020-12-26 19:25:02 -0500

mjwhite gravatar image

I get the following error while following the Navigation2 tutorial and launching simulation

ros2 launch nav2_bringup

Traceback (most recent call last):
  File "/opt/ros/foxy/bin/ros2", line 33, in <module>
    sys.exit(load_entry_point('ros2cli==0.10.1', 'console_scripts', 'ros2')())
  File "/opt/ros/foxy/lib/python3.8/site-packages/ros2cli/", line 67, in main
    rc = extension.main(parser=parser, args=args)
  File "/opt/ros/foxy/lib/python3.8/site-packages/ros2launch/command/", line 159, in main
    return launch_a_launch_file(
  File "/opt/ros/foxy/lib/python3.8/site-packages/ros2launch/api/", line 151, in launch_a_launch_file
    launch_service = launch.LaunchService(
TypeError: __init__() got an unexpected keyword argument 'noninteractive,

I've installed all of the required packages, source the environment, and exported the variables.

Can anyone help with this?

edit retag flag offensive close merge delete


Additional info:

ros2 launch nav2_bringup --show-args

Arguments (pass arguments as '<name>:=<value>'):

        Top-level namespace
        (default: '')

        Whether to apply a namespace to the navigation stack
        (default: 'false')

        Whether run a SLAM
        (default: 'False')

        Full path to map file to load
        (default: '/opt/ros/foxy/share/nav2_bringup/maps/turtlebot3_world.yaml')

        Use simulation (Gazebo) clock if true
        (default: 'true')

        Full path to the ROS2 parameters file to use for all launched nodes
        (default: '/opt/ros/foxy/share/nav2_bringup/params/nav2_params.yaml')

    Full path to the behavior tree xml file to use
    (default: '/opt/ros/foxy/share/nav2_bt_navigator/behavior_trees/navigate_w_replanning_and_recovery.xml')

    Automatically startup the nav2 stack
    (default: 'true')

    Full path to the RVIZ config file to use
    (default: '/opt/ros/foxy/share/nav2_bringup/rviz/nav2_default_view.rviz')

    Whether to start the simulator
    (default: 'True')

    Whether to start the robot state publisher
    (default ...
mjwhite gravatar image mjwhite  ( 2020-12-26 19:35:08 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2022-02-22 02:24:30 -0500

saitoros gravatar image

I've met same situation. In my case it was solved with re-build target package.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools



Asked: 2020-12-26 19:25:02 -0500

Seen: 315 times

Last updated: Feb 22 '22