@@ -28,13 +28,76 @@ sudo apt-mark hold librealsense2 librealsense2-dev
2828```
2929
3030### supervisor
31+ Important jobs for fetch operation are managed by supervisor.
32+
33+ Here is a list of jobs that are managed by supervisor.
34+
35+ - roscore
36+
37+ Start roscore
38+
39+ - robot
40+
41+ Launch Minimum ROS programs to run fetch
42+
43+ - jsk-fetch-startup
44+
45+ Launch ROS programs extended by JSK
46+
47+ - jsk-network-monitor
48+
49+ Restart the network manager automatically if ping does not work.
50+
51+ - jsk-log-wifi
52+
53+ Monitor network condition
54+
55+ - jsk-app-scheduler
56+
57+ Scheduler to launch [ app] ( https://github.com/knorth55/app_manager_utils/tree/master/app_scheduler ) at a fixed time
58+
59+ - jsk-object-detector
60+
61+ Object detection using fetch's head camera and [ coral_usb_ros] ( https://github.com/knorth55/coral_usb_ros )
62+
63+ - jsk-panorama-object-detector:
64+
65+ Object detection using fetch's 360 camera and [ coral_usb_ros] ( https://github.com/knorth55/coral_usb_ros )
66+
67+ - jsk-human-pose-estimator
68+
69+ Human pose estimation using fetch's head camera and [ coral_usb_ros] ( https://github.com/knorth55/coral_usb_ros )
70+
71+ - jsk-panorama-human-pose-estimator
72+
73+ Human pose estimation using fetch's 360 camera and [ coral_usb_ros] ( https://github.com/knorth55/coral_usb_ros )
74+
75+ - jsk-dialog
76+
77+ Launch [ dialogflow_task_exective] ( https://github.com/jsk-ros-pkg/jsk_3rdparty/tree/master/dialogflow_task_executive )
78+
79+ - jsk-gdrive
80+
81+ Launch [ app] ( https://github.com/knorth55/app_manager_utils/tree/master/app_uploader ) to upload data to Goole Drive
82+
83+ - jsk-dstat
84+
85+ Monitor fetch's resource using dstat command
86+
87+ - jsk-lifelog
88+
89+ Launch program to save fetch's [ lifelog] ( https://github.com/jsk-ros-pkg/jsk_robot/tree/master/jsk_robot_common/jsk_robot_startup/lifelog )
90+
91+
3192Install supervisor config files. e.g. ` robot.conf ` , ` jsk_fetch_startup.conf ` ...
3293
3394```
3495su -c 'rosrun jsk_fetch_startup install_supervisor.sh'
3596```
3697
37- To show supervisor job status, access ` supervisor.FETCH_FQDN ` by web browser.
98+ To show or change supervisor job status, access ` supervisor.FETCH_FQDN ` by web browser.
99+
100+ Previously, upstart was used, but it has been moved to supervisor. This is because of the convenience of job management via a web browser.
38101
39102![ supervisor_status] ( https://user-images.githubusercontent.com/19769486/119499716-f142c000-bda1-11eb-9b96-0cfa7e04a1b2.png )
40103
@@ -77,13 +140,12 @@ The numbers assigned to the joystick are as follows.
77140
78141### re-roslaunch jsk_fetch_startup fetch_bringup.launch
79142```
80- sudo service jsk-fetch-startup restart
143+ sudo supervisorctl restart jsk-fetch-startup
81144```
82- as of 2016/10/26, it uses launch files under ` ~k-okada/catkin_ws `
83145
84146### re-roslaunch fetch_bringup fetch.launch
85147```
86- sudo service robot restart
148+ sudo supervisorctl restart robot
87149```
88150
89151### [ Clock Synchronization] ( https://github.com/fetchrobotics/docs/blob/0c1c63ab47952063bf60280e74b4ff3ae07fd914/source/computer.rst )
@@ -134,25 +196,18 @@ Please connect display, open a window of network manager, and check that wired c
134196### Access point
135197Define access point setting, such as ssid:
136198```
137- /etc/wpa_supplicant/wpa_supplicant.conf
199+ cd /etc/NetworkManager/system-connections
138200```
139201
140- ### Network status log
141- You can see network status log, such as radio field intensity or data signaling rate:
142- ```
143- /var/log/wifi.log
144- ```
202+ ### Log
145203
146- Logging script is initialized at:
147- ```
148- /etc/init/jsk-log-wifi.conf
149- ```
204+ tmuxinator makes it easy to check the important logs of fetch from command line. Currently, it shows the logs of the supervisor jobs.
150205
151- ### Show all logs
152206Install tmuxinator config.
153207``` bash
154208rosrun jsk_fetch_startup install_tmuxinator.sh
155209```
210+
156211Show logs
157212``` bash
158213tmuxinator log
0 commit comments