6、 数据采样、处理原程序段
typedef struct tran_para {
int tpoint; // 重采样点树 int sdensi;
double ratio; // 减速器的传动比 double amp; // 误差放大比 double ampl; // 长度放大比 double sxstep; double pxstep; double p_ys;
double s_ys;
double eq; // 误差当量 };
struct tran_para *trp;
#define TPOINT (trp->tpoint) #define SAMPDEN (trp->sdensi) #define RATIO (trp->ratio) #define AMP (trp->amp) #define AMPL (trp->ampl) #define SXSTEP (trp->sxstep) #define PXSTEP (trp->pxstep) #define P_YS (trp->p_ys) #define S_YS (trp->s_ys) #define EQ (trp->eq)
typedef struct tran_addr {
int far *tdata; // 采样数据指针 int *pdata; };
typedef struct tran_resu {
int point; // 采样点数
int flag; // 数据有效标志,0 表示数据无效
double fi; // 传动链误差值。对回程误差为回程误差的最大值 double ffi; // 回程误差的平均值
double fpk; // 回程误差的最小值,传动链时记录测量起始点位置 };
typedef struct tran_800 { struct tran_addr adr; struct tran_resu rsu; };
百度搜索“77cn”或“免费范文网”即可找到本站免费阅读全部范文。收藏本站方便下次阅读,免费范文网,提供经典小说教育文库谐波减速器传动精度测试仪(5)在线全文阅读。
相关推荐: