Do samll change

This commit is contained in:
Kalman 2018-11-27 18:00:22 +08:00
parent 02f39dbf9e
commit b625dca3df
2 changed files with 3 additions and 6 deletions

View File

@ -165,19 +165,19 @@ enum class Option : std::uint8_t {
/**
* Max gain, valid if auto-exposure
*
* range: [0,48], default: 48
* range: [0,255], default: 8
*/
MAX_GAIN,
/**
* Max exposure time, valid if auto-exposure
*
* range: [0,240], default: 240
* range: [0,1000], default: 333
*/
MAX_EXPOSURE_TIME,
/**
* Desired brightness, valid if auto-exposure
*
* range: [0,255], default: 192
* range: [1,255], default: 122
*/
DESIRED_BRIGHTNESS,
/**

View File

@ -24,9 +24,6 @@ int main(int argc, char *argv[]) {
if (!api)
return 1;
api->SetStreamRequest(Format::BGR888, FrameRate::RATE_30_FPS);
// api->SetOptionValue(Option::FRAME_RATE, 25);
// api->SetOptionValue(Option::IMU_FREQUENCY, 500);
api->SetOptionValue(Option::IR_CONTROL, 80);
api->LogOptionInfos();
std::size_t left_count = 0;