-
Install Raspbian Jessie
- Expand root filesystem (
sudo raspi-config
) - Change hostname
sudo apt-get update
sudo apt-get dist-upgrade
- Expand root filesystem (
-
Install dependencies
sudo apt-get install libboost-all-dev build-essential avahi-daemon cmake libavahi-client-dev git cmake
- Install jsoncpp
git clone https://github.com/open-source-parsers/jsoncpp.git -b 1.7.3
cd jsoncpp
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=release -DBUILD_STATIC_LIBS=OFF -DBUILD_SHARED_LIBS=ON ..
make
sudo make install
- Install wiringPi
git clone git://git.drogon.net/wiringPi -b 2.32
cd wiringPi
./build
-
Install industrial_devices
git clone https://github.com/element54/industrial_devices.git
cd industrial_devices
mkdir build
cd build
cmake ..
make install
-
Install systemd service
Open file/etc/systemd/system/rotating_turntable.service
and insert:[Unit] Description=rotating_turntable After=network.target [Service] ExecStart=/home/aw/industrial_devices/bin/rotating_turntable KillMode=process Restart=always [Install] WantedBy=multi-user.target
Enable service:
sudo systemctl enable rotating_turntable.service
-
Notifications
You must be signed in to change notification settings - Fork 0
License
element54/industrial_devices
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published