OreSat Star Tracker OLAF app
Project description
OreSat Star Tracker Software
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.
Algorithmic solving implemented with University of Washington HuskySat's LOST star tracker program.
NOTE: The prucam-ar013x kernel module is required to use the camera and will only work on the custom OreSat Star Tracker board. See the oresat-prucam-ar013x repo for more info.
Quickstart
Install Python dependenies
$ pip3 install -r requirements.txt
Make a virtual CAN bus
$ sudo ip link add dev vcan0 type vcan
$ sudo ip link set vcan0 up
Run the Star Tracker app
$ python3 -m oresat_star_tracker
Can 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 all
flag can be used to mock all hardware (CAN bus is always required). - The
-m camera
flag would only mock camera.
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.
Unit Test
Run the unit tests
$ python3 -m unittest
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file oresat_star_tracker-0.2.0.tar.gz
.
File metadata
- Download URL: oresat_star_tracker-0.2.0.tar.gz
- Upload date:
- Size: 1.9 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c7e26d2723bc56a8c082dbb18370fb9e39e8b4b3a70e64ecbe8cb06ba34e0ba |
|
MD5 | fd939c28de50b81a31a00baaecd78f68 |
|
BLAKE2b-256 | 3a7dea78526f7f969a683478ac034fc7f0385c51ebc5a0a574877672a49b9ad2 |
File details
Details for the file oresat_star_tracker-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: oresat_star_tracker-0.2.0-py3-none-any.whl
- Upload date:
- Size: 11.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f03830d1c3314968f9721e2990339d09405aa38982f5a4dba41d5a08ee0c878b |
|
MD5 | c624bd92bd620b8d230c8f3530480eee |
|
BLAKE2b-256 | 80325ae33d48317c9b8c079bd1bb7d9508427d2e1afba18a4aef4d3a24526981 |