From b204d5e73b6f710d026f7ecc85325e0fe4bc2205 Mon Sep 17 00:00:00 2001 From: Brayan Almonte Date: Thu, 12 Dec 2024 16:52:59 -0500 Subject: [PATCH] fix(flex-stacker): fix invalid Latch motor gear ratio for EVT flex-stackers. (#494) --- stm32-modules/include/flex-stacker/flex-stacker/motor_task.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stm32-modules/include/flex-stacker/flex-stacker/motor_task.hpp b/stm32-modules/include/flex-stacker/flex-stacker/motor_task.hpp index d8921326d..8cd16392b 100644 --- a/stm32-modules/include/flex-stacker/flex-stacker/motor_task.hpp +++ b/stm32-modules/include/flex-stacker/flex-stacker/motor_task.hpp @@ -69,7 +69,7 @@ struct Defaults { static constexpr float SPEED_DISCONT = 5.0; static constexpr float MM_PER_REV = - lms::GearBoxConfig::mm_per_rev(16.0, 16.0 / 30.0); + lms::GearBoxConfig::mm_per_rev(30, 30.0 / 16.0); static constexpr float STEPS_PER_REV = 200; static constexpr float MICROSTEP = 16; };