Saied74 / dishmaster

Program for controlling a dish antenna
0 stars 0 forks source link

Dish position at initalization #5

Closed Saied74 closed 9 months ago

Saied74 commented 9 months ago

When the RoboClaw is not plugged in or not powered up, the display indicates zero position on elevation (it would have also indicated zero position on azimuth except that is outside of the azimuth min and max settings). This is incorrect.

Saied74 commented 9 months ago

In functions setElPosition and setAzPosition in move.go file, app.azPosition and app.elPosition are updated from the reading of the quadrature counter register regardless of the it being there, or not being there. Changed this such that error from reading the quadrature register has to be nil for these values to update. Fixed in v0.6