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

Linear resources #8

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Linear resources #8

wants to merge 2 commits into from

Conversation

bradNASA
Copy link
Contributor

@bradNASA bradNASA commented Nov 19, 2024

This PR adds linear resources and a config option to switch between linear vs discrete resources. It also allows for plans to start before spice data is available by returning a value at a valid time in the future by default. There are also some unrelated improvements to PointingActivity.

Linear resources are computed from approximations on Unstructured, time-based resources.

Linear resources are yet slow because they are not reusing past computations where they could. This is because approximations are on Double values and not Vector3D, which are often the preferred data structure for things like angle calculations. So, some refactoring is needed to speed this up.

Consider also adding sample-based approximations in addition to the existing secant/error-based approximations.

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