-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
edc8f94
commit 320514d
Showing
2 changed files
with
60 additions
and
0 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,41 @@ | ||
#!/bin/bash -e | ||
|
||
|
||
echo "Please make sure that roscore is launched using launch_aurmr_core.sh" | ||
|
||
echo "starting robot ..." | ||
ssh emmons tmux new-session -d -s aurmr-emmons | ||
ssh emmons tmux send-keys -t aurmr-emmons:0 "activate\ ToF" C-m | ||
ssh emmons tmux send-keys -t aurmr-emmons:0 "roslaunch\ tahoma_bringup\ tahoma_bringup.launch\ gui:=False" C-m | ||
sleep 1 | ||
echo -n "done" | ||
echo "" | ||
|
||
echo "starting perception ..." | ||
tmux new-session -d -s aurmr-inter | ||
ssh inter tmux send-keys -t aurmr-inter:0 "activate\ aurmr_demo_perception" C-m | ||
ssh inter tmux send-keys -t aurmr-inter:0 "roslaunch\ aurmr_perception\ aurmr_perception_clustering.launch\ grasp_type:=centroid" C-m | ||
sleep 1 | ||
echo -n "done" | ||
echo "" | ||
|
||
echo "starting statemachine ..." | ||
ssh emmons tmux new-window -t aurmr-emmons | ||
ssh emmons tmux send-keys -t aurmr-emmons:1 "activate\ ToF" C-m | ||
ssh emmons tmux send-keys -t aurmr-emmons:1 "cd\ /home/aurmr/workspaces/ToF/src/aurmr_tahoma/aurmr_tasks/scripts" C-m | ||
ssh emmons tmux send-keys -t aurmr-emmons:1 "python\ aurmr_demo" | ||
sleep 3 | ||
ssh emmons tmux send-keys -t aurmr-emmons:1 "C-m" | ||
echo -n "done" | ||
echo "" | ||
|
||
|
||
echo "starting stowing script ..." | ||
ssh inter tmux split-window -t aurmr-inter | ||
ssh inter tmux send-keys -t aurmr-inter:0 "activate\ aurmr_demo_perception" C-m | ||
ssh inter tmux send-keys -t aurmr-inter:0 "cd\ /home/aurmr/workspaces/aurmr_demo_perception" C-m | ||
ssh inter tmux send-keys -t aurmr-inter:0 "./simple_pick_and_stow_cli.py\ stow" | ||
echo -n "done" | ||
echo "" | ||
|
||
tmux att |
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,19 @@ | ||
#!/bin/bash -e | ||
|
||
|
||
|
||
echo "starting roscore ..." | ||
tmux new-session -d -s aurmr-inter-core | ||
tmux send-keys -t aurmr-inter-core:0 "activate aurmr_demo_perception" C-m | ||
tmux send-keys -t aurmr-inter-core:0 "roscore" C-m | ||
|
||
sleep 1 | ||
echo -n "done" | ||
|
||
echo "starting azure kinect ..." | ||
tmux new-window -t aurmr-inter-core | ||
tmux send-keys -t aurmr-inter-core:1 "activate aurmr_demo_perception" C-m | ||
tmux send-keys -t aurmr-inter-core:1 "roslaunch azure_kinect_ros_driver driver.launch point_cloud:=True" C-m | ||
echo -n "done" | ||
|
||
tmux att |