Skip to content

Instantly share code, notes, and snippets.

@ryuichiueda
Created September 26, 2016 08:16
Show Gist options
  • Save ryuichiueda/7cd3b465d52a9f4b06639f5c02d3cdcb to your computer and use it in GitHub Desktop.
Save ryuichiueda/7cd3b465d52a9f4b06639f5c02d3cdcb to your computer and use it in GitHub Desktop.
設計製作論のコントローラのセットアップ
pi@raspberrypi ~ $ git clone https://github.com/ryuichiueda/RobotDesign3.git
pi@raspberrypi ~ $ cd RobotDesign3/
pi@raspberrypi ~/RobotDesign3 $ sudo make
...(ログはちゃんと見ましょう)
insserv: warning: script 'K01robot_design_3.sh' missing LSB tags and overrides
(↑このワーニングは無視でOK)
pi@raspberrypi ~/RobotDesign3 $ sudo reboot
(再度接続)
#確認方法1(プロセスが立ち上がっているか調査)
pi@raspberrypi ~ $ ps aux | grep robot | grep init
root 2012 0.0 0.2 2752 2208 ? S 19:47 0:00 /bin/bash -xv /etc/init.d/robotdesign3.sh start
#確認方法2(センサの値のファイルについてiノード番号が変わっているか調査)
pi@raspberrypi ~ $ ls -i /run/shm/adconv_values
56585 /run/shm/adconv_values
pi@raspberrypi ~ $ ls -i /run/shm/adconv_values
56591 /run/shm/adconv_values
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment