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

Added ability to specify a rate for a SampledResource #956

Merged
merged 4 commits into from
Jun 1, 2023

Conversation

ewferg
Copy link
Contributor

@ewferg ewferg commented May 30, 2023

  • Tickets addressed: None
  • Review: By commit
  • Merge strategy: Merge (no squash)

Description

The example SampledResource in the contrib package was a little too simple in that it did not provide the capability to sample at a user specified rate. This PR updates the SampledResource so that users can both initialize a resource to a custom sample rate and change the rate later if they wish.

Verification

No tests were added and the original resource constructor still exists, which defaults the rate to one second.

Documentation

The Resource and Models section of the docs should be updated, but my plan was to address this update as part of NASA-AMMOS/aerie-docs#46

@ewferg ewferg requested a review from mattdailis May 30, 2023 23:39
@ewferg ewferg requested a review from a team as a code owner May 30, 2023 23:39
@ewferg ewferg requested a review from jmdelfa May 30, 2023 23:39
@ewferg ewferg temporarily deployed to e2e-test May 30, 2023 23:39 — with GitHub Actions Inactive
@ewferg ewferg removed the request for review from mattdailis May 30, 2023 23:39
@ewferg ewferg temporarily deployed to e2e-test May 31, 2023 16:30 — with GitHub Actions Inactive
@ewferg ewferg temporarily deployed to e2e-test May 31, 2023 16:34 — with GitHub Actions Inactive
Copy link
Collaborator

@mattdailis mattdailis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, thanks for making those updates. One minor update requested, but giving my approval now.

@ewferg ewferg removed the request for review from jmdelfa May 31, 2023 20:42
@ewferg ewferg temporarily deployed to e2e-test June 1, 2023 00:24 — with GitHub Actions Inactive
@ewferg ewferg force-pushed the contrib-sampl-res-update branch from 8789e70 to 9921c3a Compare June 1, 2023 00:27
@ewferg ewferg temporarily deployed to e2e-test June 1, 2023 05:16 — with GitHub Actions Inactive
@ewferg ewferg merged commit 42dd18c into develop Jun 1, 2023
@ewferg ewferg deleted the contrib-sampl-res-update branch June 1, 2023 05:44
@camargo camargo added feature A new feature or feature request simulation Anything related to the simulation domain labels Jun 1, 2023
@camargo camargo added this to the FY23 Q3 - Ad Hoc Improvements milestone Jun 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature A new feature or feature request simulation Anything related to the simulation domain
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

5 participants