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

Feature/1412 remove limit on thruster on time #380

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

codyallard28
Copy link
Collaborator

  • Tickets addressed: EMA-1412
  • Review: By commit
  • Merge strategy: Merge (no squash)

Description

thrMomentumDumping limits the onTime from the thrusters to the frequency of the module. This can be limiting if the control frequency is pretty high, for example 10 Hz result in a max on time of 0.1 seconds. This PR adds the ability to provide a multiple of the control period: maxNumOfDtFiringTimes. When you combine this change and the maxCounterValue, the module can be tuned to give desired performance during desats.

Verification

Previous tests were unmodified and they all still pass. One test was added to test the new functionality. The new functionality can be seen in the test where the control period is set to 0.1 seconds, with the maxNumOfDtFiringTimes set to 3 and the maxCounterValue set to 5. You can see that when there is more time left to burn than 30.1, then the firing time is set to 0.3. If there is less burn time than 30.1, then the burn time is set to the remainder. After the multiple of dt firings has been executed, the burn time is set back to zero until the counter restarts.

Documentation

The Basilisk-thrMomentumDumping documentation has not been updated to reflect the change.

Future work

None

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