26 lines
635 B
C
26 lines
635 B
C
|
|
#pragma once
|
|||
|
|
|
|||
|
|
#if defined(SG_API_LIBRARY)
|
|||
|
|
# define SG_APISHARED_EXPORT __declspec(dllexport)
|
|||
|
|
#else
|
|||
|
|
# define SG_APISHARED_EXPORT __declspec(dllimport)
|
|||
|
|
#endif
|
|||
|
|
|
|||
|
|
#include "SG_baseDataType.h"
|
|||
|
|
#include <vector>
|
|||
|
|
|
|||
|
|
typedef struct
|
|||
|
|
{
|
|||
|
|
double statorOuterD; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֱ<EFBFBD><D6B1>
|
|||
|
|
double statorInnerD; //<2F><><EFBFBD><EFBFBD><EFBFBD>ڿ<EFBFBD>ֱ<EFBFBD><D6B1>
|
|||
|
|
double gripperR;//<2F><>צ<EFBFBD>뾶
|
|||
|
|
}SG_motorStatorPositionParam;
|
|||
|
|
|
|||
|
|
///<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>grid<69><64>ʽ<EFBFBD><CABD><EFBFBD>Խ<EFBFBD><D4BD><EFBFBD>ˮƽ<CBAE><C6BD><EFBFBD><EFBFBD><EFBFBD>ʹ<EFBFBD>ֱ<EFBFBD><D6B1><EFBFBD><EFBFBD><EFBFBD>Ĵ<EFBFBD><C4B4><EFBFBD>
|
|||
|
|
SG_APISHARED_EXPORT void sg_motorStatorPosition(
|
|||
|
|
SVzNL3DLaserLine* laser3DPoints,
|
|||
|
|
int lineNum,
|
|||
|
|
const SG_motorStatorPositionParam positionParam,
|
|||
|
|
int* errCode,
|
|||
|
|
std::vector<SSG_motorStatorPosition>& resultOpPositions
|
|||
|
|
);
|