controller
egm_interface.h
浏览该文件的文档.
1 
11 #ifndef EGM_INTERFACE_H_
12 #define EGM_INTERFACE_H_
13 #include "Base/robotStruct.h"
14 
15 
16 #ifdef __cplusplus
17 namespace HYYRobotBase
18 {
19 extern "C" {
20 #endif
21 
42 extern int EGMCreate_c(const char* name, int robot_index, int guide_type, int input_type, int cycle_times, tool* tool, wobj* wobj);
43 
49 extern void EGMRelease_c(const char* name);
50 
58 extern int EGMRunJoint_c(const char* name, int block);
59 
60 
81 extern int EGMCreateForMATLAB(int robot_index, int guide_type, int input_type, int cycle_times, const char* tool, const char* wobj);
82 
89 extern void EGMInputForMATLAB(int robot_index, double* data);
90 
97 extern void EGMInputJointForMATLAB(int robot_index, double* data);
98 
107 extern int EGMOutputForMATLAB(int robot_index, double* xyzrpy, double* sensor_force);
108 
116 extern int EGMInputKeyForMATLAB(int robot_index, int key_index);
117 
123 extern void EGMReleaseForMATLAB(int robot_index);
124 
125 #ifdef __cplusplus
126 }
127 }
128 #endif
129 
130 
131 #endif /* EGM_INTERFACE_H_ */
EGMReleaseForMATLAB
void EGMReleaseForMATLAB(int robot_index)
释放外部引导数据区
EGMInputKeyForMATLAB
int EGMInputKeyForMATLAB(int robot_index, int key_index)
获取外部设备的开关状态
robotStruct.h
机器人运动指令数据类型
EGMCreateForMATLAB
int EGMCreateForMATLAB(int robot_index, int guide_type, int input_type, int cycle_times, const char *tool, const char *wobj)
创建外部引导数据区
EGMCreate_c
int EGMCreate_c(const char *name, int robot_index, int guide_type, int input_type, int cycle_times, tool *tool, wobj *wobj)
创建外部引导数据区
wobj
运动指令输入,工件标系数据
Definition: robotStruct.h:158
EGMRunJoint_c
int EGMRunJoint_c(const char *name, int block)
启动关节空间引导
EGMOutputForMATLAB
int EGMOutputForMATLAB(int robot_index, double *xyzrpy, double *sensor_force)
为外部设备反馈机器人位姿和接触力
EGMInputJointForMATLAB
void EGMInputJointForMATLAB(int robot_index, double *data)
获取外部设备的引导关节数据
EGMInputForMATLAB
void EGMInputForMATLAB(int robot_index, double *data)
获取外部设备的引导数据
EGMRelease_c
void EGMRelease_c(const char *name)
释放外部引导数据区
tool
运动指令输入,工具数据
Definition: robotStruct.h:145