Skip to main content

OreSat GPS OLAF app

Project description

OreSat GPS Software

OreSat GPS software runs the OreSat GPS card and publishes navigation data to the satellite over CANopen. It is designed to hide receiver-specific details and provide a consistent interface for the rest of the flight software.

This app targets custom OreSat GPS hardware (oresat-gps-hardware) and supports two reception paths on the card:

  • SkyTraq Orion B16 (current operational path)
  • MAX2771 SDR path (hardware present; software path not yet implemented in this repo)

The CANopen-facing interface provides GPS-derived data such as position, velocity, fix quality, satellites-in-view, and time fields used by other systems. During development, you can inspect CAN traffic with tools like candump and interact with objects through standard CANopen tooling.

GPS is also used as a high-quality time reference. When a valid fix is available, the app can synchronize system time so other spacecraft services share a common clock base for telemetry correlation, event ordering, and time-sensitive control loops.

In the wider satellite stack, this data is consumed by components like ADCS and mission operations pipelines for state estimation, timeline reconstruction, and post-pass analysis.

Like other OreSat apps, this project is built on OLAF. When running locally, OLAF's debug interface is available at http://localhost:8000, including a GPS page at http://localhost:8000/skytraq.

Quick Start

Install dependencies.

pip3 install . --group dev

Make a virtual CAN bus.

sudo ip link add dev vcan0 type vcan
sudo ip link set vcan0 up

Run the GPS app.

python3 -m oresat_gps

Select the CAN bus to use (vcan0, can0, etc) with the -b BUS arg.

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 skytraq flag 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.

Architecture Notes

Low-level receiver protocol details are intentionally abstracted behind the app interface, but for maintainers:

  • The SkyTraq path is implemented in a userspace driver at oresat_gps/skytraq.py.
  • Host-to-SkyTraq commands use the SkyTraq binary protocol (see AN0037).
  • SkyTraq navigation reports are parsed and mapped into CANopen object dictionary entries.

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_gps-1.5.1.tar.gz (26.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

oresat_gps-1.5.1-py3-none-any.whl (24.8 kB view details)

Uploaded Python 3

File details

Details for the file oresat_gps-1.5.1.tar.gz.

File metadata

  • Download URL: oresat_gps-1.5.1.tar.gz
  • Upload date:
  • Size: 26.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for oresat_gps-1.5.1.tar.gz
Algorithm Hash digest
SHA256 fb3e98f678ea2f0477feebe48e612346ac0e673be2ee9434b7700b97fa027cfa
MD5 cdce3259aab6fad3989df4c2cdda9805
BLAKE2b-256 801e641b2a428879078973617ca87361086f900a756f6ee98692103e478b1982

See more details on using hashes here.

Provenance

The following attestation bundles were made for oresat_gps-1.5.1.tar.gz:

Publisher: pypi.yaml on oresat/oresat-gps-software

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file oresat_gps-1.5.1-py3-none-any.whl.

File metadata

  • Download URL: oresat_gps-1.5.1-py3-none-any.whl
  • Upload date:
  • Size: 24.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for oresat_gps-1.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b8d61a1aa2f48db3148257d322432a37abc4fa2e5de355a6f5597894219a631f
MD5 9bf92d3e50231a888adf1cb7d8a9890b
BLAKE2b-256 bc21edd3510da633e8f5b424539c936b1e41708edd1fced59f47cb0af46b89e7

See more details on using hashes here.

Provenance

The following attestation bundles were made for oresat_gps-1.5.1-py3-none-any.whl:

Publisher: pypi.yaml on oresat/oresat-gps-software

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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