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

Update geosynchronous orbit computations in CelestialBody #144

Merged
merged 2 commits into from Nov 22, 2023

Conversation

sylvain-guillet
Copy link
Contributor

Updated the geosynchronous orbit calculations in the CelestialBody class. Replaced the StateVector class reference with ConicOrbitalElements for more accurate orbit representation. This change provides more accurate orbital parameters including eccentricity and true anomaly.

Additionally, added a new member function GetBodyFixedPosition to compute the fixed position of a celestial body given its longitude, latitude, and epoch. This was done to facilitate positioning calculations in other parts of the software.

Updated the geosynchronous orbit calculations in the CelestialBody class. Replaced the StateVector class reference with ConicOrbitalElements for more accurate orbit representation. This change provides more accurate orbital parameters including eccentricity and true anomaly.

Additionally, added a new member function GetBodyFixedPosition to compute the fixed position of a celestial body given its longitude, latitude, and epoch. This was done to facilitate positioning calculations in other parts of the software.
Updated .gitignore to include build folders specific to Linux. Refactored tests in CelestialBodyTests.cpp to assert position coordinates individually using ASSERT_NEAR instead of asserting the equality of the entire position vector. This change can provide more accurate error reports in the face of potential floating point precision issues.
@sylvain-guillet sylvain-guillet merged commit 407293c into main Nov 22, 2023
2 checks passed
@sylvain-guillet sylvain-guillet deleted the feature/normalize-geosynchronous branch November 22, 2023 12:20
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 this pull request may close these issues.

None yet

1 participant