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

Refactor/489 thruster platform reference #490

Merged
merged 6 commits into from
Nov 16, 2023

Conversation

rcalaon
Copy link
Contributor

@rcalaon rcalaon commented Nov 16, 2023

  • Tickets addressed: bsk-489
  • Review: By commit
  • Merge strategy: Merge (no squash)

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.

@rcalaon rcalaon added enhancement New feature or request refactor Clean up with no new functionality labels Nov 16, 2023
@rcalaon rcalaon self-assigned this Nov 16, 2023
@rcalaon rcalaon linked an issue Nov 16, 2023 that may be closed by this pull request
Copy link
Contributor

@schaubh schaubh left a 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.

@rcalaon rcalaon force-pushed the refactor/489-thrusterPlatformReference branch from 6600dd4 to 4a7227c Compare November 16, 2023 18:47
@rcalaon rcalaon force-pushed the refactor/489-thrusterPlatformReference branch from 4a7227c to 0273d7e Compare November 16, 2023 19:50
Copy link
Contributor

@schaubh schaubh left a comment

Choose a reason for hiding this comment

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

good to go

@schaubh schaubh merged commit 84d652c into develop Nov 16, 2023
2 checks passed
@schaubh schaubh deleted the refactor/489-thrusterPlatformReference branch November 16, 2023 21:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request refactor Clean up with no new functionality
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

thrusterPlatformReference refactor
2 participants