We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f83e7af commit d36ebe9Copy full SHA for d36ebe9
stm32-modules/include/flex-stacker/firmware/motor_interrupt.hpp
@@ -77,6 +77,7 @@ class MotorInterruptController {
77
set_direction(move.direction);
78
_profile = motor_util::MovementProfile(
79
TIMER_FREQ, state->get_speed_discont(),
80
+ // if moving to limit switch, use max speed discont
81
move.limit_switch ? state->get_speed_discont() : state->get_speed(),
82
state->get_accel(),
83
move.limit_switch ? motor_util::MovementType::OpenLoop
0 commit comments