Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manual Rotator button no longer works with 4.0 #38

Closed
ghilios opened this issue Mar 8, 2021 · 9 comments · Fixed by #39
Closed

Manual Rotator button no longer works with 4.0 #38

ghilios opened this issue Mar 8, 2021 · 9 comments · Fixed by #39

Comments

@ghilios
Copy link

ghilios commented Mar 8, 2021

After upgrading the firmware to 4.0.0, the manual rotation button on the physical device no longer works. ASCOM control still functions though.

@AstroFrank
Copy link

AstroFrank commented Mar 9, 2021 via email

@NameOfTheDragon
Copy link
Collaborator

Thanks for reporting. I have had independent confirmation of the issue - it seems like it might be a timeout that may be related to the holding torque changes that went into the latest release. It's under investigation.

@NameOfTheDragon
Copy link
Collaborator

Here is the offending code:

		// Release stepper holding torque if there has been no serial communication for "a long time".
		if (serialInactivityTimer.Expired())
			stepper.releaseMotor();

This runs in the main loop and once the timer has expired it will keep disabling the stepper motor every time around the loop. Any activity on the serial port resets the timer, which is why the ASCOM driver (et al) still work. It should be a simple fix.

@ghilios
Copy link
Author

ghilios commented Mar 9, 2021

Nice! Let me know if you'd like me to test it before you release.

@NameOfTheDragon NameOfTheDragon linked a pull request Mar 9, 2021 that will close this issue
@NameOfTheDragon
Copy link
Collaborator

@ghilios @AstroFrank Please could you try the hex file attached to this pull request and let me know if it solves the problem?
#39

@NameOfTheDragon
Copy link
Collaborator

NameOfTheDragon commented Mar 9, 2021 via email

@AstroFrank
Copy link

AstroFrank commented Mar 10, 2021 via email

@ghilios
Copy link
Author

ghilios commented Mar 11, 2021

Sorry I was ill yesterday and couldn't get to it. I will try today after work!

@NameOfTheDragon
Copy link
Collaborator

NameOfTheDragon commented Mar 11, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants