forked from h2r/pidrone_pkg
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpi.screenrc
More file actions
executable file
·135 lines (108 loc) · 3.65 KB
/
pi.screenrc
File metadata and controls
executable file
·135 lines (108 loc) · 3.65 KB
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
#
# various settings suggested by other users
#
# derived from the Paradox pair programming screenrc, UChicago 2010
# ~ yes, we are all total newbs ~
#
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.
#acladd gen
acladd oberlin
acladd stefie10
# 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"
#stuff "screen"
screen -t " roscore"
stuff "source setup.sh"
stuff "roscore"
stuff ""
screen -t " mode_controller"
stuff "source setup.sh"
stuff "cd $(rospack find pidrone_pkg)/scripts"
stuff "python mode_controller.py" # starting mode controller automatically is unsafe
screen -t " command_line_interface"
stuff "source setup.sh\n"
stuff "cd $(rospack find pidrone_pkg)/scripts/\n"
stuff "python command_line_interface.py\n"
screen -t " flight_controller"
stuff "source setup.sh\n"
stuff "cd $(rospack find pidrone_pkg)/scripts/\n"
stuff "python flight_controller_node.py\n"
screen -t " pid_controller"
stuff "source setup.sh\n"
stuff "cd $(rospack find pidrone_pkg)/scripts/\n"
stuff "python pid_controller.py\n"
screen -t " state_estimator"
stuff "source setup.sh\n"
stuff "cd $(rospack find pidrone_pkg)/scripts/\n"
stuff "python state_estimator.py\n"
screen -t " vision"
stuff "source setup.sh\n"
stuff "cd $(rospack find pidrone_pkg)/scripts\n"
stuff "python vision_flow_and_phase.py\n"
screen -t " infrared"
stuff "source setup.sh\n"
stuff "cd $(rospack find pidrone_pkg)/scripts/\n"
stuff "python infrared_pub.py\n"
screen -t " rosbridge"
stuff "source setup.sh"
stuff "sleep 10s && roslaunch rosbridge_server rosbridge_websocket.launch"
screen -t " web_video_server"
stuff "source setup.sh"
stuff " rosrun web_video_server web_video_server"
screen -t " vim"
stuff "source setup.sh\n"
stuff "cd $(rospack find pidrone_pkg)/scripts\n"
stuff "vim -p flow_pub_transform.py state_controller.py pid_class.py\n"
screen -t " emacs"
stuff "source setup.sh\n"
stuff "cd $(rospack find pidrone_pkg)/scripts\n"
stuff "emacs\n"
screen -t " free"
stuff "source setup.sh"
stuff "cd $(rospack find pidrone_pkg)/scripts/"
screen -t " throttle_ir"
stuff "source setup.sh\n"
stuff "cd $(rospack find pidrone_pkg)/scripts\n"
stuff "rosrun topic_tools throttle messages /pidrone/infrared 10.0\n"
screen -t " throttle_imu"
stuff "source setup.sh\n"
stuff "cd $(rospack find pidrone_pkg)/scripts\n"
stuff "rosrun topic_tools throttle messages /pidrone/imu 10.0\n"
screen -t " throttle_optical_flow"
stuff "source setup.sh\n"
stuff "cd $(rospack find pidrone_pkg)/scripts\n"
stuff "rosrun topic_tools throttle messages /pidrone/picamera/twist 10.0\n"
screen -t " throttle_camera_pose"
stuff "source setup.sh\n"
stuff "cd $(rospack find pidrone_pkg)/scripts\n"
stuff "rosrun topic_tools throttle messages /pidrone/picamera/pose 15.0\n"