Skip to main content

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

oresat_star_tracker-0.3.1.tar.gz (1.9 MB view hashes)

Uploaded Source

Built Distribution

oresat_star_tracker-0.3.1-py3-none-any.whl (12.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page