分离曝光,参数更新,取消反陀螺,数据增强。
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user