From 59ebfcec34b478bf4cfbb32eea55d35ec9568562 Mon Sep 17 00:00:00 2001 From: Steve Macenski Date: Thu, 1 Feb 2024 16:05:45 -0800 Subject: [PATCH] remap behavior cmd_vel to cmd_vel_nav to not bypass cmd pipeline (#4093) --- nav2_bringup/launch/navigation_launch.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nav2_bringup/launch/navigation_launch.py b/nav2_bringup/launch/navigation_launch.py index 36cf6384cd..84d63e026c 100644 --- a/nav2_bringup/launch/navigation_launch.py +++ b/nav2_bringup/launch/navigation_launch.py @@ -165,7 +165,7 @@ def generate_launch_description(): respawn_delay=2.0, parameters=[configured_params], arguments=['--ros-args', '--log-level', log_level], - remappings=remappings, + remappings=remappings + [('cmd_vel', 'cmd_vel_nav')], ), Node( package='nav2_bt_navigator', @@ -256,7 +256,7 @@ def generate_launch_description(): plugin='behavior_server::BehaviorServer', name='behavior_server', parameters=[configured_params], - remappings=remappings, + remappings=remappings + [('cmd_vel', 'cmd_vel_nav')], ), ComposableNode( package='nav2_bt_navigator',