init
This commit is contained in:
57
device/control/acs/buffercode/csscancode.h
Normal file
57
device/control/acs/buffercode/csscancode.h
Normal file
@@ -0,0 +1,57 @@
|
||||
#ifndef CSSCANCODE_H
|
||||
#define CSSCANCODE_H
|
||||
|
||||
#include <QString>
|
||||
#include <QObject>
|
||||
|
||||
class CSScanCode
|
||||
{
|
||||
public:
|
||||
explicit CSScanCode();
|
||||
~CSScanCode();
|
||||
QString getCode();
|
||||
void setXWorkRange(double value);
|
||||
void setYWorkRange(double value);
|
||||
void setXSampInterval(double value);
|
||||
void setYSampInterval(double value);
|
||||
int getSampTotalNum();
|
||||
void setRSToZeroXPos(double value);
|
||||
void setRSToZeroYPos(double value);
|
||||
void setRSToZeroZ1Pos(double value);
|
||||
|
||||
private:
|
||||
double xWorkRange{1.0};
|
||||
double yWorkRange{1.0};
|
||||
double xSampInterval{1.0};
|
||||
double ySampInterval{1.0};
|
||||
|
||||
const int yNumberOfUnitSamples{20};
|
||||
const int xNumberOfUnitSamples{12};
|
||||
const int yNumberOfLineSegmentSamples{600};
|
||||
const int accDecSampCount{2000};
|
||||
// rangeInitValue 用于初始化保存测距值的数组
|
||||
double rangeInitValue{100.0};
|
||||
// 加减速距离
|
||||
double AccDecDist{70};
|
||||
double xAxisVel{500.0};
|
||||
double yAxisVel{50.0};
|
||||
double RSToZeroXPos{1.0};
|
||||
double RSToZeroYPos{1.0};
|
||||
double RSToZeroZ1Pos{0.0};
|
||||
|
||||
|
||||
// const int yNumberOfUnitSamples{12};
|
||||
// const int xNumberOfUnitSamples{20};
|
||||
// const int xNumberOfLineSegmentSamples{200};
|
||||
// const int accDecSampCount{1500};
|
||||
// // rangeInitValue 用于初始化保存测距值的数组
|
||||
// double rangeInitValue{100.0};
|
||||
// // 加减速距离
|
||||
// double AccDecDist{45.0};
|
||||
// double xAxisVel{20.0};
|
||||
// double yAxisVel{100.0};
|
||||
// double RSToZeroXPos{1.0};
|
||||
// double RSToZeroYPos{1.0};
|
||||
};
|
||||
|
||||
#endif // CSSCANCODE_H
|
||||
Reference in New Issue
Block a user