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/358 fix dcm facet srp dynamic effector #359

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

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.

This ensures that the transformation is active
and the facet normal is rotated correctly into the
spacecraft body frame
@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
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: In Progress
Development

Successfully merging this pull request may close these issues.

Fix facetSRPDynamicEffector module DCM
1 participant