From 6425f274ea22d06fa7f51974e992ff397257225f Mon Sep 17 00:00:00 2001 From: zhaohe Date: Sun, 22 Oct 2023 18:27:53 +0800 Subject: [PATCH] update --- components/xy_robot_ctrl_module/xy_robot_ctrl_module.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/xy_robot_ctrl_module/xy_robot_ctrl_module.hpp b/components/xy_robot_ctrl_module/xy_robot_ctrl_module.hpp index 5843aea..47bf014 100644 --- a/components/xy_robot_ctrl_module/xy_robot_ctrl_module.hpp +++ b/components/xy_robot_ctrl_module/xy_robot_ctrl_module.hpp @@ -90,8 +90,8 @@ class XYRobotCtrlModule : public I_XYRobotCtrlModule, public ZIXYMotor, public Z virtual int32_t xymotor_move_by(int32_t dx, int32_t dy, int32_t motor_velocity); virtual int32_t xymotor_move_to(int32_t x, int32_t y, int32_t motor_velocity); virtual int32_t xymotor_move_to_zero(); - virtual int32_t xymotor_move_to_zero_and_calculated_shift() { return err::koperation_not_support; } - virtual int32_t xymotor_read_pos(int32_t* x, int32_t* y) { return err::koperation_not_support; } + virtual int32_t xymotor_move_to_zero_and_calculated_shift(); + virtual int32_t xymotor_read_pos(int32_t* x, int32_t* y); private: virtual int32_t _module_set_or_get_param(bool set, int32_t param_id, int32_t& param_value);