From 1130a99c8d4a3c2a57c692f28c7bfe4353f6293e Mon Sep 17 00:00:00 2001 From: John Zhao Date: Tue, 22 May 2018 11:33:07 +0800 Subject: [PATCH] Update comments of samples --- samples/tutorials/control/auto_exposure.cc | 2 +- samples/tutorials/control/manual_exposure.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/tutorials/control/auto_exposure.cc b/samples/tutorials/control/auto_exposure.cc index f1f5c13..efe77e6 100644 --- a/samples/tutorials/control/auto_exposure.cc +++ b/samples/tutorials/control/auto_exposure.cc @@ -29,7 +29,7 @@ int main(int argc, char *argv[]) { // auto-exposure: 0 api->SetOptionValue(Option::EXPOSURE_MODE, 0); - // max_gain: range [0.48], default 48 + // max_gain: range [0,48], default 48 api->SetOptionValue(Option::MAX_GAIN, 48); // max_exposure_time: range [0,240], default 240 api->SetOptionValue(Option::MAX_EXPOSURE_TIME, 240); diff --git a/samples/tutorials/control/manual_exposure.cc b/samples/tutorials/control/manual_exposure.cc index 12aef0e..38afa32 100644 --- a/samples/tutorials/control/manual_exposure.cc +++ b/samples/tutorials/control/manual_exposure.cc @@ -29,7 +29,7 @@ int main(int argc, char *argv[]) { // manual-exposure: 1 api->SetOptionValue(Option::EXPOSURE_MODE, 1); - // gain: range [0.48], default 24 + // gain: range [0,48], default 24 api->SetOptionValue(Option::GAIN, 24); // brightness/exposure_time: range [0,240], default 120 api->SetOptionValue(Option::BRIGHTNESS, 120);