分离曝光,参数更新,取消反陀螺,数据增强。

This commit is contained in:
xinyang
2019-08-06 11:54:48 +08:00
parent 7337f10123
commit 9392c201db
20 changed files with 41259 additions and 17856 deletions

View File

@@ -41,8 +41,9 @@ private:
RoundQueue<cv::Mat, 2> src_queue;
public:
int gain;
int exposure;
CameraWrapper(int gain, int camera_mode=1, const std::string &n="NULL");
CameraWrapper(int exposure, int gain, int camera_mode=1, const std::string &n="NULL");
~CameraWrapper() final;
bool init() final;

View File

@@ -8,8 +8,12 @@
#warning "Without config.h"
#endif
#ifndef CAMERA_EXPOSURE
#define CAMERA_EXPOSURE (10)
#ifndef ARMOR_CAMERA_EXPOSURE
#define ARMOR_CAMERA_EXPOSURE (10)
#endif
#ifndef ENERGY_CAMERA_EXPOSURE
#define ENERGY_CAMERA_EXPOSURE (10)
#endif
#ifndef CAMERA_RED_GAIN