Skip to main content

Controllers for the SDSS-V FPS

Project description

jaeger

Versions Documentation Status Tests Status codecov

jaeger provides high level control for the SDSS-V Focal Plane System. Some of the features that jaeger provide are:

  • Wraps the low level CAN commands for simpler use.
  • Provides a framework that is independent of the CAN interface used (by using the python-can library).
  • Interfaces with kaiju to provide anticollision path planning for trajectories.
  • Implements status and position update loops.
  • Provides implementations for commonly used tasks (e.g., go to position, send trajectory).
  • Interfaces with the Instrument Electronics Box modbus PLC controller.
  • Provides a TCP/IP interface to send commands and output keywords using the SDSS-standard formatting.

The code for jaeger is developed in GitHub and can be installed using sdss_install or by running

pip install --upgrade sdss-jaeger

To check out the development version do

git clone https://github.com/sdss/jaeger.git

jaeger is developed as an asyncio library and a certain familiarity with asynchronous programming is required. The actor functionality (TCP/IP connection, command parser, inter-actor communication) is built on top of CLU.

A simple jaeger program

import asyncio
from jaeger import FPS, log

async def main():

    # Set logging level to DEBUG
    log.set_level(0)

    # Initialise the FPS instance.
    fps = FPS()
    await fps.initialise()

    # Print the status of positioner 4
    print(fps[4].status)

    # Send positioner 4 to alpha=90, beta=45
    await pos.goto(alpha=90, beta=45)

    # Cleanly finish all pending tasks and exit
    await fps.shutdown()

asyncio.run(main())

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

jaeger-1.11.1.tar.gz (160.5 kB view details)

Uploaded Source

Built Distribution

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

jaeger-1.11.1-py3-none-any.whl (206.7 kB view details)

Uploaded Python 3

File details

Details for the file jaeger-1.11.1.tar.gz.

File metadata

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

File hashes

Hashes for jaeger-1.11.1.tar.gz
Algorithm Hash digest
SHA256 33dd6d465d6c07119fbb901cbf00befcebb0799f2386a300c71046658dd50fa5
MD5 91f85715e13bdfd5eea6ade0f54dd43e
BLAKE2b-256 688b95566ba6bebd9d75d79ce580691608f4eb81103453c6119e3539e9004430

See more details on using hashes here.

Provenance

The following attestation bundles were made for jaeger-1.11.1.tar.gz:

Publisher: release.yml on sdss/jaeger

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

File details

Details for the file jaeger-1.11.1-py3-none-any.whl.

File metadata

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

File hashes

Hashes for jaeger-1.11.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9e32c19cc55e7611d0f54ed99b10e3c3eb123ca5bdfcbad41f1cf26c8919c080
MD5 98d4c641b47474825060cf8f1eb32878
BLAKE2b-256 100fa701514efa2b5fa5c633490b4694162013427f2fcdd753d6a8f4bf232dfd

See more details on using hashes here.

Provenance

The following attestation bundles were made for jaeger-1.11.1-py3-none-any.whl:

Publisher: release.yml on sdss/jaeger

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