Shared base models, event bus, and protocols for the pyfarm ecosystem.
Common type system and protocols that all pyfarm modules depend on. Enables:
- Consistent sensor/actuator interfaces
- Shared event models for control loop
- Standard error types
- Persistence abstraction
- models.py —
SensorReading,ActuatorState,ControlEvent - errors.py — Standard error types
- sensor.py — Base
Sensorclass - actuator.py — Base
Actuatorclass andCommandtype - storage.py —
SnapshotStoreabstraction
All other pyfarm modules import from pyfarm-core for type definitions and base classes.