From 41634d566519c892e7f84ed0cc0f3bcf09f327e5 Mon Sep 17 00:00:00 2001 From: Naoya Yamaguchi <708yamaguchi@gmail.com> Date: Wed, 15 Jul 2020 14:48:10 +0900 Subject: [PATCH] Use the name of the safe teleop input topics with args --- .../jsk_fetch_startup/launch/fetch_teleop.xml | 20 +++++++------ .../jsk_pr2_move_base/safe_teleop.xml | 16 +++++----- .../launch/safe_teleop.launch | 30 +++++++++++-------- 3 files changed, 38 insertions(+), 28 deletions(-) diff --git a/jsk_fetch_robot/jsk_fetch_startup/launch/fetch_teleop.xml b/jsk_fetch_robot/jsk_fetch_startup/launch/fetch_teleop.xml index 74ff189f16..164376fbc8 100644 --- a/jsk_fetch_robot/jsk_fetch_startup/launch/fetch_teleop.xml +++ b/jsk_fetch_robot/jsk_fetch_startup/launch/fetch_teleop.xml @@ -1,5 +1,4 @@ - @@ -31,7 +30,17 @@ - + + + + + + + @@ -64,13 +73,6 @@ footprint_padding: 0.05 - - - diff --git a/jsk_pr2_robot/jsk_pr2_startup/jsk_pr2_move_base/safe_teleop.xml b/jsk_pr2_robot/jsk_pr2_startup/jsk_pr2_move_base/safe_teleop.xml index 9bb6c1341e..cd2a350caa 100644 --- a/jsk_pr2_robot/jsk_pr2_startup/jsk_pr2_move_base/safe_teleop.xml +++ b/jsk_pr2_robot/jsk_pr2_startup/jsk_pr2_move_base/safe_teleop.xml @@ -22,7 +22,16 @@ + + + + + @@ -33,13 +42,6 @@ - - - + + + + + + - + - - + + - + + args="/teleop/cmd_vel /teleop/cmd_vel/safe $(arg teleop_topic)"> + args="/joy 'm.buttons[9]==1' $(arg teleop_topic) /joy 'm.buttons[9]==0' /teleop/cmd_vel/safe"> - + - - + + - + + args="/joy 'm.buttons[10]==1' /teleop/cmd_vel $(arg navigation_topic) 'True' $(arg navigation_topic)"> + args="/base_controller/command_unchecked /input_vel/safe $(arg navigation_topic) /teleop/cmd_vel">