OpenwaterHealth / OpenwaterHealth/openlifu-python
Implement LIFUInterface Device Status
@georgevigelette is already working on this.
Since Apr 9, 2025.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.