Turn the camera's frame trigger off in both profiles, so a legacy tower's camera sends pictures

This commit is contained in:
pgdalmeida 2026-09-28 17:45:32 +02:00
parent dd1764dc99
commit 049c0c5f0e
Signed by: pedro.almeida
GPG Key ID: D4A6C394DF13F1D7
1 changed files with 11 additions and 3 deletions

View File

@ -40,15 +40,21 @@ except ImportError:
sys.exit("vmbpy not installed - see the header of this file") sys.exit("vmbpy not installed - see the header of this file")
# Recipes are ordered: binning changes the sensor geometry, and the throughput # Recipes are ordered: binning changes the sensor geometry, and the throughput
# limit caps the frame rate, so both come before the rate is set. A feature the # limit caps the frame rate, so both come before the rate is set. Frame
# camera does not have is reported and skipped, not fatal: the fleet runs several # triggering is turned off first: the host streams free-running frames and never
# Alvium generations and their feature vocabularies differ. # sends a trigger, and a camera that boots with it on (a legacy tower's, whose
# old program triggered by software) delivers nothing - and keeps its frame rate
# read-only - until it is off. A feature the camera does not have is reported
# and skipped, not fatal: the fleet runs several Alvium generations and their
# feature vocabularies differ.
RECIPES = { RECIPES = {
# Daylight. 2x2 binning is not optional at 10 Hz: unbinned RGB8 on a 16 MP # Daylight. 2x2 binning is not optional at 10 Hz: unbinned RGB8 on a 16 MP
# sensor is a 48 MB frame, which is both over the USB ceiling in # sensor is a 48 MB frame, which is both over the USB ceiling in
# known-issues #19 and far too slow to reach 10 fps under any throughput # known-issues #19 and far too slow to reach 10 fps under any throughput
# limit this camera offers. # limit this camera offers.
"standard": [ "standard": [
("TriggerSelector", "FrameStart"),
("TriggerMode", "Off"),
("BinningHorizontal", 2), ("BinningHorizontal", 2),
("BinningVertical", 2), ("BinningVertical", 2),
("PixelFormat", "RGB8"), ("PixelFormat", "RGB8"),
@ -67,6 +73,8 @@ RECIPES = {
# Night: 1 Hz, long exposures, more gain allowed, noise over motion blur, # Night: 1 Hz, long exposures, more gain allowed, noise over motion blur,
# and the status LED off so it cannot contaminate a long exposure. # and the status LED off so it cannot contaminate a long exposure.
"night": [ "night": [
("TriggerSelector", "FrameStart"),
("TriggerMode", "Off"),
("BinningHorizontal", 2), ("BinningHorizontal", 2),
("BinningVertical", 2), ("BinningVertical", 2),
("PixelFormat", "RGB8"), ("PixelFormat", "RGB8"),