-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #717 from knorth55/smach-register-exit-signal
[roseus_smach] add exit-state in state-machine and execute exit-state when Ctrl-C
- Loading branch information
Showing
5 changed files
with
56 additions
and
5 deletions.
There are no files selected for viewing
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,14 @@ | ||
<launch> | ||
<arg name="gui" default="true" /> | ||
<arg name="userdata" default="true" /> | ||
|
||
<node name="exec_smach_exit_state" pkg="roseus_smach" type="state-machine-ros-sample.l" | ||
args=""(exec-smach-exit-state)"" unless="$(arg userdata)" output="screen" /> | ||
|
||
<node name="exec_smach_userdata_exit_state" pkg="roseus_smach" type="state-machine-ros-sample.l" | ||
args=""(exec-smach-userdata-exit-state)"" if="$(arg userdata)" output="screen" /> | ||
|
||
<node name="$(anon smach_viewer)" pkg="smach_viewer" type="smach_viewer.py" | ||
if="$(arg gui)" /> | ||
|
||
</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
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
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
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