Software for Linux version of the GPS card.
Like all OreSat software projects it is built using OLAF (OreSat Linux App Framework), which it built ontop of CANopen for Python. See the oresat-olaf repo for more info about OLAF.
Install dependenies
$ pip3 install . --group devMake a virtual CAN bus
$ sudo ip link add dev vcan0 type vcan
$ sudo ip link set vcan0 upRun the GPS app
$ python3 -m oresat_gpsCan select the CAN bus to use (vcan0, can0, etc) with the -b BUS arg.
Can mock hardware by using the -m HARDWARE flag.
- The
-m allflag can be used to mock all hardware (CAN bus is always required). - The
-m skytraqflag would only mock the skytraq
See other options with -h flag.
A basic Flask-based website for development and integration can be found at
http://localhost:8000 when the software is running.