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
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:
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