Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lost #21

Merged
merged 32 commits into from
Apr 28, 2024
Merged

Lost #21

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
4aede3b
add LOST functionality
kk60503 Mar 31, 2024
de4e3c7
Merge branch 'master' into lost_cots
kk60503 Apr 1, 2024
c1ec498
Add NASA COTS star tracker
kk60503 Apr 1, 2024
e59e07e
Switch to new olaf setup structure
kk60503 Apr 1, 2024
5b5132c
made service program operational with camera and removed OpenST files
kk60503 Apr 7, 2024
d1fe17c
fix cots install.py
kk60503 Apr 8, 2024
6ba0c7c
delete old test data
kk60503 Apr 8, 2024
ced334e
Delete oresat_star_tracker/solver.py
kk60503 Apr 8, 2024
05f8268
Delete tests/test_beast.py
kk60503 Apr 8, 2024
58be512
Delete tests/test_solver.py
kk60503 Apr 8, 2024
d0d598a
Delete tests/test_contours.py
kk60503 Apr 8, 2024
2ca066f
Update .gitignore
kk60503 Apr 8, 2024
2c7c7a9
Update tests.yaml
kk60503 Apr 8, 2024
2ce8ac6
Update COTS-Star-Tracker
kk60503 Apr 8, 2024
4877f47
Update star_tracker_service.py
kk60503 Apr 8, 2024
dca992f
Revert "Update COTS-Star-Tracker"
kk60503 Apr 8, 2024
f177481
changed NASA COTS to process from capture and added its config files
kk60503 Apr 15, 2024
a57e3ad
changed upstream to oresat fork
kk60503 Apr 15, 2024
0747aa9
added some unit testing for Lost
kk60503 Apr 21, 2024
659d53d
Delete external directory
kk60503 Apr 22, 2024
12c601d
Delete cots_files directory
kk60503 Apr 22, 2024
b68699d
remove NASA-COTS submodule
kk60503 Apr 22, 2024
f3774ac
remove NASACOTS
kk60503 Apr 22, 2024
4486dee
cleanup repo
kk60503 Apr 22, 2024
104736d
Delete setup.py
kk60503 Apr 22, 2024
a6ad934
Update requirements.txt
kk60503 Apr 22, 2024
c112c27
Update pyproject.toml
kk60503 Apr 22, 2024
beffa0e
Update tests.yaml
kk60503 Apr 22, 2024
7041996
Update README.md
kk60503 Apr 22, 2024
b3b60a7
Delete .gitmodules
kk60503 Apr 22, 2024
92e8ed9
Update tests.yaml
kk60503 Apr 22, 2024
9ae32c4
Update test_lost.py
kk60503 Apr 22, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 4 additions & 18 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,17 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Clone oresat-cfc repository
uses: actions/checkout@v2
- name: Clone oresat-star-tracker repository
uses: actions/checkout@v3

- name: Clone oresat-configs repository
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: oresat/oresat-configs
path: resources/oresat-configs

- name: Set up Python 3.9
uses: actions/setup-python@v2
uses: actions/setup-python@v3
with:
python-version: "3.9"

Expand All @@ -39,30 +39,16 @@ jobs:
- name: Clean up oresat-configs
run: rm -rf resources/oresat-configs

- name: Install linux dependencies
run: |
sudo apt install swig

- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt

- name: Build beast
working-directory: oresat_star_tracker/beast
run: make

- name: Lint with Pylama
run: pylama

- name: Check format with Black
run: black --check --diff .

- name: Check format with isort
run: isort --check --diff .

- name: Test with Python's unittest
run: python -m unittest

- name: Test building pypi package
run: python -m build
4 changes: 0 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -128,10 +128,6 @@ dmypy.json
# Pyre type checker
.pyre/

# beast files
_beast.so
beast.py
beast_wrap.*

# web app
/data
Expand Down
24 changes: 5 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,37 +1,24 @@
# OreSat Star Tracker Software

This is a modified version of [OpenStarTracker], originally developed by
Andrew Tennenbaum at the University at Buffalo. Some of the information
below comes from the original README file in the [OpenStarTracker repo].

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 Linux dependenies

```bash
$ sudo apt install swig
```

Install Python dependenies

```bash
$ pip3 install -r requirements.txt
```

Compile the cpp backend

```bash
make -C oresat_star_tracker/beast
```

Make a virtual CAN bus

```bash
Expand Down Expand Up @@ -66,9 +53,8 @@ Run the unit tests
$ python3 -m unittest
```

[OpenStarTracker]: https://openstartracker.org
[OpenStarTracker repo]: https://github.com/UBNanosatLab/openstartracker
[Flask]: https://flask.palletsprojects.com/en/latest/
[LOST]: https://github.com/UWCubeSat/lost
[NASA-COTS]: https://github.com/nasa/COTS-Star-Tracker
[oresat-olaf repo]: https://github.com/oresat/oresat-olaf
[CANopen for Python]: https://github.com/christiansandberg/canopen
[oresat-prucam-ar013x repo]: https://github.com/oresat/oresat-prucam-ar013x
14 changes: 0 additions & 14 deletions misc/test-data/downsample/calibration.txt

This file was deleted.

Binary file not shown.
4 changes: 0 additions & 4 deletions misc/test-data/downsample/calibration_data/1.axy

This file was deleted.

Loading
Loading