Skip to content

Refactor/358 fix dcm facet srp dynamic effector#359

Merged
leahkiner merged 3 commits into
developfrom
refactor/358-fix-dcm-facetSRPDynamicEffector
Apr 9, 2025
Merged

Refactor/358 fix dcm facet srp dynamic effector#359
leahkiner merged 3 commits into
developfrom
refactor/358-fix-dcm-facetSRPDynamicEffector

Conversation

@leahkiner

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
@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 Xmera 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