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.9.1.tar.gz (159.7 kB view details)

Uploaded Source

Built Distribution

jaeger-1.9.1-py3-none-any.whl (205.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for jaeger-1.9.1.tar.gz
Algorithm Hash digest
SHA256 bfb8f5c21aa5682d2cb6378dc3afe43546281ed1aa7e5b2fc4226e946ad58393
MD5 6532d277e9382018a03461950ac81bf4
BLAKE2b-256 f588d1ff83e5915922c758d40a8ec7ee62909a88dc89f94bf204c2872e76f6e8

See more details on using hashes here.

Provenance

The following attestation bundles were made for jaeger-1.9.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.9.1-py3-none-any.whl.

File metadata

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

File hashes

Hashes for jaeger-1.9.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ef33dd33095451a838c8effa6982696436a1ae7d9b04c49164fe1753d62f2feb
MD5 720ae0023ee7f5b925c50eb90914b9b5
BLAKE2b-256 218dacf2628f6df1b6ae0accdb4f3dd54282369aef124f7dcc63e3cbb4f63ce7

See more details on using hashes here.

Provenance

The following attestation bundles were made for jaeger-1.9.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 Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page