Skip to content
This repository has been archived by the owner on Nov 8, 2022. It is now read-only.

Latest commit

 

History

History
82 lines (54 loc) · 1.69 KB

README.md

File metadata and controls

82 lines (54 loc) · 1.69 KB

[Actions Status Download

Open.HD-NG

Refactor and update of OpenHD

Installation

Update the submodules

git submodule update --init

Install dependencies on a Raspberry Pi

sudo apt install cython libv4l-dev python3-numpy python3-serial python3-lxml libasio-dev

Install Raspberry Pi specific dependencies

sudo apt install python3-picamera

Install wifibroadcast_bridge from here: https://github.com/webbbn/wifibroadcast_bridge

Configure the software

This defaults to installing in the system directories. Add -DCMAKE_INSTALL_PREFIX=

to install in a different directory.

mkdir build
cd build
cmake ..

Install the software

Add sudo if you're installing in the system directories and not already running as root.

make install

Install into system directories

cmake -DCMAKE_INSTALL_PREFIX=/ ..
sudo make install

Activate system services (after intalling in root)

sudo ../scripts/postinst

Create a debian package

cpack

This can be installed with:

sudo dpkg -i *.deb

Configuration

Prior to installation various configuration values can be changed in the conf/openhd file. This file gets intalled into /etc/default/openhd during installation.

Starting

The installation includes a standard systemd service file. The following commands will start the service and enable it to automatically start on boot.

sudo systemctl enable openhd
sudo systemctl start openhd