From 81e51b196ee15b4072b46bb589af0102413728c3 Mon Sep 17 00:00:00 2001 From: zhaohe Date: Sun, 22 Oct 2023 19:24:56 +0800 Subject: [PATCH] update --- components/step_motor_45/step_motor_45.cpp | 1 - components/step_motor_45/step_motor_45.hpp | 1 - 2 files changed, 2 deletions(-) diff --git a/components/step_motor_45/step_motor_45.cpp b/components/step_motor_45/step_motor_45.cpp index 17c3a10..2d817be 100644 --- a/components/step_motor_45/step_motor_45.cpp +++ b/components/step_motor_45/step_motor_45.cpp @@ -332,7 +332,6 @@ int32_t StepMotor45::motor_enable(int32_t enable) { return (int32_t)0; } int32_t StepMotor45::motor_rotate(int32_t direction, int32_t motor_velocity, int32_t acc) { return rotate(direction); } int32_t StepMotor45::motor_move_by(int32_t distance, int32_t motor_velocity, int32_t acc) { return move_by(distance); } int32_t StepMotor45::motor_move_to(int32_t position, int32_t motor_velocity, int32_t acc) { return move_to(position); } -int32_t StepMotor45::motor_move_to_with_torque(int32_t pos, int32_t torque) { return err::koperation_not_support; } int32_t StepMotor45::motor_rotate_acctime(int32_t direction, int32_t motor_velocity, int32_t acctime) { return rotate(direction); } int32_t StepMotor45::motor_move_by_acctime(int32_t distance, int32_t motor_velocity, int32_t acctime) { return move_by(distance); } diff --git a/components/step_motor_45/step_motor_45.hpp b/components/step_motor_45/step_motor_45.hpp index 6505044..219f46b 100644 --- a/components/step_motor_45/step_motor_45.hpp +++ b/components/step_motor_45/step_motor_45.hpp @@ -124,7 +124,6 @@ class StepMotor45 : public ZIModule, public ZIMotor { virtual int32_t motor_rotate(int32_t direction, int32_t motor_velocity, int32_t acc) override; virtual int32_t motor_move_by(int32_t distance, int32_t motor_velocity, int32_t acc) override; virtual int32_t motor_move_to(int32_t position, int32_t motor_velocity, int32_t acc) override; - virtual int32_t motor_move_to_with_torque(int32_t pos, int32_t torque) override; virtual int32_t motor_rotate_acctime(int32_t direction, int32_t motor_velocity, int32_t acctime) override; virtual int32_t motor_move_by_acctime(int32_t distance, int32_t motor_velocity, int32_t acctime) override;