OpenwaterHealth / OpenwaterHealth/openlifu-python

Implement LIFUInterface Device Status

Open
#275 0 comments 1 reaction 1 assignee View on GitHub

@georgevigelette is already working on this.

Since Apr 9, 2025.

bug
Dominant language
Python
Stars
27
Forks
21
Avg merge
1d 20m
Merged PRs (30d)
6

Description

LIFUInterface.get_status() always returns LIFUInterfaceStatus.STATUS_ERROR, causing SlicerOpenLIFU's Sonication Control widget to block sonication control. LIFUInterface should be updated to include a status state that instantiates with STATUS_SYS_OFF and updates accordingly. When the UARTs get connected, status can move to STATUS_SYS_ON, and when the solution is successfully transferred, it can switch to STATUS_READY.

LIFUInterface.get_status can then be updated to query this state, so that upstream callers (SlicerOpenLIFU) can correctly query the interface status.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.