CommonLibraries/examples/static_station_config.hpp

17 lines
668 B
C++
Raw Normal View History

#pragma once
#include <target_exposure_control/exposure_control.hpp>
// Demonstration values, not validated settings for a real workpiece/camera.
inline target_exposure::Config staticStationExampleConfig() {
target_exposure::Config c;
c.profile_id = "static-station-example";
c.revision = 1;
c.min_exposure_us = 100.0;
c.max_exposure_us = 20'000.0; // caller-owned cycle-time limit, not a library default
c.empirical_exposure_us = 1'000.0;
c.prediction.photometric_model_confirmed = true; // known true only for this simulator
c.prediction.nominal_interval_us = 1'000'000;
c.recovery.global_reference_gray = 100.0;
return c;
}