diff --git a/components/xy_robot_ctrl_module/xy_robot_ctrl_module.cpp b/components/xy_robot_ctrl_module/xy_robot_ctrl_module.cpp index 3f44c18..f3bb092 100644 --- a/components/xy_robot_ctrl_module/xy_robot_ctrl_module.cpp +++ b/components/xy_robot_ctrl_module/xy_robot_ctrl_module.cpp @@ -21,6 +21,8 @@ void XYRobotCtrlModule::initialize(int32_t id, IStepperMotor* stepM1, IStepperMo m_thread.init("XYRobotCtrlModule", 1024, osPriorityNormal); module_active_cfg(); xymotor_enable(1); + m_stepM1->setScaleDenominator(10); // TODO:修改这个参数为配置参数 + m_stepM2->setScaleDenominator(10); // TODO:修改这个参数为配置参数 } void XYRobotCtrlModule::create_default_cfg(config_t& cfg) {