now can choose which topics to bag in the control pannel
This commit is contained in:
27
launch.bash~
Normal file
27
launch.bash~
Normal file
@@ -0,0 +1,27 @@
|
||||
#!/bin/bash
|
||||
|
||||
|
||||
kill_child_processes() {
|
||||
isTopmost=$1
|
||||
curPid=$2
|
||||
childPids=`ps -o pid --no-headers --ppid ${curPid}`
|
||||
for childPid in $childPids
|
||||
do
|
||||
kill_child_processes 0 $childPid
|
||||
done
|
||||
if [ $isTopmost -eq 0 ]; then
|
||||
kill -9 $curPid 2> /dev/null
|
||||
fi
|
||||
}
|
||||
|
||||
# Ctrl-C trap. Catches INT signal
|
||||
trap "kill_child_processes 1 $$; exit 0" INT
|
||||
|
||||
chmod a+x src/bagger.py
|
||||
|
||||
x-terminal-emulator -e "roslaunch rosbridge_gui_example all.launch" &
|
||||
x-terminal-emulator -e "python -m SimpleHTTPServer 8000" &
|
||||
x-terminal-emulator -e "rostopic echo /bag_notifier" &
|
||||
x-terminal-emulator -e "rosrun web_video_server web_video_server"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user