From 22748a617bf0a38395b2d9621d9b9f8b9b10fc45 Mon Sep 17 00:00:00 2001 From: zhaohe Date: Wed, 27 Sep 2023 21:26:39 +0800 Subject: [PATCH] add step motor_ctrl module --- components/step_motor_ctrl_module/step_motor_ctrl_module.cpp | 2 +- components/step_motor_ctrl_module/step_motor_ctrl_module.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/step_motor_ctrl_module/step_motor_ctrl_module.cpp b/components/step_motor_ctrl_module/step_motor_ctrl_module.cpp index d033449..a77cd3a 100644 --- a/components/step_motor_ctrl_module/step_motor_ctrl_module.cpp +++ b/components/step_motor_ctrl_module/step_motor_ctrl_module.cpp @@ -204,7 +204,7 @@ int32_t StepMotorCtrlModule::move_to_zero_with_calibrate(int32_t nowx, function< return 0; } -int32_t StepMotorCtrlModule::rotate(uint8_t direction, int32_t velocity, int32_t acc) { return 0; } +// int32_t StepMotorCtrlModule::rotate(uint8_t direction, int32_t velocity, int32_t acc) { return 0; } /******************************************************************************* * READ * diff --git a/components/step_motor_ctrl_module/step_motor_ctrl_module.hpp b/components/step_motor_ctrl_module/step_motor_ctrl_module.hpp index 31fe6dc..91f8fc6 100644 --- a/components/step_motor_ctrl_module/step_motor_ctrl_module.hpp +++ b/components/step_motor_ctrl_module/step_motor_ctrl_module.hpp @@ -66,7 +66,7 @@ class StepMotorCtrlModule { int32_t move_by(int32_t dpos, function status_cb); int32_t move_to_zero(function status_cb); int32_t move_to_zero_with_calibrate(int32_t nowpos, function status_cb); - int32_t rotate(uint8_t direction, int32_t velocity, int32_t acc); + // int32_t rotate(uint8_t direction, int32_t velocity, int32_t acc); /******************************************************************************* * READ *