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 73236ea..1804e56 100644 --- a/components/xy_robot_ctrl_module/xy_robot_ctrl_module.cpp +++ b/components/xy_robot_ctrl_module/xy_robot_ctrl_module.cpp @@ -336,8 +336,8 @@ int32_t XYRobotCtrlModule::set_base_param(const base_param_t& inparam) { }; void XYRobotCtrlModule::active_cfg() { - m_stepM1->setScale(m_basecfg.distance_scale); - m_stepM2->setScale(m_basecfg.distance_scale); + m_stepM1->setScale(m_basecfg.distance_scale * 2); + m_stepM2->setScale(m_basecfg.distance_scale * 2); m_stepM1->setIHOLD_IRUN(m_basecfg.ihold, m_basecfg.irun, m_basecfg.iholddelay); m_stepM2->setIHOLD_IRUN(m_basecfg.ihold, m_basecfg.irun, m_basecfg.iholddelay); }