-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbutton_cmds.yaml
28 lines (24 loc) · 811 Bytes
/
button_cmds.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Define button commands in this file
# If set to False, a button cannot be pressed twice in a row.
# Can be used to force alternation between to buttons, e.g. when doing `start recording`
# - `stop recording` tasks.
repeat_same_button : False
# Minimum duration in seconds to pass between two buttons pressed.
# Can be used to control the rate of pressing.
button_sleep: 1.0
# Define which commands to execute on pressing buttons
button_cmds :
[
# button 0
"rosbag record /spacenav/twist -o my_bag __name:=my_baggi",
# button 1
"rosnode kill my_baggi"
]
# Directories where the commands are executed
cmd_dirs :
[
# command 0
"",
# command 1
""
]