Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/oresat/oresat-cfc-software
Cirrrus Flux Camera software repository
https://github.com/oresat/oresat-cfc-software
Last synced: about 1 month ago
JSON representation
Cirrrus Flux Camera software repository
- Host: GitHub
- URL: https://github.com/oresat/oresat-cfc-software
- Owner: oresat
- License: gpl-3.0
- Created: 2021-08-09T22:09:39.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-09-09T01:42:08.000Z (3 months ago)
- Last Synced: 2024-09-09T02:51:57.314Z (3 months ago)
- Language: Python
- Size: 152 KB
- Stars: 0
- Watchers: 8
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# OreSat CFC Software
Software for Linux version of the CFC (Cirrus Flux Camera) card.
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.When this project is running on the real hardware it will required the
`prucam-pirt1280` kernel module.
See https://github.com/oresat/oresat-prucam-pirt1280 for more info.## Quickstart
Install dependenies
```bash
$ pip3 install -r requirements.txt
```
Make a virtual CAN bus```bash
$ sudo ip link add dev vcan0 type vcan
$ sudo ip link set vcan0 up
```Run the CFC app
```bash
$ python3 -m oresat_cfc
```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 the camera
- The `-m tec` flag would only mock the TECSee 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.[Flask]: https://flask.palletsprojects.com/en/latest/
[oresat-olaf repo]: https://github.com/oresat/oresat-olaf
[CANopen for Python]: https://github.com/christiansandberg/canopen