-
Notifications
You must be signed in to change notification settings - Fork 19
/
pi.screenrc
executable file
·83 lines (62 loc) · 2.4 KB
/
pi.screenrc
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
#
# various settings suggested by other users
#
# derived from the Paradox pair programming screenrc, UChicago 2010
# ~ yes, we are all total newbs ~
#
shell /bin/bash
startup_message off
#defscrollback 5000
defscrollback 5000
escape ``
# this hard status was stolen from the net, all credit goes to its originator
hardstatus alwayslastline
#hardstatus string '%{= mK}%-Lw%{= KW}%50>%n%f* %t%{= mK}%+Lw%< %{= kG}%-=%D %d %M %Y %c:%s%{-}'
hardstatus string '%{= kG}[ %{G}%H %{g}][%= %{= kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][%{B} %d/%m %{W}%c %{g}]'
# A hint for using multiuser mode: make sure that both parties have identically
# sized terminals, otherwise there could be graphical mismatches and undrawn text
# for one party :( .
# turn multiuser mode on so others can connect.
multiuser on
# add the specified user to this screen session so that they can connect.
# the initiating user is allowed automatically, but add both so either can
# run this script without modification.
# Starts a new screen with title " MAKE"
# this is basically equivalent to pressing the following from within screen:
# `c (starts a new window)
# `:title " MAKE" (sets the title to " MAKE")
#screen -t " MAKE"
#stuff "unset STY\n"
#stuff "screen\n"
screen -t "rcore"
stuff "roscore\n"
stuff ""
screen -t "FC"
stuff "cd $(rospack find pidrone_pkg)/scripts/\n"
stuff "python flight_controller_node.py" # We require this be started manually
screen -t "PID"
stuff "cd $(rospack find pidrone_pkg)/scripts/\n"
stuff "python pid_controller.py\n"
screen -t "SE"
stuff "cd $(rospack find pidrone_pkg)/scripts/\n"
stuff "python state_estimator.py -p ema\n"
screen -t "Vision"
stuff "cd $(rospack find pidrone_pkg)/scripts\n"
stuff "sleep 10s && roslaunch --wait pidrone_pkg raspicam_node.launch\n"
screen -t "Optical Flow"
stuff "cd $(rospack find pidrone_pkg)/scripts\n"
stuff "python optical_flow_node.py\n"
screen -t "Rigid Transform"
stuff "cd $(rospack find pidrone_pkg)/scripts\n"
stuff "python rigid_transform_node.py"
screen -t "TOF"
stuff "cd $(rospack find pidrone_pkg)/scripts/\n"
stuff "python tof_node.py\n"
screen -t "rosbridge"
stuff "roslaunch --wait rosbridge_server rosbridge_websocket.launch\n"
screen -t "web_vid_serv"
stuff "rosrun web_video_server web_video_server"
screen -t "free1"
stuff "cd $(rospack find pidrone_pkg)/scripts/\n"
screen -t "free2"
stuff "cd $(rospack find pidrone_pkg)/scripts/\n"