Skip to content

Commit

Permalink
Removing this, as it's not consistently helping
Browse files Browse the repository at this point in the history
  • Loading branch information
beaglebot committed Mar 7, 2024
1 parent 259e30d commit 4de3bff
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions drivers/video/v4l2driver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -296,17 +296,6 @@ void V4L2_Driver::ISGetProperties(const char * dev)
defineProperty(&CaptureColorSpaceTP);
#endif

// iOptron cameras take an excessively long time to start if started with a longer exposure time (eg 8 seconds to
// start with a 1s exposure, 28 seconds to start with a 3.5s exposure). Here we start the camera up with a small duration
// to get the camera going. Changing the exposure after it has started does not cause a delay.
if (!v4l_capture_started && isIOptron() )
{
char errmsg[ERRMSGSIZ];
v4l_base->setINTControl(IOPTRON_ABS_EXPOSURE_CTRL_ID, 1, errmsg);
v4l_base->setOPTControl(IOPTRON_AUTO_EXPOSURE_CTRL_ID, 1, errmsg); // Manual
v4l_base->start_capturing(errmsg);
v4l_capture_started = true;
}
}
}

Expand Down

0 comments on commit 4de3bff

Please sign in to comment.