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

Add Custom Time implementation #67

Merged
merged 13 commits into from
Jul 5, 2024
Merged

Add Custom Time implementation #67

merged 13 commits into from
Jul 5, 2024

Conversation

dahlend
Copy link
Collaborator

@dahlend dahlend commented Jul 4, 2024

This is a custom implementation of time conversion.

Specifically this supports TAI, TDB, and UTC time conversions, with correct handling of leap seconds.

This is designed for speed, with enough accuracy to handle approximately 2-3ms inaccuracy during conversions, and microsecond accuracy between any two single times of the same type.

This speeds up time conversion over 400x.

Additionally, there is a new software pattern introduced here which may be useful for frames/states and vectors.
See the TimeScale trait along with the time scales such as UTC and how they interact with Time itself.

@dahlend dahlend merged commit aec7ef4 into main Jul 5, 2024
1 check passed
@dahlend dahlend deleted the execute-order-66-fix-hubble branch July 5, 2024 15:46
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.

1 participant