Skip to content

hal

plantimager.controller.scanner.hal Link

Hardware Abstraction Layer for Plant Imaging Systems.

This module provides abstract interfaces and data structures for hardware components of plant imaging systems. It defines the core abstractions for CNC controllers and data handling, enabling hardware independence in the scanning process.

Key Features: - Abstract CNC interface for hardware-independent motion control - Data structures for image and metadata handling - Type-safe interfaces with proper unit annotations - Support for different hardware implementations - Standardized data formats for database storage

AbstractCNC Link

AbstractCNC()

Abstract CNC class.

Source code in plantimager/controller/scanner/hal.py
52
53
54
def __init__(self):
    self._ready = False
    self._standby = False

ready property Link

ready

Returns True if the hardware component is ready to be used

standby property Link

standby

Returns True if the hardware component is on standby.