Skip to content

Repository files navigation

Contains event loop and logic for tracker control on the groundstation.

Setup

1. Create venv

uv venv --python 3.12

2. Install packages

uv pip install flask skyfield sgp4 numpy pyzmq msgpack

3. Add libcsp Python bindings (compiled for CPython 3.12, not on PyPI)

cp /home/au648715/Documents/DISCO2/ops/libcsp/builddir/libcsp_py3.cpython-312-x86_64-linux-gnu.so
.venv/lib/python3.12/site-packages/

4. Add LD_LIBRARY_PATH to venv activate script

echo 'export LD_LIBRARY_PATH=/home/au648715/Documents/DISCO2/ops/libcsp/builddir:$LD_LIBRARY_PATH' \

.venv/bin/activate

Notes

  • libcsp_py3.so is compiled for CPython 3.12 specifically — if Python version changes, recompile
  • LD_LIBRARY_PATH points to the libcsp.so that the bindings were compiled against
  • zmqproxy must be running before any CSP communication

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages