|
@ -91,6 +91,8 @@ class I_StepMotorCtrlModule { |
|
|
#pragma pack()
|
|
|
#pragma pack()
|
|
|
|
|
|
|
|
|
public: |
|
|
public: |
|
|
|
|
|
virtual bool isbusy() = 0; |
|
|
|
|
|
|
|
|
virtual int32_t move_to(int32_t x, function<void(move_to_cb_status_t& status)> status_cb) = 0; |
|
|
virtual int32_t move_to(int32_t x, function<void(move_to_cb_status_t& status)> status_cb) = 0; |
|
|
virtual int32_t move_by(int32_t dx, function<void(move_by_cb_status_t& status)> status_cb) = 0; |
|
|
virtual int32_t move_by(int32_t dx, function<void(move_by_cb_status_t& status)> status_cb) = 0; |
|
|
virtual int32_t move_to_zero(function<void(move_to_zero_cb_status_t& status)> status_cb) = 0; |
|
|
virtual int32_t move_to_zero(function<void(move_to_zero_cb_status_t& status)> status_cb) = 0; |
|
|