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:
Connect all sensors
Power on the computer:
If sensors are not connected, data collection fails to start and the computer needs to be restarted
Data collection is automatically run on startup through the
/etc/rc.local
file
Access:
Disconnect all sensors and power on the computer
Move or copy the data to be saved
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
.
Modifying /etc/rc.local
requires superuser access (e.g. sudo
).
Use 1 of the following:
OpenCV Python:
Copy the OpenCV Python section of
imaging/rc.local.copyme
to/etc/rc.local
FFmpeg video:
Install FFmpeg:
sudo apt-get install ffmpeg
Copy the FFmpeg video section of
imaging/rc.local.copyme
to/etc/rc.local
To use the other option, delete the relevant section in /etc/rc.local
and redo the steps above.