Browse Source

update

master
zhaohe 2 years ago
parent
commit
ceb6729e4e
  1. 7
      api/i_xyrobot_ctrl_module.hpp

7
api/i_xyrobot_ctrl_module.hpp

@ -76,15 +76,16 @@ class I_XYRobotCtrlModule {
} warning_limit_param_t; } warning_limit_param_t;
typedef struct { typedef struct {
bool configInited;
base_param_t basecfg; base_param_t basecfg;
} flash_config_t; } flash_config_t;
#pragma pack() #pragma pack()
public: public:
virtual int32_t move_to(int32_t x, int32_t y, int32_t speed, action_cb_status_t status_cb) = 0;
virtual int32_t move_by(int32_t dx, int32_t dy, int32_t speed, action_cb_status_t status_cb) = 0;
virtual int32_t move_by_no_limit(int32_t dx, int32_t dy, int32_t speed, action_cb_status_t status_cb) = 0;
virtual int32_t move_to(int32_t x, int32_t y, int32_t speed, action_cb_status_t status_cb) = 0;
virtual int32_t move_by(int32_t dx, int32_t dy, int32_t speed, action_cb_status_t status_cb) = 0;
virtual int32_t move_by_no_limit(int32_t dx, int32_t dy, int32_t speed, action_cb_status_t status_cb) = 0;
virtual int32_t move_to_zero(action_cb_status_t status_cb) = 0; virtual int32_t move_to_zero(action_cb_status_t status_cb) = 0;
virtual int32_t move_to_zero_with_calibrate(int32_t nowx, int32_t nowxy, action_cb_status_t status_cb) = 0; virtual int32_t move_to_zero_with_calibrate(int32_t nowx, int32_t nowxy, action_cb_status_t status_cb) = 0;

Loading…
Cancel
Save