Skip to content
This repository was archived by the owner on May 6, 2026. It is now read-only.

Latest commit

 

History

History
38 lines (28 loc) · 1.05 KB

File metadata and controls

38 lines (28 loc) · 1.05 KB

shepherd-app

  • control router publishes mqtt messages
  • files router files saved via sheep
  • upload router for python & zip upload

shepherd-common

  • fully centralised configuration
  • common config and argument parsing

shepherd-mqtt

  • structured subscriptions
  • structured publications
  • unsubscribing?

shepherd-run

  • handles events from gpio (start button), impl. further testing
  • handles events from mqtt
  • sets up hopper for usercode (log + start)
  • copies initial image to tmp
  • hardware reset, probably via external scripting?
  • usercode setup and management
  • sending start info to usercode via hopper
  • internal usercode state tracking
  • dump initial image into hopper

shepherd-ws

  • handle incoming connections as subscriptions to mqtt topics
  • handle removal of websocket connections
  • hopper for usercode logs and camera
  • usercode log and camera message buffering
  • send buffered logs to new websocket clients
  • send buffered images to new clients