Commit graph

4 commits

Author SHA1 Message Date
a6077d755e Add simple camera-capture with nokhwa.
There might be better camera capture crates, this
is just the first pick for now.

Signed-off-by: Henner Zeller <h.zeller@acm.org>
2026-03-08 20:36:44 +01:00
7d8337bd5e Add cmdline-flag handling.
For now, just interface settings for the stage control:

```
target/release/hostcontrol --help
Usage: hostcontrol [OPTIONS]

Options:
      --stage-device <STAGE_DEVICE>  Interface to talk to movement stage [default: /dev/ttyACM0]
      --tty-speed <TTY_SPEED>        Speed of the stage device (bps) [default: 115200]
  -h, --help                         Print help
  -V, --version                      Print version
```

Signed-off-by: Henner Zeller <h.zeller@acm.org>
2026-03-08 08:35:36 +01:00
f65cc9236b Add debug log support for serial interface.
This shows the chatter on the serial interface if debug
logging is enabled.

```
RUST_LOG=debug target/debug/hostcontrol
```

Signed-off-by: Henner Zeller <h.zeller@acm.org>
2026-03-08 08:32:44 +01:00
bdc3a8e3ae init from q3k's code dump 2026-02-21 23:04:37 +01:00