Commit Graph

35 Commits

Author SHA1 Message Date
Peter Bochmann 3d90af8490
Take a thermal picture beside the colour one at every waypoint
A TarisIR mini (driver = taris) is a second camera source behind a
CompositeCameraSource: the colour camera is asked first, then the thermal one
for its newest frame, and both frames carry the colour frame's timestamp.
Counts are saved 16-bit lossless under TIR/, and the CamEvent gains cal,
missed, tmax, tmed, hotx and hoty (docs/mqtt-api.md). The SDK is declared in
IrbgrabApi.h and loaded with dlopen, so no SDK file is in the repository; a
missing or unreachable camera stays offline (Health cams_offline) while the
scan goes on. scripts/fgc-setcap gives the binary cap_net_raw after a build.

Built and tested in an Ubuntu 22.04 container (mock, MQTT, Vimba+MQTT,
534/534), plus a mock run with RGB/TIR pairs. Not yet run against the camera.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-14 20:37:25 +02:00
pgdalmeida 6fa43f1e08
Slow down, then pause, the scan when the tower computer runs hot or cannot keep up 2026-10-08 17:21:58 +02:00
pgdalmeida cfd8ba9978
Save raw 12-bit camera frames as 12-bit colour images, keep a waypoint's picture once the image has settled, and hold the scan when saving falls behind 2026-10-05 10:14:53 +02:00
pgdalmeida 895c2f22fd
Add a command to keep taking pictures where the gimbal points, drop unused camera commands, and fit the help on one page 2026-09-29 15:48:07 +02:00
pgdalmeida 8d81e03a3f
Support the legacy towers' DHT11 and fan, and fix the installer's reflash and test steps 2026-09-28 14:43:05 +02:00
pgdalmeida f4e67666d8
Give the tower three modes, auto, pan and manual, switched by command 2026-09-25 17:50:48 +02:00
pgdalmeida 4a69d65afb
Take any console command over MQTT, and answer it 2026-09-25 16:43:45 +02:00
pgdalmeida d8d2fee8af
Test the camera with forced dark and bright settings, and recover a camera that stops sending frames 2026-09-24 17:35:37 +02:00
pgdalmeida 86f930a671
Add a one-shot test command and a tool that edits the config files safely 2026-09-23 18:52:44 +02:00
pgdalmeida 582047d3a2
Keep a log file, so a tower's record outlives the tmux session 2026-09-22 18:15:09 +02:00
pgdalmeida 522ba072ec
Answer the firmware's NEED lines from hardware.ini 2026-09-18 16:16:04 +02:00
pgdalmeida b5d1fac4cb
Declare axis speed in degrees per second, not VMAX 2026-09-18 15:44:19 +02:00
pgdalmeida 4f57651c9b
Refuse to start when the rig is missing hardware it declares 2026-09-18 14:50:50 +02:00
pgdalmeida 3476e5adc7
Convert motor current from milliamps to TMC register values 2026-09-17 17:58:45 +02:00
pgdalmeida 76e777f5af
Add hardware.ini assembly config, build identity in the header, and ;prev calibration history
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018GsFaaLUTCYy3ZjaNTJzMv
2026-09-11 21:28:18 +02:00
pgdalmeida 1a572cb074
Changed heading logic; added snapshot feature 2026-09-11 17:42:01 +02:00
pgdalmeida 5fce32aee7
IMU readings fixed; IMU mounting is part of config.ini; device config verified at startup 2026-09-09 12:19:53 +02:00
pgdalmeida a5ad814260
Camera settings now come from VimbaX profile XMLs; explicit per-camera config 2026-09-04 14:12:05 +02:00
pgdalmeida bc4d2ec002
Added an expanded connectivity view with MQTT message history 2026-09-02 12:39:21 +02:00
pgdalmeida f1342965de
Camera is now configured by per-mode files; quality gate removed 2026-08-26 15:52:47 +02:00
pgdalmeida 4d5e2e4194
Added scrolling in TUI 2026-08-21 15:25:45 +02:00
pgdalmeida 4bc5e762e7
Added terminal attachment/detachment 2026-08-07 17:35:32 +02:00
pgdalmeida 376e79536c
camera logic improved 2026-08-07 15:04:47 +02:00
pgdalmeida 48c9aa529d
refactor and bug fixes 2026-08-05 17:00:42 +02:00
pgdalmeida 271b076394
added temperature and humidity sensor (SHT41) 2026-08-05 09:13:16 +02:00
pgdalmeida bdb4b82885
Introduced harware in-situ testing 2026-07-01 10:02:34 +02:00
pgdalmeida 9a25bbcc48
added gimbal calibration command, added TUI prompts 2026-06-29 06:27:36 +02:00
pgdalmeida e33781c545
Integration of IMU 2026-06-24 11:03:28 +02:00
pgdalmeida df42a4fc69
Fix DUMP serial corruption by pacing USB-CDC output with Serial.flush() 2026-06-23 16:35:42 +02:00
pgdalmeida 0b62fef9c7
added help info 2026-06-23 15:22:31 +02:00
pgdalmeida 09b032b998
added terminal user interface (TUI) 2026-06-23 13:21:34 +02:00
pgdalmeida 14707c62ae
Migrate host to the current firmware serial protocol (counts/MOVE/ST) 2026-06-22 23:44:13 +02:00
pgdalmeida 11a2384c53
Modularize into interfaces with real + mock implementations 2026-06-22 12:51:57 +02:00
pgdalmeida 16ab54484d
Add logging, I/O interfaces, and extracted capture scheduler 2026-06-22 12:26:05 +02:00
pgdalmeida c4b24c0fbf
Add CMake build and typed config with path resolution (remove hardcoded paths) 2026-06-22 12:08:18 +02:00