Skip to content
  • Alex Borro's avatar
    422a958a
    Fix CoreXY speed calculation · 422a958a
    Alex Borro authored
    For cartesian bots, the X_AXIS is the real X movement and same for
    Y_AXIS.
    But for corexy bots, that is not true. The "X_AXIS" and "Y_AXIS" motors
    (that should be named to A_AXIS
    and B_AXIS) cannot be used for X and Y length, because A=X+Y and B=X-Y.
    So we need to create other 2 "AXIS", named X_HEAD and Y_HEAD, meaning
    the real displacement of the Head.
    Having the real displacement of the head, we can calculate the total
    movement length and apply the desired speed.
    422a958a
    Fix CoreXY speed calculation
    Alex Borro authored
    For cartesian bots, the X_AXIS is the real X movement and same for
    Y_AXIS.
    But for corexy bots, that is not true. The "X_AXIS" and "Y_AXIS" motors
    (that should be named to A_AXIS
    and B_AXIS) cannot be used for X and Y length, because A=X+Y and B=X-Y.
    So we need to create other 2 "AXIS", named X_HEAD and Y_HEAD, meaning
    the real displacement of the Head.
    Having the real displacement of the head, we can calculate the total
    movement length and apply the desired speed.
Loading