Hansastro / Focuser

Focuser for Astronomy based on Arduino (usable by Indi)
GNU General Public License v3.0
22 stars 12 forks source link

Hang in temperature compensation mode #12

Closed Hansastro closed 7 years ago

Hansastro commented 7 years ago

After a temperature elevation, when the temperature go back to the origin the whole system hang when the temperature is very close to the origin.

This bug make the temperature compensation mode unusable...

Hansastro commented 7 years ago

The issue was due of the calculation of the midway in case of movement of only one step back (-1 step). The midway was equal to zero and caused trouble.