Skip to content

Latest commit

 

History

History
60 lines (51 loc) · 1.3 KB

File metadata and controls

60 lines (51 loc) · 1.3 KB

Prepare Ubuntu image

  1. Download Lubuntu 16.04: https://ubuntu-pi-flavour-maker.org/download/

  2. Configuration with first boot with HDMI:

raspi-config

Enable ssh, disable GUI

  1. Delete GUI:
sudo apt purge --remove lubuntu-*; sudo apt autoremove -y
  1. Enable UART. Add to /boot/config.txt:
enable_uart=1
core_freq=250
dtoverlay=pi3-disable-bt

Delete in /boot/cmdline.txt:

console=serial0,115200
  1. WiFi AP setup:
./rPi3-ap-setup.sh
  1. ROS install:
    http://wiki.ros.org/kinetic/Installation/Ubuntu
    http://wiki.ros.org/ROS/Tutorials/InstallingandConfiguringROSEnvironment

  2. Install IPFS:

git clone https://github.com/claudiobizzotto/ipfs-rpi.git
  1. Install cjdns and NodeJS:
    https://github.com/cjdelisle/cjdns/blob/master/doc/install/ubuntu-16.04.md
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
sudo apt-get install -y nodejs
git clone https://github.com/cjdelisle/cjdns.git
NO_TEST=1 Seccomp_NO=1 ./do

Add peer to cjdroute.conf.

  1. Drone Employee air pollution sensors installation:
cd ~/catkin_ws/src
git clone https://github.com/tuuzdu/DJI-Air-pollution-sensors-project
git submdule init
git submodule update
pip install pyserial ipfsapi

Build dji_sdk:
http://wiki.ros.org/dji_sdk/Tutorials/Getting%20Started