-
Notifications
You must be signed in to change notification settings - Fork 63
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
Refactor/489 thruster platform reference #490
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rcalaon
added
enhancement
New feature or request
refactor
Clean up with no new functionality
labels
Nov 16, 2023
schaubh
requested changes
Nov 16, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good branch overall, just some small edits to address.
src/fswAlgorithms/effectorInterfaces/thrusterPlatformReference/thrusterPlatformReference.h
Outdated
Show resolved
Hide resolved
src/fswAlgorithms/effectorInterfaces/thrusterPlatformReference/thrusterPlatformReference.h
Outdated
Show resolved
Hide resolved
src/fswAlgorithms/effectorInterfaces/thrusterPlatformReference/thrusterPlatformReference.c
Outdated
Show resolved
Hide resolved
src/fswAlgorithms/effectorInterfaces/thrusterPlatformReference/thrusterPlatformReference.rst
Outdated
Show resolved
Hide resolved
rcalaon
force-pushed
the
refactor/489-thrusterPlatformReference
branch
from
November 16, 2023 18:47
6600dd4
to
4a7227c
Compare
rcalaon
force-pushed
the
refactor/489-thrusterPlatformReference
branch
from
November 16, 2023 19:50
4a7227c
to
0273d7e
Compare
schaubh
approved these changes
Nov 16, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good to go
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This refactor consists in providing the
thrusterPlatformReference
module with an input thruster configuration msg containing the configuration information of the thruster with respect to the platform frame. A similar message is provided as an output, containing the reference thruster configuration info in body-frame coordinates. Commit 1 implements these changes in the module.An integral feedback term is provided as an input parameter. When the input is negative, or not provided, the integral feedback term is not added, and the control law defaults to a proportional type.
Two input parameters are defined to bound the absolute value of the reference angles. When the computed references exceed these bounds, they are set equal to the bounds. When the inputs are negative, the bounding of the reference angles is bypassed.
Commit 2 addresses an issue in the former version of the module, making sure that the momentum dumping routine is run only when the RW speed message is connected. Commit 3 implements the bounding of the reference angles. Commit 4 computes the integral feedback term and adds it to the control law. Commits 5 and 6 update the unit test and documentation, respectively.
Verification
A unit test is provided to test the correctness of the output, reflecting the most recent changes.
Documentation
Documentation is updated to reflect the changes.
Future work
No future work is foreseen at the moment.