Hi @Joshua ,
I’m checking the RunHoleyCalibration.py for corner cases.
I use it on the 6 points pattern results of candidate Kynematics.cpp implementing stretch compensation.
I use the current GroundControl release (not yours) to operate the MaslowCNC.
Then I use your HoleyCalibration GroundControl version to run the optimisation python script.
I used it on measurments from two cases:
a) the machine is pretty well tuned (I know good chain tolerances and other parameters)
RunHoleyCalibration_fineTune.py (1.0 KB)
HoleyOnFirmwareStretchCorrectionCandidateAndKnownGoodValues.txt (1.9 KB)
b) Same except the machine has 0 chain tolerance values (default for new setup), And I used the slightly changed motor distance as proposed by a) results: 3500.2 mm. But then no solution:
RunHoleyCalibration_noResult.py (1.0 KB)
HoleyOnFirmwareStretchCorrectionCandidateAndDefaultValues.txt (1.9 KB)
I was carefull to set the right Starting point values as set into the controles and reported in GroundControl “maslow” and “advanced” settings window . In the second case, it looks like the optimisation does not go toward resolution.
I am not familiar with the optimisation algorithm you have put together. What do you think is happening?