The purpose of the Onboard Computer (OBC) is to provide an functionality and interfacing to remote vehicles. The software runnning on OBC will adapt with the requirements of each years competition.
git clone https://github.com/uvic-aero/onboard-computer.git
cd onboard-computer
python3 -m venv env
source env/bin/activate
pip3 install -r requirements.txt
config.ini
file located in the root directory of this repositoryStart obc by running (in the repository root)
python3 obc.py
Check that the software is running by visiting the server http://0.0.0.0:1600/status/piCam
OBC uses the Unittest framework
Tests live in the /test
directory and can be ran with
python3 -m unittest test.[test_module_name]
or
make runtest module=[test_module_name]
For example run the Vision test with:
python3 -m unittest test.test_qrcode_classification
or
make runtest module=test_qrcode_classification