Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

Overview

Data collection is done on any computer running Linux on the drone. Data collection accesses sensors in the same manner as the airside system.

Repository:

https://github.com/UWARG/model-training

Software

Usage

Collection:

  1. Connect all sensors

  2. Power on the computer:

    1. If sensors are not connected, data collection fails to start and the computer needs to be restarted

    2. Data collection is automatically run on startup through the /etc/rc.local file

Access:

  1. Disconnect all sensors and power on the computer

  2. Move or copy the data to be saved

  3. Delete the data to free space for future collection

Setup

Code

Open the terminal and navigate to the home directory:

  • cd ~/

Follow the instructions: Python Repository

Install packages: pip install imaging/requirements.txt

  • Do not use the other requirements files

Startup

The contents of imaging/rc.local.copyme assume the username is warg .

OpenCV Python:

  1. Copy the OpenCV Python section of imaging/rc.local.copyme to /etc/rc.local

FFmpeg video:

  1. Install FFmpeg: sudo apt-get install ffmpeg

  2. Copy the FFmpeg video section of imaging/rc.local.copyme to /etc/rc.local

  • No labels