Skip to content

Refactor/358 fix dcm facet srp dynamic effector #359

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

Merged
merged 3 commits into from
Apr 9, 2025

Conversation

leahkiner
Copy link
Collaborator

Description

The computed dcm_BB0 DCM in the facetSRPDynamicEffector module that maps the facet normal vectors to the spacecraft body frame needs to be transposed. The rotation of the facet normal vector is an active rotation; however the computed DCM in the module is for a passive rotation. The correct transformation is therefore the transpose of the passive rotation matrix.

This bug was pointed out by @rcalaon when he was not obtaining expected results from the module. Applying the transpose resolved the issue and he sees the expected results.

Verification

The transformation is identically updated in both the module and the module unit test.

Documentation

The documentation is updated to reflect this change.

Future work

The module unit test needs to be improved. The module and documentation also needs to be cleaned up.

@leahkiner leahkiner added the bug Something isn't working label Nov 22, 2024
@leahkiner leahkiner self-assigned this Nov 22, 2024
@leahkiner leahkiner linked an issue Nov 22, 2024 that may be closed by this pull request
@codyallard28
Copy link
Collaborator

Gosh I thought we already brought this into develop

This ensures that the transformation is active
and the facet normal is rotated correctly into the
spacecraft body frame
@patkenneally patkenneally force-pushed the refactor/358-fix-dcm-facetSRPDynamicEffector branch from 0a80604 to 82b15f6 Compare April 8, 2025 15:11
@leahkiner
Copy link
Collaborator Author

@codyallard28 @patkenneally I just ran pre-commit on the srp module fiiles, this PR should be ready to merge after the checks pass.

@leahkiner leahkiner merged commit 4193636 into develop Apr 9, 2025
8 of 12 checks passed
@leahkiner leahkiner deleted the refactor/358-fix-dcm-facetSRPDynamicEffector branch April 9, 2025 20:49
@github-project-automation github-project-automation bot moved this from In Progress to Done in LASP Basilisk Apr 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Fix facetSRPDynamicEffector module DCM
2 participants