Re: Occasional error in guide speed - massive overcorrections


Thanks Howard.

I've downloaded the latest 4.24d, merged with my config and addons, and updated the guide.ino file.  I found that string on lines 164 and 200, and inserted the snippet of code directly above each instance found.   The changes compiled and flashed just fine on my test board.  Unfortunately I'm not sure how to test this other than under the stars, and no good weather on the horizon.  I'll reply once I've had a chance to test.

Thanks again,

On 5/27/2021 3:52 PM, Howard Dutton wrote:
On Thu, May 27, 2021 at 11:32 AM, GuitsBoy wrote:
I was under the assumption that any guide speed was retained, be it .25x .5x or 1x.   I use .5x for guiding, but its quite possible that somethings was slewing at 1x.   However, the PHD over-corrections appear to be guiding at something like 4x or 8x, while the calibration was expecting 0.5x.  It does not appear to simply be double.  But I'll certainly keep this in mind.  Thanks.
I agree this seems like a bug.  Not sure if I want to fix it or not, for fear of breaking something in release-4.24 but the following is likely to be a low risk fix (untested.)

In the file Guide.ino add the following line just before enableGuideRate(guideRate); near lines 184 and 200.

if (pulseGuide) { guideTimerCustomRateAxis1=0.0; guideTimerCustomRateAxis2=0.0; activeGuideRate=-1; }

Let me know once you've checked it out.

For some background this is similar to the known issue with guide rates being wrong after spiral searches.  Easier to fix though, I think.

OnStepX has a guide subsystem design that should effectively address these annoying behaviors with custom guide rates.

Join to automatically receive all group messages.