Set up
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
]
開始行:
*Astract [#mb3e1685]
-RobotCar's RasberryPI method of building an environment.
-Download RASPBIAN STRETCH LITE.
-There is a problem avoidance peculiar to Stretch.
Link(JP):https://github.com/FaBoPlatform/RobotCarAI/tree/...
*Install Stretch Lite [#ld01fbe2]
-Desktop function is unnecessary, download RASPBIAN STRET...
Download URL: https://www.raspberrypi.org/downloads/rasp...
-Writes the downloaded image file to SDCARD.
-If you are a Windows PC you can write with Win32DiskImag...
-Since the capacity of RobotCarAI's environment is large,...
-The default login user of Raspberry Pi,
user: pi
password: raspberry
*raspi-config [#af07e04a]
-Enable SSH / SPI / I2C / WiFi.
-Run raspi-config as the root user and make each setting.
sudo raspi-config
-> Interfacing options
-> To activate SSH,SPI and I2C
--SSH:Required for logging into Raspberry Pi 3 via network.
--SPI:Required for button operation of RobotCar.
--I2C:Required for RobotCar distance sensor operation.
-Connect Raspberry Pi 3 to WiFi
sudo raspi-config
->Network Options
->Set JP as WiFi country code
--Enter WiFi SSID and password
wpa_passphrase 'SSID' ??PASSWORD??
--This setting is saved below.
/etc/wpa_supplicant/wpa_supplicant.conf
*RobotCar source code download [#r2957764]
-Download RobotCar source code with git.
sudo apt-get update
sudo apt-get dist-upgrade -y
sudo apt-get update
sudo apt-get install -y git
mkdir -p /home/pi/notebooks/github/
cd /home/pi/notebooks/github
git clone https://github.com/FaBoPlatform/RobotCarAI
*OS preference [#if1cc2e1]
-OS update, bash setting, vim setting etc. It is not esse...
cd /home/pi/notebooks/github/RobotCarAI/install_raspberr...
# Since the line feed code may be CRLF (DOS), change to ...
find ./ -type f | xargs -n1 sed -i "s/\r//g??
chmod 755 *.sh
sudo ./setup_update.sh
sudo ./setup_dircolors.sh
sudo ./setup_bash.sh
sudo ./setup_vim.sh
sudo ./setup_ip_forward.sh
sudo ./setup_package.sh
*I2C Kernel / smbus correction [#t4ec0242]
-Raspbian Stretch Lite will generate an error when smbus ...
-The cause seems to be in Kernel, so fix it.
wget -O i2c1-bcm2708.dtbo https://drive.google.com/uc\?e...
sudo chmod 755 i2c1-bcm2708.dtbo
sudo chown root:root i2c1-bcm2708.dtbo
sudo mv i2c1-bcm2708.dtbo /boot/overlays/
sudo sh -c 'echo "dtoverlay=i2c1-bcm2708" >> /boot/confi...
sudo reboot
# After reboot, continue logging in again to Raspberry P...
sudo sh -c '/bin/echo Y > /sys/module/i2c_bcm2708/parame...
sudo reboot
Reference:
-https://github.com/raspberrypi/firmware/issues/867
-https://www.raspberrypi.org/forums/viewtopic.php?t=192958
-https://github.com/raspberrypi/firmware/issues/828
*Change hostname [#rb0d3a9a]
-Change the host name. This is not mandatory for operation.
-Rewrite / etc / hostname.
sudo vi /etc/hostname
-> Your HOSTNAME (RobotCar)
-Rewrite /etc/hosts
sudo vi /etc/hosts
->
127.0.0.1 localhost
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
127.0.1.1 RobotCar
sudo reboot
-Confirm host name
hostnamectl
*Docker install and RobotCar Docker Environment Download ...
-Docker install
sudo apt-get install -y docker.io
sudo reboot
-RobotCar Docker Environment Download
sudo docker pull naisy/fabo-jupyter-armhf
*Docker container creation [#eb8c9f45]
-CPU version, with SPI and I2C
sudo docker run -itd --device /dev/spidev0.0:/dev/spidev...
-CPU version, for development, with SPI, USB camera, I2C ...
sudo docker run -itd --device /dev/video0:/dev/video0 --...
終了行:
*Astract [#mb3e1685]
-RobotCar's RasberryPI method of building an environment.
-Download RASPBIAN STRETCH LITE.
-There is a problem avoidance peculiar to Stretch.
Link(JP):https://github.com/FaBoPlatform/RobotCarAI/tree/...
*Install Stretch Lite [#ld01fbe2]
-Desktop function is unnecessary, download RASPBIAN STRET...
Download URL: https://www.raspberrypi.org/downloads/rasp...
-Writes the downloaded image file to SDCARD.
-If you are a Windows PC you can write with Win32DiskImag...
-Since the capacity of RobotCarAI's environment is large,...
-The default login user of Raspberry Pi,
user: pi
password: raspberry
*raspi-config [#af07e04a]
-Enable SSH / SPI / I2C / WiFi.
-Run raspi-config as the root user and make each setting.
sudo raspi-config
-> Interfacing options
-> To activate SSH,SPI and I2C
--SSH:Required for logging into Raspberry Pi 3 via network.
--SPI:Required for button operation of RobotCar.
--I2C:Required for RobotCar distance sensor operation.
-Connect Raspberry Pi 3 to WiFi
sudo raspi-config
->Network Options
->Set JP as WiFi country code
--Enter WiFi SSID and password
wpa_passphrase 'SSID' ??PASSWORD??
--This setting is saved below.
/etc/wpa_supplicant/wpa_supplicant.conf
*RobotCar source code download [#r2957764]
-Download RobotCar source code with git.
sudo apt-get update
sudo apt-get dist-upgrade -y
sudo apt-get update
sudo apt-get install -y git
mkdir -p /home/pi/notebooks/github/
cd /home/pi/notebooks/github
git clone https://github.com/FaBoPlatform/RobotCarAI
*OS preference [#if1cc2e1]
-OS update, bash setting, vim setting etc. It is not esse...
cd /home/pi/notebooks/github/RobotCarAI/install_raspberr...
# Since the line feed code may be CRLF (DOS), change to ...
find ./ -type f | xargs -n1 sed -i "s/\r//g??
chmod 755 *.sh
sudo ./setup_update.sh
sudo ./setup_dircolors.sh
sudo ./setup_bash.sh
sudo ./setup_vim.sh
sudo ./setup_ip_forward.sh
sudo ./setup_package.sh
*I2C Kernel / smbus correction [#t4ec0242]
-Raspbian Stretch Lite will generate an error when smbus ...
-The cause seems to be in Kernel, so fix it.
wget -O i2c1-bcm2708.dtbo https://drive.google.com/uc\?e...
sudo chmod 755 i2c1-bcm2708.dtbo
sudo chown root:root i2c1-bcm2708.dtbo
sudo mv i2c1-bcm2708.dtbo /boot/overlays/
sudo sh -c 'echo "dtoverlay=i2c1-bcm2708" >> /boot/confi...
sudo reboot
# After reboot, continue logging in again to Raspberry P...
sudo sh -c '/bin/echo Y > /sys/module/i2c_bcm2708/parame...
sudo reboot
Reference:
-https://github.com/raspberrypi/firmware/issues/867
-https://www.raspberrypi.org/forums/viewtopic.php?t=192958
-https://github.com/raspberrypi/firmware/issues/828
*Change hostname [#rb0d3a9a]
-Change the host name. This is not mandatory for operation.
-Rewrite / etc / hostname.
sudo vi /etc/hostname
-> Your HOSTNAME (RobotCar)
-Rewrite /etc/hosts
sudo vi /etc/hosts
->
127.0.0.1 localhost
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
127.0.1.1 RobotCar
sudo reboot
-Confirm host name
hostnamectl
*Docker install and RobotCar Docker Environment Download ...
-Docker install
sudo apt-get install -y docker.io
sudo reboot
-RobotCar Docker Environment Download
sudo docker pull naisy/fabo-jupyter-armhf
*Docker container creation [#eb8c9f45]
-CPU version, with SPI and I2C
sudo docker run -itd --device /dev/spidev0.0:/dev/spidev...
-CPU version, for development, with SPI, USB camera, I2C ...
sudo docker run -itd --device /dev/video0:/dev/video0 --...
ページ名: