新增 + 修改

1. 分离空间维(水平)和光谱维(垂直)的bin1和bin2有效窗口的参数:configfile.cpp和ximeaimager.cpp都需要修改相应代码;
2. 为了减少光谱仪的热量累积,加入了usb开电、断电功能,udpserver.cpp需要增加相应开电、断电代码:
3. 使用了云一峰的新板子,linux识别的惯导串口号改变:sbgrecorder.cpp;
This commit is contained in:
tangchao0503
2022-10-13 16:30:40 +08:00
parent 374a48022b
commit 87a35f5dd4
6 changed files with 123 additions and 54 deletions

View File

@ -27,7 +27,8 @@ public:
bool isConfigfileExist();
bool parseConfigfile();
bool getBin(int &bin);
bool getSpectralBin(int &spectralBin);
bool getspatialBin(int &spatialBin);
bool getEffectiveWindow(int &width, int &offsetx, int &height, int &offsety);
bool getEffectiveWindowRoi(int &width, int &offsetx);
bool getGainOffset(float &gain, float &offset);