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

Doesn't work in the Southern Hemisphere #7

Open
Dunbaratu opened this issue Aug 10, 2023 · 0 comments · May be fixed by #8
Open

Doesn't work in the Southern Hemisphere #7

Dunbaratu opened this issue Aug 10, 2023 · 0 comments · May be fixed by #8

Comments

@Dunbaratu
Copy link

The first time I used Lunar Transfer Planner coincidentally happened to also be a career when I decided to play from New Zealand for something different.

The "First Transfer" display NEVER reaches zero. Not even close. As I time warp, the lowest it ever gets is about 4 hours, at which point it snaps to 16 hours.

As this was the first time I used Lunar Transfer Planner I assumed it was me just not understanding it. But others told me the timer reaches Zero when they play.

Eventually I figured out - they're all using Northern Hemisphere launch sites. I'm using a Southern Hemisphere launch site.

I switched my launch site to several different sites and found the behavior is consistent - if your launch site is in the southern hemisphere, the "First Transfer" will never reach zero. Ever. If your launch site is in the northern hemisphere, it works fine.

There must be something in the math that isn't correctly handing the case of starting from negative latitude degrees.

Nazfib added a commit that referenced this issue Dec 11, 2023
- Use double precision quaternion
- Make sure the orbit normal always points roughly northwards
- The 'East' vector used to point to the west;
- Replace latitude with abs(latitude) for checking against inclinations

Fixes #7
@Nazfib Nazfib linked a pull request Dec 11, 2023 that will close this issue
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.

1 participant