From 84cced48727ed315052f6a7eaa42cb20838939d0 Mon Sep 17 00:00:00 2001 From: Shingo Kitagawa Date: Thu, 13 Oct 2022 15:56:39 +0900 Subject: [PATCH] refactor and add launch_* args in fetch_bringup --- .../launch/fetch_bringup.launch | 253 +++++++++++------- 1 file changed, 153 insertions(+), 100 deletions(-) diff --git a/jsk_fetch_robot/jsk_fetch_startup/launch/fetch_bringup.launch b/jsk_fetch_robot/jsk_fetch_startup/launch/fetch_bringup.launch index 05522de9bc..0235c6627d 100644 --- a/jsk_fetch_robot/jsk_fetch_startup/launch/fetch_bringup.launch +++ b/jsk_fetch_robot/jsk_fetch_startup/launch/fetch_bringup.launch @@ -1,40 +1,66 @@ - + - + + + + + + + + - + + + + + + + + + + + - - - + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - @@ -43,7 +69,7 @@ + respawn="true" output="screen" if="$(arg launch_battery_warning)"> duration: 180 charge_level_threshold: 65.0 @@ -53,13 +79,15 @@ - + lang: japanese volume: 0.5 - + @@ -74,25 +102,30 @@ - - - - - - default_voice: $(arg default_english_speaker) - plugin: sound_play/flite_plugin - - + + + + + + + default_voice: $(arg default_english_speaker) + plugin: sound_play/flite_plugin + + + - - - - - - - - + + + + + + + + + + + @@ -100,7 +133,8 @@ - + @@ -123,18 +157,23 @@ - + - + - + + + @@ -179,13 +218,15 @@ - + - + @@ -197,16 +238,18 @@ - + - + interface_name: wlan0 - + @@ -255,14 +298,15 @@ - + vital_rate: 0.1 - + @@ -304,12 +348,13 @@ + output="screen" if="$(arg launch_build_map)" > - + luminance_threshold: 70 @@ -317,7 +362,8 @@ - + map_frame: /map base_frame: /base_link @@ -325,64 +371,71 @@ - + - - - - email_info: /var/lib/robot/email_topic.yaml - - - - - - - + + + + + email_info: /var/lib/robot/email_topic.yaml + + + + + + + + - + duration: 0.5 - - + + + + - - - - - run_stop_topic: robot_state - run_stop_condition: "m.runstopped is True" - seconds_to_start_speaking: 60 - speak_interval: 600 - language: $(arg default_warning_speaker) - ignore_time_after_runstop_is_enabled: 5.0 - ignore_time_after_runstop_is_disabled: 5.0 - - - - - - + + + + + + run_stop_topic: robot_state + run_stop_condition: "m.runstopped is True" + seconds_to_start_speaking: 60 + speak_interval: 600 + language: $(arg default_warning_speaker) + ignore_time_after_runstop_is_enabled: 5.0 + ignore_time_after_runstop_is_disabled: 5.0 + + + + + + +