Skip to content
Snippets Groups Projects
Commit 829e1c33 authored by Nicolas Pope's avatar Nicolas Pope
Browse files

Remove gain config change

parent 60f62b5d
No related branches found
No related tags found
1 merge request!348Pylon properties from master machine
Pipeline #32012 failed
......@@ -108,10 +108,10 @@ PylonDevice::PylonDevice(nlohmann::json &config)
//hres_hm_ = cv::cuda::HostMem(fullheight_, fullwidth_, CV_8UC4);
//rtmp_.create(fullheight_, fullwidth_, CV_8UC4);
on("gain", [this]() {
lcam_->Gain.SetValue(value("gain",1.0));
rcam_->Gain.SetValue(value("gain",1.0));
});
//on("gain", [this]() {
// lcam_->Gain.SetValue(value("gain",1.0));
// rcam_->Gain.SetValue(value("gain",1.0));
//});
on("exposure", [this]() {
if (lcam_->GetDeviceInfo().GetModelName() != "Emulation") {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment