Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Murko: Move socket_handler to mx_bluesky #570

Open
DominicOram opened this issue Oct 15, 2024 · 0 comments
Open

Murko: Move socket_handler to mx_bluesky #570

DominicOram opened this issue Oct 15, 2024 · 0 comments
Assignees
Labels
murko Related to murko integration on i04

Comments

@DominicOram
Copy link
Contributor

DominicOram commented Oct 15, 2024

The socket_handler in https://github.com/DiamondLightSource/mx_auto_mjpeg_capture/tree/main/socket_handler should live in mx_bluesky so that all the code for murko interactions is in one place.

The job of the socket_handler is to:

  • Listen to when image data is published to redis
  • Grab the data, decode to numpy arrays
  • Batch the numpy arrays
  • Send results to murko
  • Put the results back on a redis key
  • Publish to say there are new results

Acceptance Criteria

  • The socket handler code is moved into mx_bluesky
  • There are tests on the above
  • There is a system test where the OAVToRedis forwarder sends data to this via redis
  • Docs are updated if necessary
@DominicOram DominicOram self-assigned this Oct 15, 2024
@DominicOram DominicOram added the murko Related to murko integration on i04 label Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
murko Related to murko integration on i04
Projects
None yet
Development

No branches or pull requests

1 participant