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/492 thrust cm estimation #493

Merged
merged 7 commits into from
Nov 17, 2023
Merged

Conversation

rcalaon
Copy link
Contributor

@rcalaon rcalaon commented Nov 16, 2023

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

Description

This module implements a sequential, weighted leas-squares algorithm to process torque measurements and triangulate the location of the center of mass, relying on the knowledge of the thrust vector and application point. At least two measurements are required to triangulate the location. The estimated CM location allows to stabilize the thrust vector in order to continuously dump momentum even in the presence of external disturbances such as SRP torque. Commit 1 adds a line to the cmake file to build the module in a new folder. Commit 2 adds a message containing estimated data and residuals. Commit 3 contains the initial module files. Commit 4 checks the connected messages. Commit 5 performs the actual LS estimation. Commits 6 and 7 contain the unit test and documentation, respectively.

Verification

A Unit Test is provided. Because this is an estimation, no exact result can be verified. However, this test checks the correctness of the results based on consideration regarding the estimated state error and covariance.

Documentation

Documentation is provided to explain how the estimator works.

Future work

The estimator can be expanded to include the unmodeled perturbation in the state, in order to properly estimate the CM and the unmodeled perturbation itself.

@rcalaon rcalaon added the enhancement New feature or request label Nov 16, 2023
@rcalaon rcalaon requested a review from schaubh November 16, 2023 21:01
@rcalaon rcalaon self-assigned this Nov 16, 2023
@rcalaon rcalaon linked an issue Nov 16, 2023 that may be closed by this pull request
@rcalaon rcalaon force-pushed the feature/492-thrustCMEstimation branch from 1547cb6 to 90d22fc Compare November 16, 2023 21:37
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. Just some small edits. Otherwise I'm good with this one.

@rcalaon rcalaon force-pushed the feature/492-thrustCMEstimation branch from 90d22fc to 66c67a3 Compare November 17, 2023 17:20
@schaubh schaubh merged commit 707fc64 into develop Nov 17, 2023
2 checks passed
@schaubh schaubh deleted the feature/492-thrustCMEstimation branch November 17, 2023 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

thrustCMEstimation fsw module
2 participants