diff options
author | David Crocker <dcrocker@eschertech.com> | 2021-07-29 10:26:27 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2021-07-31 09:50:49 +0300 |
commit | a0863fe026b25d3fd4f6e32584565969001e62ec (patch) | |
tree | e102093695b7ef2c89c7ae2cad90c6e66b55e82a /src/Movement/Kinematics/FiveBarScaraKinematics.cpp | |
parent | 448c585f89bb48fcb1b1e728001a0b2f4ca32197 (diff) |
Simplified IsAccessibleProbePoint and IsReachable
Diffstat (limited to 'src/Movement/Kinematics/FiveBarScaraKinematics.cpp')
-rw-r--r-- | src/Movement/Kinematics/FiveBarScaraKinematics.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Movement/Kinematics/FiveBarScaraKinematics.cpp b/src/Movement/Kinematics/FiveBarScaraKinematics.cpp index 83c9b3ae..a60498a0 100644 --- a/src/Movement/Kinematics/FiveBarScaraKinematics.cpp +++ b/src/Movement/Kinematics/FiveBarScaraKinematics.cpp @@ -823,7 +823,7 @@ void FiveBarScaraKinematics::MotorStepsToCartesian(const int32_t motorPos[], con } // Return true if the specified XY position is reachable by the print head reference point. -bool FiveBarScaraKinematics::IsReachable(float axesCoords[MaxAxes], AxesBitmap axes, bool isCoordinated) const noexcept +bool FiveBarScaraKinematics::IsReachable(float axesCoords[MaxAxes], AxesBitmap axes) const noexcept { if (axes.IsBitSet(X_AXIS) && axes.IsBitSet(Y_AXIS)) { @@ -835,7 +835,7 @@ bool FiveBarScaraKinematics::IsReachable(float axesCoords[MaxAxes], AxesBitmap a } axes.ClearBit(X_AXIS); axes.ClearBit(Y_AXIS); - return Kinematics::IsReachable(axesCoords, axes, isCoordinated); + return Kinematics::IsReachable(axesCoords, axes); } // Return the initial Cartesian coordinates we assume after switching to this kinematics |