Skip to content

Issue 1411#1414

Merged
schaubh merged 1 commit into
AVSLab:developfrom
carlo98:feature/issue-1411
Jun 10, 2026
Merged

Issue 1411#1414
schaubh merged 1 commit into
AVSLab:developfrom
carlo98:feature/issue-1411

Conversation

@carlo98

@carlo98 carlo98 commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

Description

This PR fixes a variable semantic mismatch in the InertialUKF module where the variable name did not match the physical quantity it stored.

The wheelAccel variable in inertialStateProp() was initially assigned an angular velocity difference, then divided by speedDt/JsList[i], transforming it from angular velocity to torque. The variable name wheelAccel incorrectly suggested angular acceleration rather than the actual stored quantity of torque.

The fix renames wheelAccel to wheelTorque at all occurrences to accurately reflect the stored physical quantity and maintain consistency with Basilisk coding guidelines on unit clarity.

Additionally, the PR adds all units comments and fixes doc typos and mistakes.

Verification

Existing unit tests in src/fswAlgorithms/attDetermination/InertialUKF/_UnitTest/test_inertialKF.py continue to pass.

Documentation

No new documentation required.

@carlo98 carlo98 requested a review from a team as a code owner June 10, 2026 10:21

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 3656a60e20

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/fswAlgorithms/attDetermination/InertialUKF/inertialUKF.c Outdated
carlo98 added a commit to carlo98/basilisk that referenced this pull request Jun 10, 2026
@carlo98 carlo98 force-pushed the feature/issue-1411 branch from 3656a60 to 2cde241 Compare June 10, 2026 10:24
carlo98 added a commit to carlo98/basilisk that referenced this pull request Jun 10, 2026
@carlo98 carlo98 force-pushed the feature/issue-1411 branch from 2cde241 to f85fd5d Compare June 10, 2026 11:32
@schaubh schaubh self-assigned this Jun 10, 2026
@schaubh schaubh added the documentation Improvements or additions to documentation label Jun 10, 2026
@schaubh schaubh added this to Basilisk Jun 10, 2026
@schaubh schaubh force-pushed the feature/issue-1411 branch from f85fd5d to d4aa9c0 Compare June 10, 2026 18:09
@schaubh schaubh merged commit 7351355 into AVSLab:develop Jun 10, 2026
7 checks passed
@github-project-automation github-project-automation Bot moved this to ✅ Done in Basilisk Jun 10, 2026
@carlo98 carlo98 deleted the feature/issue-1411 branch June 10, 2026 20:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

Variable semantic mismatch: wheelAccel stores torque units in inertialUKF.c

2 participants