Due to how Klipper handles steppers on an IDEX machine, we were getting errors when probing in X axis.
After toolhead finishes its move and hits the probe condition, Klipper does a check to see if steppers actually spun during probing (check_no_movement function). If any of the steppers didn't move, it throws a "Probe triggered prior to movement" error. Problem is on an IDEX system one of the steppers (the inactive carriage) will stay put and not move.
To address this, we have to check if we're on an IDEX rig, and for 'x' axis, only return steppers from a primary rail.
Due to how Klipper handles steppers on an IDEX machine, we were getting errors when probing in X axis.
After toolhead finishes its move and hits the probe condition, Klipper does a check to see if steppers actually spun during probing (check_no_movement function). If any of the steppers didn't move, it throws a "Probe triggered prior to movement" error. Problem is on an IDEX system one of the steppers (the inactive carriage) will stay put and not move.
To address this, we have to check if we're on an IDEX rig, and for 'x' axis, only return steppers from a primary rail.