Controllers for the SDSS-V FPS
Reason this release was yanked:
Incorrect version tagging
Project description
jaeger
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
jaeger-0.16.0a0.tar.gz
(147.5 kB
view hashes)
Built Distribution
jaeger-0.16.0a0-py3-none-any.whl
(184.0 kB
view hashes)
Close
Hashes for jaeger-0.16.0a0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6fb64d161fce5e5c2d820d5736253a80f2c9afd4def0bcda5d0b6f10ab569d80 |
|
MD5 | 75e183f185f24432abb5a8c2f180d401 |
|
BLAKE2b-256 | 00460d8942c45c415c83a0b8ef858d893d8644d8e9ea25c38c5158a62f15f989 |