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.3.1.tar.gz
.
File metadata
- Download URL: oresat_star_tracker-0.3.1.tar.gz
- Upload date:
- Size: 1.9 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 745a8233c412052e05c3fd16bbf634377950bb001ae8143ee5b520b8741a88ea |
|
MD5 | 62e4c1b5c79171f7f3c606ead9ebbbf2 |
|
BLAKE2b-256 | fc9eb4f4d050ab28e51ad42ae1a1cdc3fca62661de4d82eb77b3b2b00fe334fd |
File details
Details for the file oresat_star_tracker-0.3.1-py3-none-any.whl
.
File metadata
- Download URL: oresat_star_tracker-0.3.1-py3-none-any.whl
- Upload date:
- Size: 12.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 69f07478d3842dfdcaaefa042bb1b2538b46bf089a563228113fbcffc25bcf4d |
|
MD5 | 555ecbd41b5d7e66f32f798a977e2468 |
|
BLAKE2b-256 | a9550f84f35681bb8f7537d96bd978be3b0b45403c07387ef93cab43eb65a97f |