-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bash alias 'ntmux' to autostart a tmux session, or join one, called '…
…auto' that is setup for Navigator runs
- Loading branch information
Showing
2 changed files
with
20 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,19 @@ | ||
#!/bin/bash | ||
if tmux has-session -t auto; then | ||
tmux a -t auto | ||
else | ||
tmux new-session -d -s auto | ||
tmux send-keys -t auto:0.0 'roslaunch navigator_launch master.launch --screen' Enter | ||
tmux split-window -h -t auto | ||
tmux split-window -v -t auto | ||
tmux new-window -t auto | ||
tmux split-window -h -t auto:1 | ||
tmux split-window -v -t auto:1 | ||
tmux split-window -v -t auto:1.0 | ||
sleep 1.5 | ||
tmux send-keys 'amonitor kill' Enter | ||
tmux split-window -h | ||
tmux send-keys 'amonitor hw-kill' Enter | ||
tmux select-pane -t auto:1.0 | ||
tmux a -t auto | ||
fi |
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