forked from jsk-ros-pkg/jsk_robot
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[jsk_robot_startup] add launch file for smach_to_mail
- Loading branch information
Showing
2 changed files
with
42 additions
and
15 deletions.
There are no files selected for viewing
27 changes: 27 additions & 0 deletions
27
jsk_robot_common/jsk_robot_startup/launch/smach_to_mail.launch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<launch> | ||
<arg name="use_mail" default="true" /> | ||
<arg name="use_twitter" default="true" /> | ||
<arg name="use_google_chat" default="true" /> | ||
<arg name="email_sender_address" default="" /> | ||
<arg name="email_receiver_address" default="" /> | ||
<arg name="google_chat_space" default="" /> | ||
<arg name="namespace" default="smach_to_mail" /> | ||
|
||
<group if="$(arg use_mail)" ns="$(arg namespace)"> | ||
<param name="sender_address" value="$(arg email_sender_address)" /> | ||
<param name="receiver_address" value="$(arg email_reveiver_address)" /> | ||
</group> | ||
<group if="$(arg use_google_chat)" ns="$(arg namespace)"> | ||
<param name="google_chat_space" value="$(arg google_chat_space)" /> | ||
</group> | ||
|
||
<node name="$(arg namespace)" pkg="jsk_robot_startup" type="smach_to_mail.py" output="screen"> | ||
<rosparam subst_value="true"> | ||
use_mail: $(arg use_mail) | ||
use_twitter: $(arg use_twitter) | ||
use_google_chat: $(arg use_google_chat) | ||
</rosparam> | ||
</node> | ||
|
||
</launch> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters