move_ctrl.h
Go to the documentation of this file.00001 #ifndef MOVE_CTRL_C_H
00002 #define MOVE_CTRL_C_H
00003
00013 #ifdef WIN32
00014 #ifdef C_RUNCTRL_SOURCE
00015 #define LIB_BUILD
00016 #endif
00017 #endif
00018 #include "cpp_extern_macro.h"
00019 BEGIN_C_DECLS;
00021 extern void run_getLastCommandPosition(int *crd_id,
00022 int *x, int *y, int *div16);
00023 extern int run_followLine(int crd_id, int x, int y, int div16);
00024 extern int run_stopLine(int crd_id, int x, int y, int div16);
00025 extern int run_followCircle(int crd_id, int x, int y, int r);
00026 extern int run_followCircleOnLine(int crd_id,
00027 int x, int y, int div16, int r);
00028 extern int run_rotateAngle(int div16);
00029 extern int run_stopAngle(int crd_id, int div16);
00030 extern int run_stop(void);
00031 extern int run_lastMovedCommand(void);
00032 extern int run_restartServoCtrl(void);
00033 extern int run_stopServoCtrl(void);
00034 extern int run_setCoordinateMode(int mode);
00035
00036 END_C_DECLS;
00037 #endif
00038