|
|
@ -93,6 +93,7 @@ int32_t ZModuleDeviceManager::module_start(uint16_t id) { PROXY_IMPL(ZIModule, m |
|
|
|
virtual int32_t motor_easy_move_by(uint16_t id, int32_t distance); |
|
|
|
virtual int32_t motor_easy_move_to(uint16_t id, int32_t position); |
|
|
|
virtual int32_t motor_easy_move_to_zero(uint16_t id, int32_t direction); |
|
|
|
virtual int32_t motor_easy_set_current_pos(int32_t pos) { return err::koperation_not_support; }; |
|
|
|
|
|
|
|
#endif
|
|
|
|
int32_t ZModuleDeviceManager::motor_enable(uint16_t id, int32_t enable) { PROXY_IMPL(ZIMotor, motor_enable, enable); } |
|
|
@ -115,6 +116,7 @@ int32_t ZModuleDeviceManager::motor_easy_rotate(uint16_t id, int32_t direction) |
|
|
|
int32_t ZModuleDeviceManager::motor_easy_move_by(uint16_t id, int32_t distance) { PROXY_IMPL(ZIMotor, motor_easy_move_by, distance); } |
|
|
|
int32_t ZModuleDeviceManager::motor_easy_move_to(uint16_t id, int32_t position) { PROXY_IMPL(ZIMotor, motor_easy_move_to, position); } |
|
|
|
int32_t ZModuleDeviceManager::motor_easy_move_to_zero(uint16_t id, int32_t direction) { PROXY_IMPL(ZIMotor, motor_easy_move_to_zero, direction); } |
|
|
|
int32_t ZModuleDeviceManager::motor_easy_set_current_pos(uint16_t id, int32_t pos) { PROXY_IMPL(ZIMotor, motor_easy_set_current_pos, pos); } |
|
|
|
/*******************************************************************************
|
|
|
|
* ZIXYMotor * |
|
|
|
*******************************************************************************/ |
|
|
|