-
Notifications
You must be signed in to change notification settings - Fork 68
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
Inverted GoTo. South America #121
Comments
Hi. I can't quite see the firmware information there. Are you fully updated? And to confirm, you are in the Southern Hemisphere part of Brazil? I believe this issue should've been fixed, but I personally haven't tried with Stellarium. Please also attach the OATControl logs here (click on the log files button). |
good night I'm only Brazil. |
OTAControl log |
Please download the latest develop code here: https://github.com/OpenAstroTech/OpenAstroTracker-Firmware/archive/refs/heads/develop.zip The issue should be fixed. |
I installed the firmware, it worked more or less but I had to leave the DEC inverted, press it up, it goes down, but it's hitting the goto position now thx |
I just opened a PR for that issue #123. You can manually edit the file if you want, for now. |
@nafital Do you still notice any bugs with the latest firmware? If not, you can close the issue. |
I was also having erratic behaviors from the OAT in the south hemisphere (firmware V1.11.5) and had to carry some changes to the code. I did not dig into the algorithm enough to be able to affirm that what I did did not create any other problems. What was happening is that the mount was solving all targets as it were in the northern hemisphere so I had to do two things: flip the DEC by 180 degrees and mirror the RA. All the changes were done in the Mount.cpp module. For the RA I had to change the conditional in line 1197 (flipped > to <): if (NORTHERN_HEMISPHERE ? degreePos < 0 : degreePos < 0)
{
hourPos += 12;
if (hourPos > 24)
hourPos -= 24;
} I also got rid of the conditional in line 3279 which was adding 12h to the RA value. These pieces of code were flipping the RA position. For the declination I had to add a new conditional related to the I did some testing and it appears to be working fine now, but as I said I am not familiar enough with the code to guarantee I did not create other problems. |
I can confirm I was having this issue, using the above info I did the following: Code changes in Mount.CPP: ~line 1200, "if (NORTHERN_HEMISPHERE ? degreePos < 0 : degreePos > 0)" changed to "if (NORTHERN_HEMISPHERE ? degreePos < 0 : degreePos < 0)" I also ended up having to flag my RA as inverted, so far this has been working. I will change the RA stepper wiring as soon as I can to confirm if the RA inversion code is needed or not |
User GaryMCK on Discord was having issues with SYNC causing a dec flip, I confirmed the issue and applied a fix that works for me. I've compiled all my mount.cpp changes into a diff. Please excuse if it's in the wrong format as this is my first attempt at contributing code here. ~line 1260 |
WhatsApp.Video.2021-07-13.at.19.48.00.mp4
I don't know why I live in Brazil. =(
The text was updated successfully, but these errors were encountered: