Skip to content

How to Configure the Target

Alexis Morel edited this page Dec 3, 2019 · 3 revisions

Introduction

This wiki page explains what needs to be setup on the target in order to run the Steno application.

Prerequisites

The target must have the NVIDIA Jetpack SDK installed. See wiki page.

Procedure

Depedencies

Here are the dependencies to install.

sudo apt-get install libssl-dev ffmpeg libpulse-dev libfftw3-dev cmake build-essential libconfig-dev libasound2-dev '.*libxcb.*' libxrender-dev libxi-dev libfontconfig1-dev libudev-dev libxkbcommon-dev libxkbcommon-x11-dev

SSL : libssl-dev
FFmpeg : ffmpeg
Pulse Audio : libpulse-dev
ODAS : cmake build-essential libfftw3-dev libconfig-dev libasound2-dev
Qt : '.libxcb.' libxrender-dev libxi-dev libfontconfig1-dev libudev-dev libxkbcommon-dev libxkbcommon-x11-dev

Qt

Prepare the directory that will contain the Qt library.

sudo mkdir /usr/local/qt5
sudo chown nvidia /usr/local/qt5

Git Repository

Clone the git repository. It contains useful scripts to make target setup easier.

git clone https://github.com/introlab/rendezvous.git $HOME/rendezvous

NOTE - For the rest of the procedure, it will be assume that the git repository location is $HOME/rendezvous

Overclock

  1. Launch script to automate the overclock at boot time

    cd $HOME/rendezvous
    sudo ./scripts/overclock-jetson/deploy-overclock-jetson.sh
    
  2. Start and test the service

    sudo systemctl start overclock-jetson.service
    sudo systemctl status overclock-jetson.service
    
  3. Reboot and make sure the service is running afterwards

    sudo systemctl status overclock-jetson.service
    

ODAS

Launch the setup script

cd $HOME/rendezvous
./scripts/odas_setup.sh

Yolov3

Launch the setup script

cd $HOME/rendezvous
./scripts/yolo_setup.sh

V4l2loopback

  1. Launch the setup script

    cd $HOME/rendezvous
    sudo ./scripts/v4l2_loopback_setup.sh
    
  2. Reboot and make sure the service is running afterwards

    service stenocam status
    

NOTE - To remove a v4l2loopback device : sudo rmmod v4l2loopback

Pulse Audio

cd $HOME/rendezvous
./scripts/StenoMics/automation.sh

What's next?

The next step is to Cross-Compile the Qt Library.