I've been having trouble with SGPro's autofocus on one of my scopes, on another of my scopes there is not this same problem. This problem doesn't happen every time, sometimes autofocus goes as expected. What happens is SGPro goes through all the autofocus images and moves the focuser's position the number of steps as it should, and plots the data points. But once it finishes the final data point and draws the green lines on each leg of the V-curve, it's clear that the green lines intersect off to the side indicating that the focuser needs to be adjusted from where it started. However, when SGPro takes the validation frame, it moves the focuser back to the position that it started at. So its like SGPro has no problem talking to and operating the focuser, and it figures out the best fit for focused, but then it just moves the focuser right back to the original position which it clearly just figured out is not focused. Like I said, with this particular scope, when focus clearly needs to be adjusted, sometimes it will adjust the focuser, but most of the time it doesn't. This never happens with my other scope.
The scope that this is happening with is my SCT which has a Rigel nStep focuser motor controlled by a MoonLite controller. My other scope which has never had this problem is controlled by the same MoonLite controller, but has a MoonLite stepper. My mount is an iOptron CEM60 which has a hub on the DEC saddle to help with cable management, and that hub has a RJ12 socket which I use to connect the focuser motor to the controller (I had to use a DB9 to RJ12 adapter on the MoonLite controller). I'm using SGPro version 2.5.1.17.
Heres a screenshot showing the autofocus graph and the starting and final focuser positions being the same. https://www.dropbox.com/s/fugrkyz32rh427h/AFneedstoadjust.jpg?dl=0
Has this happened to anyone else? What might be responsible for causing this?