|
|
@ -91,6 +91,7 @@ int32_t ZModuleDeviceManager::module_start(uint16_t id) { PROXY_IMPL(ZIModule, m |
|
|
|
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; }; |
|
|
|
virtual int32_t motor_easy_move_to_io(int32_t ioindex, int32_t direction) { return err::koperation_not_support; }; |
|
|
|
|
|
|
|
#endif
|
|
|
|
int32_t ZModuleDeviceManager::motor_enable(uint16_t id, int32_t enable) { PROXY_IMPL(ZIMotor, motor_enable, enable); } |
|
|
@ -114,6 +115,7 @@ int32_t ZModuleDeviceManager::motor_easy_move_by(uint16_t id, int32_t 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); } |
|
|
|
int32_t ZModuleDeviceManager::motor_easy_move_to_io(uint16_t id, int32_t ioindex, int32_t direction) { PROXY_IMPL(ZIMotor, motor_easy_move_to_io, ioindex, direction); } |
|
|
|
/*******************************************************************************
|
|
|
|
* ZIXYMotor * |
|
|
|
*******************************************************************************/ |
|
|
|