Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Aug 15, 2024. It is now read-only.

Raspberry PI 3 の設定

Yasuo Hayashibara edited this page Jan 22, 2017 · 35 revisions

170103 暫定バージョン (最低限の動作確認ずみ)

作業

1)Raspbian 2016年09月28日(1.4GB)をダウンロード
http://ftp.jaist.ac.jp/pub/raspberrypi/raspbian/images/raspbian-2016年09月28日/

2)SDカードをフォーマット
SD Card Fomatterを使用

3)DD for windowsを使用して書き込み

4)無事起動

しかくエディタのインストール(後の作業を行いやすくするため)
sudo apt-get install vim

しかくユーザの追加

sudo adduser cit
sudo vi /etc/sudoers
・以下を文末に追加
cit ALL=(ALL) NOPASSWD: ALL

しかくrootのパスワードを設定

sudo passwd root
cit161 (ロボットの番号)

しかく自動ログイン

sudo vi /etc/lightdm/lightdm.conf
以下を記述 デフォルトではpiが自動ログインになっている
autologin-user=cit
autologin-user-timeout=0

しかくVINOの設定
以下に従って設定 http://fishrimper.blogspot.jp/2016/04/raspberry-pi-3-vino-vnc.html

sudo apt-get install vino
sudo apt-get install dconf-editor
DISPLAY=:0.0 dconf-editor
dconfEditor の左側のツリーの画面で org -> gnome -> desktop -> remote-access をクリック
prompt-enabled のチェックを外す
require-encryption のチェックを外す
mkdir -p /home/pi/.config/autostart/
vi /home/cit/.config/autostart/vino.desktop
[Desktop Entry]
Encoding=UTF-8
Type=Application
Name=VINO
Comment=
Exec=/usr/lib/vino/vino-server
StartupNotify=false
Terminal=false
Hidden=false

しかく後はロボカップのインストール手順に従う https://github.com/citbrains/citbrains_humanoid/wiki/Ubuntu%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB%E9%96%A2%E9%80%A3

raspberryp piの設定
https://www.ramuda.co.jp/techlabo/archives/537

しかくビルドエラーへの対処
CMakeList.txtの以下の記述をコメントアウト

SET (CMAKE_CXX_FLAGS "-march=native")

しかくカメラの接続及び設定
https://www.raspberrypi.org/documentation/usage/camera/README.md

sudo raspi-config 
5 Interfacing optionを選択 
P1 CameraをEnableに変更 

しかく以下に基づきカメラを通常のデバイスのように使用できるようにする.
https://goo.gl/5QiX12

しかくguvcviewのインストール

sudo apt-get install guvcview

(注記)ロボカップの画像処理は動作したが,guvcviewでは表示できなかった.

しかくlibftdiのインストール

sudo apt-get install libftdi-dev

しかく無線LANの接続

sudo iwlist wlan0 scan

でアクセスポイントのリストが表示される.

/etc/wpa_supplicant/wpa_supplicant.conf

にアクセスポイントの情報を記載する.

sudo reboot

Clone this wiki locally

AltStyle によって変換されたページ (->オリジナル) /